1 |
commit: 38e70cb040252d3b177fee568d6d8e9cefa47670 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 12:59:57 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 21:58:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e70cb0 |
7 |
|
8 |
dev-python/sip: Drop 4.19.22-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.10, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-python/sip/Manifest | 1 - |
14 |
dev-python/sip/sip-4.19.22-r1.ebuild | 94 ------------------------------------ |
15 |
2 files changed, 95 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest |
18 |
index 22b9d1454a5..9cab9454da6 100644 |
19 |
--- a/dev-python/sip/Manifest |
20 |
+++ b/dev-python/sip/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST sip-4.19.22.tar.gz 1050805 BLAKE2B 7382fdf74c5bb8b55bcedae74acdcb7b81ef06a64d129a9e6f11a5eb293900e37df513f1c4290f2299f49a5bd97e2a6b3c6bc32ddbf2eaf848bd5e5c5dc25edc SHA512 4d366e589945e589f69a3caf979076ef37e319ac0efdd8ec3cee4869da89e112832462215ca2e235036bacfade7efc4d530aa93e7492c283dc1b2503e08feea5 |
23 |
DIST sip-4.19.24.tar.gz 1055461 BLAKE2B 6990b127a83fa57bc084eb9a1097f73c384b4fcf3d181479557fe2ffc66cde254bfbb5aef26f5ddd84dca346f54184952e7a111adf3b665f68571853e63b6575 SHA512 c9acf8c66da6ff24ffaeed254c11deabbc587cea0eb50164f2016199af30b85980f96a2d754ae5e7fe080f9076673b1abc82e2a6a41ff2ac442fb2b326fca1c0 |
24 |
|
25 |
diff --git a/dev-python/sip/sip-4.19.22-r1.ebuild b/dev-python/sip/sip-4.19.22-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 0990210585d..00000000000 |
28 |
--- a/dev-python/sip/sip-4.19.22-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,94 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{6,7,8,9} ) |
37 |
-inherit python-r1 toolchain-funcs |
38 |
- |
39 |
-DESCRIPTION="Python extension module generator for C and C++ libraries" |
40 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" |
41 |
- |
42 |
-MY_PN=sip |
43 |
-MY_P=${MY_PN}-${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/${MY_PN}/${PV}/${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" |
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 |
- local incdir=$(python_get_includedir) |
84 |
- local myconf=( |
85 |
- "${PYTHON}" |
86 |
- "${S}"/configure.py |
87 |
- --sysroot="${ESYSROOT}/usr" |
88 |
- --bindir="${EPREFIX}/usr/bin" |
89 |
- --destdir="$(python_get_sitedir)" |
90 |
- --incdir="${incdir#${SYSROOT}}" |
91 |
- AR="$(tc-getAR) cqs" |
92 |
- CC="$(tc-getCC)" |
93 |
- CFLAGS="${CFLAGS}" |
94 |
- CFLAGS_RELEASE= |
95 |
- CXX="$(tc-getCXX)" |
96 |
- CXXFLAGS="${CXXFLAGS}" |
97 |
- CXXFLAGS_RELEASE= |
98 |
- LINK="$(tc-getCXX)" |
99 |
- LINK_SHLIB="$(tc-getCXX)" |
100 |
- LFLAGS="${LDFLAGS}" |
101 |
- LFLAGS_RELEASE= |
102 |
- RANLIB= |
103 |
- STRIP= |
104 |
- ) |
105 |
- echo "${myconf[@]}" |
106 |
- "${myconf[@]}" || die |
107 |
- } |
108 |
- python_foreach_impl run_in_build_dir configuration |
109 |
-} |
110 |
- |
111 |
-src_compile() { |
112 |
- python_foreach_impl run_in_build_dir default |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- installation() { |
117 |
- emake DESTDIR="${D}" install |
118 |
- python_optimize |
119 |
- } |
120 |
- python_foreach_impl run_in_build_dir installation |
121 |
- |
122 |
- einstalldocs |
123 |
- use doc && dodoc -r doc/html |
124 |
-} |