From: Davide Pesavento Date: Fri, 10 Nov 2017 20:07:51 +0000 (+0100) Subject: dev-python/sip: remove old X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3672603ec51bd5b366452c681f6e52598c558cbd;p=gentoo.git dev-python/sip: remove old Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index c0625244cfa0..6fccbbfbaf27 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1,3 +1,2 @@ DIST sip-4.19.1.tar.gz 1000644 SHA256 501852b8325349031b769d1c03d6eab04f7b9b97f790ec79f3d3d04bf065d83e SHA512 fd98002117e9526f7f981b46362c41171e703a0e18e57112fcabf33d71fa13a4a091fdcb05c879ea721da59fa8c03087b8dc983fb2f832f764e5ad950c9bbecf WHIRLPOOL 87deee5786ca5009ca139bf6993e82231b1dd5be9bf7ee1d94eb5c8aabf5bda980f6b0fa4571e838275ac7cd8615757a58d0b9d7e776705834db35a1dc92125d -DIST sip-4.19.2.tar.gz 1000746 SHA256 432b4aad25254e6997913e33b1ca3cf5fd21d5729a50a3ce2edccbea82c80533 SHA512 6f14f387a899130cf15820d2b58d937d134a2eefd53c65a82af060e88a6ca039442b21f822880c4a3742d6f26328853a552239873c55d7b22de62a6cc5037b3e WHIRLPOOL e6a59dfde801b38c5ab2524e8142cf5f87edcd8171512241f88096bdfc43734cc0346d2d6a607ea2a14a41b7f05c820af30aa0b125a3f06be263d65b99c7b239 DIST sip-4.19.3.tar.gz 1007481 SHA256 740df844f80cc45dcc9b23294a92492923bc403ce88e68c35783f27c177c4b74 SHA512 b2dea0cb5e1b23531f35e94bd604ec9874f0875badb5b20eb5abd2732a1005b2dd15bb42e0007b65053a2153b50659f24671abd83a434991661168a5778b94bc WHIRLPOOL 6283491e6baf6b7806a9fd68e77463983c475f7ea721832e573dc86158e226428d5bd9da084a554180ac4308ccf23d98f4c51f9af11fcfb5ecda8bf4dee028f7 diff --git a/dev-python/sip/sip-4.19.2.ebuild b/dev-python/sip/sip-4.19.2.ebuild deleted file mode 100644 index de3979095c5c..000000000000 --- a/dev-python/sip/sip-4.19.2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit python-r1 toolchain-funcs - -DESCRIPTION="Python extension module generator for C and C++ libraries" -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" -SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz" - -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in -SLOT="0/12" -LICENSE="|| ( GPL-2 GPL-3 SIP )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug doc" - -RDEPEND="${PYTHON_DEPS}" -DEPEND="${RDEPEND}" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch ) - -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.in) - 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() { - local myconf=( - "${PYTHON}" - "${S}"/configure.py - --bindir="${EPREFIX}/usr/bin" - --destdir="$(python_get_sitedir)" - --incdir="$(python_get_includedir)" - $(usex debug --debug '') - 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_optimize - } - python_foreach_impl run_in_build_dir installation - - einstalldocs - use doc && dodoc -r doc/html -}