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/PyQt-builder/
Date: Tue, 06 Jul 2021 23:18:41
Message-Id: 1625613514.55313a6563eeede39678467433a76dcddd348dfd.pesa@gentoo
1 commit: 55313a6563eeede39678467433a76dcddd348dfd
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 6 23:15:17 2021 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 6 23:18:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55313a65
7
8 dev-python/PyQt-builder: add 1.10.3
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>
12
13 dev-python/PyQt-builder/Manifest | 1 +
14 dev-python/PyQt-builder/PyQt-builder-1.10.3.ebuild | 37 ++++++++++++++++++++++
15 2 files changed, 38 insertions(+)
16
17 diff --git a/dev-python/PyQt-builder/Manifest b/dev-python/PyQt-builder/Manifest
18 index c04be8f9ec1..d1dec6a85b3 100644
19 --- a/dev-python/PyQt-builder/Manifest
20 +++ b/dev-python/PyQt-builder/Manifest
21 @@ -1 +1,2 @@
22 DIST PyQt-builder-1.10.1.tar.gz 5725429 BLAKE2B e7aaa0a3c1eb8aeea0aa5f2d5d7beda1edc46e90c0a21b608d2dffe205a67170daaa6615253706b5f9856a27d66715692ceffe81b9b45eafd4d608df79741d6f SHA512 2e48c1066bb12c1f50700933b0f489158f29f62a1239b570dc053cb042eca9bd4ee83f66b855b0596cfb6dc2e844434c15563abbb3846bf5960d03441f497b83
23 +DIST PyQt-builder-1.10.3.tar.gz 5725537 BLAKE2B da1abab8fa46da9dee15dedbcf84068b80ce081e87e640fc50642ff6dd15aa3963b9186a32193f3c492c4f141fb7242f13395a539f436575532a5735e3c85720 SHA512 26a01cb2dc4428277cc62da23404433d75f84c61360c35dfd9c440841adbcb1bf39b2211e4e33967ee2730c163dd1585b5fcbd88c6fd7efa2f1f84915a390e2a
24
25 diff --git a/dev-python/PyQt-builder/PyQt-builder-1.10.3.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.10.3.ebuild
26 new file mode 100644
27 index 00000000000..4d69521c2f0
28 --- /dev/null
29 +++ b/dev-python/PyQt-builder/PyQt-builder-1.10.3.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="The PEP 517 compliant PyQt build system"
40 +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/ https://pypi.org/project/PyQt-builder/"
41 +
42 +MY_P=${PN}-${PV/_pre/.dev}
43 +if [[ ${PV} == *_pre* ]]; then
44 + SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
45 +else
46 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
47 +fi
48 +S=${WORKDIR}/${MY_P}
49 +
50 +LICENSE="|| ( GPL-2 GPL-3 SIP )"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
53 +
54 +RDEPEND="
55 + dev-python/packaging[${PYTHON_USEDEP}]
56 + >=dev-python/sip-5.5[${PYTHON_USEDEP}]
57 +"
58 +
59 +distutils_enable_sphinx doc --no-autodoc
60 +
61 +python_prepare_all() {
62 + # don't install prebuilt Windows DLLs
63 + sed -i -e "s:'dlls/\*/\*',::" setup.py || die
64 + rm -r "${PN/-/_}.egg-info" || die
65 +
66 + distutils-r1_python_prepare_all
67 +}