Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/
Date: Wed, 08 May 2019 23:22:38
Message-Id: 1557357745.81266e476b21814a0c65703fc15c089e3cfa1710.pesa@gentoo
1 commit: 81266e476b21814a0c65703fc15c089e3cfa1710
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 8 23:18:40 2019 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Wed May 8 23:22:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81266e47
7
8 dev-python/sip: remove 4.19.16
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>
12
13 dev-python/sip/Manifest | 1 -
14 dev-python/sip/sip-4.19.16.ebuild | 98 ---------------------------------------
15 2 files changed, 99 deletions(-)
16
17 diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
18 index 1e18c57fc07..a9d0b8fc884 100644
19 --- a/dev-python/sip/Manifest
20 +++ b/dev-python/sip/Manifest
21 @@ -1,4 +1,3 @@
22 DIST sip-4.19.13.tar.gz 1038815 BLAKE2B 0b6f2941140a535cfdfb51db71cf9a55e5f65be85961e304496fded7781da42b0ab7d01045b8802468a3ce3b57e7f571851fc7713fd47a03c8344017982d6632 SHA512 eb456e1f7efa463f859047acc5301e19279e1627629d0bad3ac7a0a52b77575126bc3f2c64bb4278ae11d415c13d2731dfc8c816bba71307173d393a414aae98
23 DIST sip-4.19.15.tar.gz 1053921 BLAKE2B afe0f1c2faf839305d21da05a667e649c37ab42c95df86d237bbd8f39a6b8bb7224da547467311bf82a85ce8f0fafd8bb6dd7cbf6050f2b157773339438d6277 SHA512 9518a5e90d54758b13dd8752669d4deb175cea8d8cdf810deaf554cd157d32ab7e394d23c774993fac3b7c02d56445b80962457d59f5cda543917a0251816422
24 -DIST sip-4.19.16.tar.gz 1055966 BLAKE2B 0c078c7d747c3b92e739227829233dddd3c9e7c86ff50f80cd428bc8717f4ba22741fbabfd76d8e263c18a09ad14e7dfbde3423e984d31cd9a5734b1eaa25c86 SHA512 6a4e3e8580e914544c9037db61ab9cf05e2460cf2dbdeb67d30c949aa150952d2bb337061f7c7a9222251b04f83a1db1554ff576c3e83b8f60851b442133befa
25 DIST sip-4.19.17.tar.gz 1056156 BLAKE2B b5a7b4cd3f2152e9b7ee7b715c3ad72c2092598e0405cefc24d6283e9da07e54fd65da89e137618d3b84f3138fff719cf226600135d646e7bd7c538c2a02cdfd SHA512 d393cfc1643663926bd315a8df92abd82bec071bf0488b047625bdac43e9074bc8a510ac23244a7a2d2d181f70af9691db9d0b759e79643981d6afd71a49d3cb
26
27 diff --git a/dev-python/sip/sip-4.19.16.ebuild b/dev-python/sip/sip-4.19.16.ebuild
28 deleted file mode 100644
29 index cbfa17402c9..00000000000
30 --- a/dev-python/sip/sip-4.19.16.ebuild
31 +++ /dev/null
32 @@ -1,98 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
39 -inherit python-r1 toolchain-funcs
40 -
41 -DESCRIPTION="Python extension module generator for C and C++ libraries"
42 -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
43 -
44 -MY_PN=sip
45 -MY_P=${MY_PN}-${PV/_pre/.dev}
46 -if [[ ${PV} == *_pre* ]]; then
47 - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
48 -else
49 - SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz"
50 -fi
51 -
52 -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h
53 -SLOT="0/12"
54 -LICENSE="|| ( GPL-2 GPL-3 SIP )"
55 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
56 -IUSE="doc"
57 -
58 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
59 -
60 -DEPEND="${PYTHON_DEPS}"
61 -RDEPEND="${DEPEND}"
62 -
63 -S=${WORKDIR}/${MY_P}
64 -
65 -PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch )
66 -
67 -src_prepare() {
68 - # Sub-slot sanity check
69 - local sub_slot=${SLOT#*/}
70 - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h || die)
71 - if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
72 - eerror
73 - eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
74 - eerror "Please update SLOT variable as follows:"
75 - eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
76 - eerror
77 - die "sub-slot sanity check failed"
78 - fi
79 -
80 - default
81 -}
82 -
83 -src_configure() {
84 - configuration() {
85 - if ! python_is_python3; then
86 - local CFLAGS="${CFLAGS} -fno-strict-aliasing"
87 - fi
88 -
89 - local incdir=$(python_get_includedir)
90 - local myconf=(
91 - "${PYTHON}"
92 - "${S}"/configure.py
93 - --sysroot="${ESYSROOT}/usr"
94 - --bindir="${EPREFIX}/usr/bin"
95 - --destdir="$(python_get_sitedir)"
96 - --incdir="${incdir#${SYSROOT}}"
97 - AR="$(tc-getAR) cqs"
98 - CC="$(tc-getCC)"
99 - CFLAGS="${CFLAGS}"
100 - CFLAGS_RELEASE=
101 - CXX="$(tc-getCXX)"
102 - CXXFLAGS="${CXXFLAGS}"
103 - CXXFLAGS_RELEASE=
104 - LINK="$(tc-getCXX)"
105 - LINK_SHLIB="$(tc-getCXX)"
106 - LFLAGS="${LDFLAGS}"
107 - LFLAGS_RELEASE=
108 - RANLIB=
109 - STRIP=
110 - )
111 - echo "${myconf[@]}"
112 - "${myconf[@]}" || die
113 - }
114 - python_foreach_impl run_in_build_dir configuration
115 -}
116 -
117 -src_compile() {
118 - python_foreach_impl run_in_build_dir default
119 -}
120 -
121 -src_install() {
122 - installation() {
123 - emake DESTDIR="${D}" install
124 - python_optimize
125 - }
126 - python_foreach_impl run_in_build_dir installation
127 -
128 - einstalldocs
129 - use doc && dodoc -r doc/html
130 -}