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/PyQt5-sip/
Date: Sat, 29 May 2021 19:44:33
Message-Id: 1622317448.62caeee37c9ab3c9a7b66c73b38553ddfa70b82d.pesa@gentoo
1 commit: 62caeee37c9ab3c9a7b66c73b38553ddfa70b82d
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 29 19:44:08 2021 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Sat May 29 19:44:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62caeee3
7
8 dev-python/PyQt5-sip: remove 4.19.24
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>
12
13 dev-python/PyQt5-sip/Manifest | 1 -
14 dev-python/PyQt5-sip/PyQt5-sip-4.19.24.ebuild | 90 ---------------------------
15 2 files changed, 91 deletions(-)
16
17 diff --git a/dev-python/PyQt5-sip/Manifest b/dev-python/PyQt5-sip/Manifest
18 index b115206796d..f8e60d53462 100644
19 --- a/dev-python/PyQt5-sip/Manifest
20 +++ b/dev-python/PyQt5-sip/Manifest
21 @@ -1,2 +1 @@
22 -DIST sip-4.19.24.tar.gz 1055461 BLAKE2B 6990b127a83fa57bc084eb9a1097f73c384b4fcf3d181479557fe2ffc66cde254bfbb5aef26f5ddd84dca346f54184952e7a111adf3b665f68571853e63b6575 SHA512 c9acf8c66da6ff24ffaeed254c11deabbc587cea0eb50164f2016199af30b85980f96a2d754ae5e7fe080f9076673b1abc82e2a6a41ff2ac442fb2b326fca1c0
23 DIST sip-4.19.25.tar.gz 1056384 BLAKE2B f92e105e6b30e871aea2883dc9cd459e4032fb139a9eaff153a3412a66b39df4d7ac985711a2693aee83195ff3850ae648bee4102f7fc3cc30d09885799f2b98 SHA512 60fb4133c68869bf0993144978b4847d94a0f9c7b477f64a346ea133cfe35bc11820204ab327dcf9a929b6f65a26d16cc7efbce65e49967c3347b39376e57001
24
25 diff --git a/dev-python/PyQt5-sip/PyQt5-sip-4.19.24.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-4.19.24.ebuild
26 deleted file mode 100644
27 index da0dd4eab14..00000000000
28 --- a/dev-python/PyQt5-sip/PyQt5-sip-4.19.24.ebuild
29 +++ /dev/null
30 @@ -1,90 +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_{7..9} )
37 -inherit python-r1 toolchain-funcs
38 -
39 -DESCRIPTION="Private sip module for PyQt5"
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="amd64 arm arm64 ~ppc ~ppc64 x86"
54 -IUSE=""
55 -
56 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
57 -
58 -DEPEND="${PYTHON_DEPS}"
59 -RDEPEND="${DEPEND}
60 - !<dev-python/PyQt5-5.12.2
61 -"
62 -
63 -S=${WORKDIR}/${MY_P}
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 myconf=(
84 - "${PYTHON}"
85 - "${S}"/configure.py
86 - --sip-module PyQt5.sip
87 - --sysroot="${ESYSROOT}/usr"
88 - --no-tools
89 - AR="$(tc-getAR) cqs"
90 - CC="$(tc-getCC)"
91 - CFLAGS="${CFLAGS}"
92 - CFLAGS_RELEASE=
93 - CXX="$(tc-getCXX)"
94 - CXXFLAGS="${CXXFLAGS}"
95 - CXXFLAGS_RELEASE=
96 - LINK="$(tc-getCXX)"
97 - LINK_SHLIB="$(tc-getCXX)"
98 - LFLAGS="${LDFLAGS}"
99 - LFLAGS_RELEASE=
100 - RANLIB=
101 - STRIP=
102 - )
103 - echo "${myconf[@]}"
104 - "${myconf[@]}" || die
105 - }
106 - python_foreach_impl run_in_build_dir configuration
107 -}
108 -
109 -src_compile() {
110 - python_foreach_impl run_in_build_dir default
111 -}
112 -
113 -src_install() {
114 - installation() {
115 - emake DESTDIR="${D}" install
116 - }
117 - python_foreach_impl run_in_build_dir installation
118 -
119 - einstalldocs
120 -}