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, 12 Feb 2019 03:55:44
Message-Id: 1549943729.a6b1f03e90339fdce7cda7eddc9afa4a5a500468.pesa@gentoo
1 commit: a6b1f03e90339fdce7cda7eddc9afa4a5a500468
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 12 03:09:46 2019 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 12 03:55:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b1f03e
7
8 dev-python/sip: remove 4.19.8
9
10 Package-Manager: Portage-2.3.60, 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.8.ebuild | 116 ---------------------------------------
15 2 files changed, 117 deletions(-)
16
17 diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
18 index d625bcd97bb..df025910590 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.dev1812231555.tar.gz 1020224 BLAKE2B e3df5a8b7829278987c5b368b8b6c28c04fc0b3bb3847451e48411ef9ba5cda932007613ad31f34381446ea02d62281b27ae4951babca5ec8b75f065aa296365 SHA512 decf2f7baacede27c42d359eb875a895c9a92b36a8e8a29f4666b3f98f570d821e80dbb32fd946ce230f726fafc4000af9b167df8cfd188bcd7f85fbc71bd4b1
24 -DIST sip-4.19.8.tar.gz 1024548 BLAKE2B e43dfe542061db9f1d5981d0cc172d9c8420c4e66c282c52974ab28314c33bd28e6056b61f74b04680c1735c9bd2c4656e1a541f4bae94c858d18713f6222914 SHA512 9c0a9722a9a9dd23e2eabe751d622cdd31b376b7987b2c991f5ef4a8d11853c5c6e9f1c24a0d2d864d3990e2a45c2a159ca8511efd4a7e156a14937ef3c680f7
25
26 diff --git a/dev-python/sip/sip-4.19.8.ebuild b/dev-python/sip/sip-4.19.8.ebuild
27 deleted file mode 100644
28 index bd65f8202bb..00000000000
29 --- a/dev-python/sip/sip-4.19.8.ebuild
30 +++ /dev/null
31 @@ -1,116 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
38 -
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 -if [[ ${PV} == *9999 ]]; then
45 - inherit mercurial
46 - EHG_REPO_URI="https://www.riverbankcomputing.com/hg/sip"
47 -elif [[ ${PV} == *_pre* ]]; then
48 - MY_P=${P/_pre/.dev}
49 - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
50 - S=${WORKDIR}/${MY_P}
51 -else
52 - SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
53 -fi
54 -
55 -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
56 -SLOT="0/12"
57 -LICENSE="|| ( GPL-2 GPL-3 SIP )"
58 -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
59 -IUSE="debug doc"
60 -
61 -RDEPEND="${PYTHON_DEPS}"
62 -DEPEND="${RDEPEND}"
63 -if [[ ${PV} == *9999 ]]; then
64 - DEPEND+="
65 - sys-devel/bison
66 - sys-devel/flex
67 - doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )"
68 -fi
69 -
70 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
71 -if [[ ${PV} == *9999 ]]; then
72 - REQUIRED_USE+=" || ( $(python_gen_useflags 'python2*') )"
73 -fi
74 -
75 -PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch )
76 -
77 -src_prepare() {
78 - if [[ ${PV} == *9999 ]]; then
79 - python_setup 'python2*'
80 - "${PYTHON}" build.py prepare || die
81 - if use doc; then
82 - "${PYTHON}" build.py doc || die
83 - fi
84 - fi
85 -
86 - # Sub-slot sanity check
87 - local sub_slot=${SLOT#*/}
88 - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
89 - if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
90 - eerror
91 - eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
92 - eerror "Please update SLOT variable as follows:"
93 - eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
94 - eerror
95 - die "sub-slot sanity check failed"
96 - fi
97 -
98 - default
99 -}
100 -
101 -src_configure() {
102 - configuration() {
103 - if ! python_is_python3; then
104 - local CFLAGS="${CFLAGS} -fno-strict-aliasing"
105 - fi
106 -
107 - local myconf=(
108 - "${PYTHON}"
109 - "${S}"/configure.py
110 - --bindir="${EPREFIX}/usr/bin"
111 - --destdir="$(python_get_sitedir)"
112 - --incdir="$(python_get_includedir)"
113 - $(usex debug --debug '')
114 - AR="$(tc-getAR) cqs"
115 - CC="$(tc-getCC)"
116 - CFLAGS="${CFLAGS}"
117 - CFLAGS_RELEASE=
118 - CXX="$(tc-getCXX)"
119 - CXXFLAGS="${CXXFLAGS}"
120 - CXXFLAGS_RELEASE=
121 - LINK="$(tc-getCXX)"
122 - LINK_SHLIB="$(tc-getCXX)"
123 - LFLAGS="${LDFLAGS}"
124 - LFLAGS_RELEASE=
125 - RANLIB=
126 - STRIP=
127 - )
128 - echo "${myconf[@]}"
129 - "${myconf[@]}" || die
130 - }
131 - python_foreach_impl run_in_build_dir configuration
132 -}
133 -
134 -src_compile() {
135 - python_foreach_impl run_in_build_dir default
136 -}
137 -
138 -src_install() {
139 - installation() {
140 - emake DESTDIR="${D}" install
141 - python_optimize
142 - }
143 - python_foreach_impl run_in_build_dir installation
144 -
145 - einstalldocs
146 - use doc && dodoc -r doc/html
147 -}