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