From e5cbb831343fd540f48eb464931b5e4ff3ecba22 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Tue, 12 Feb 2019 05:44:33 +0100 Subject: dev-python/PyQt5-sip: bump to 4.19.14 final Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Davide Pesavento --- dev-python/PyQt5-sip/Manifest | 2 +- dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild | 91 ++++++++++++++++++++++ .../PyQt5-sip-4.19.14_pre1812231555.ebuild | 91 ---------------------- 3 files changed, 92 insertions(+), 92 deletions(-) create mode 100644 dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild delete mode 100644 dev-python/PyQt5-sip/PyQt5-sip-4.19.14_pre1812231555.ebuild (limited to 'dev-python/PyQt5-sip') diff --git a/dev-python/PyQt5-sip/Manifest b/dev-python/PyQt5-sip/Manifest index b9720f773e0a..2a41d1b828e1 100644 --- a/dev-python/PyQt5-sip/Manifest +++ b/dev-python/PyQt5-sip/Manifest @@ -1 +1 @@ -DIST sip-4.19.14.dev1812231555.tar.gz 1020224 BLAKE2B e3df5a8b7829278987c5b368b8b6c28c04fc0b3bb3847451e48411ef9ba5cda932007613ad31f34381446ea02d62281b27ae4951babca5ec8b75f065aa296365 SHA512 decf2f7baacede27c42d359eb875a895c9a92b36a8e8a29f4666b3f98f570d821e80dbb32fd946ce230f726fafc4000af9b167df8cfd188bcd7f85fbc71bd4b1 +DIST sip-4.19.14.tar.gz 1049688 BLAKE2B 8e68910f533d0f58bef1f20ec58579ce0166efaee2caef1c64d4e9878b0887040d9284a9fa5ee48d7a4f0949866d0b988b0d962303f0ace03a4ad48bd08eec5d SHA512 afde261331f38eac863d8cea0e343649f460f0b9a603d7fe91f14583904ea4b488bbd88d20fad5c985c43c6c1683fffee38676d94831ac8f2de40d9ed4d0423e diff --git a/dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild new file mode 100644 index 000000000000..d71ee7c69488 --- /dev/null +++ b/dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +inherit python-r1 toolchain-funcs + +DESCRIPTION="Private sip module for PyQt5" +HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" + +MY_P=sip-${PV/_pre/.dev} +if [[ ${PV} == *_pre* ]]; then + SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" +else + SRC_URI="https://www.riverbankcomputing.com/static/Downloads/sip/${MY_P}.tar.gz" +fi + +# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h +SLOT="0/12" +LICENSE="|| ( GPL-2 GPL-3 SIP )" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Sub-slot sanity check + local sub_slot=${SLOT#*/} + local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h || die) + if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then + eerror + eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})" + eerror "Please update SLOT variable as follows:" + eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\"" + eerror + die "sub-slot sanity check failed" + fi + + default +} + +src_configure() { + configuration() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + fi + + local myconf=( + "${PYTHON}" + "${S}"/configure.py + --sip-module PyQt5.sip + --sysroot="${ESYSROOT}/usr" + --no-tools + AR="$(tc-getAR) cqs" + CC="$(tc-getCC)" + CFLAGS="${CFLAGS}" + CFLAGS_RELEASE= + CXX="$(tc-getCXX)" + CXXFLAGS="${CXXFLAGS}" + CXXFLAGS_RELEASE= + LINK="$(tc-getCXX)" + LINK_SHLIB="$(tc-getCXX)" + LFLAGS="${LDFLAGS}" + LFLAGS_RELEASE= + RANLIB= + STRIP= + ) + echo "${myconf[@]}" + "${myconf[@]}" || die + } + python_foreach_impl run_in_build_dir configuration +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + installation() { + emake DESTDIR="${D}" install + } + python_foreach_impl run_in_build_dir installation + + einstalldocs +} diff --git a/dev-python/PyQt5-sip/PyQt5-sip-4.19.14_pre1812231555.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-4.19.14_pre1812231555.ebuild deleted file mode 100644 index 457acbf36542..000000000000 --- a/dev-python/PyQt5-sip/PyQt5-sip-4.19.14_pre1812231555.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) -inherit python-r1 toolchain-funcs - -DESCRIPTION="Private sip module for PyQt5" -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" - -MY_P=sip-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" -fi - -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h -SLOT="0/12" -LICENSE="|| ( GPL-2 GPL-3 SIP )" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="debug" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # Sub-slot sanity check - local sub_slot=${SLOT#*/} - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h || die) - if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then - eerror - eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})" - eerror "Please update SLOT variable as follows:" - eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\"" - eerror - die "sub-slot sanity check failed" - fi - - default -} - -src_configure() { - configuration() { - if ! python_is_python3; then - local CFLAGS="${CFLAGS} -fno-strict-aliasing" - fi - - local myconf=( - "${PYTHON}" - "${S}"/configure.py - $(usex debug --debug '') - --sip-module PyQt5.sip - --no-tools - AR="$(tc-getAR) cqs" - CC="$(tc-getCC)" - CFLAGS="${CFLAGS}" - CFLAGS_RELEASE= - CXX="$(tc-getCXX)" - CXXFLAGS="${CXXFLAGS}" - CXXFLAGS_RELEASE= - LINK="$(tc-getCXX)" - LINK_SHLIB="$(tc-getCXX)" - LFLAGS="${LDFLAGS}" - LFLAGS_RELEASE= - RANLIB= - STRIP= - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - } - python_foreach_impl run_in_build_dir configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake DESTDIR="${D}" install - } - python_foreach_impl run_in_build_dir installation - - einstalldocs -} -- cgit v1.2.3-65-gdbad