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: Sat, 30 Oct 2021 23:58:02
Message-Id: 1635638274.43bc2b8db5e023823d0e80e10d2c3857e383563b.pesa@gentoo
1 commit: 43bc2b8db5e023823d0e80e10d2c3857e383563b
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 23:55:51 2021 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 30 23:57:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43bc2b8d
7
8 dev-python/PyQt-builder: add 1.12.2
9
10 Package-Manager: Portage-3.0.28, 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.12.2.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 ce69eee4a5d..c5e4dafc190 100644
19 --- a/dev-python/PyQt-builder/Manifest
20 +++ b/dev-python/PyQt-builder/Manifest
21 @@ -1,2 +1,3 @@
22 DIST PyQt-builder-1.10.3.tar.gz 5725537 BLAKE2B da1abab8fa46da9dee15dedbcf84068b80ce081e87e640fc50642ff6dd15aa3963b9186a32193f3c492c4f141fb7242f13395a539f436575532a5735e3c85720 SHA512 26a01cb2dc4428277cc62da23404433d75f84c61360c35dfd9c440841adbcb1bf39b2211e4e33967ee2730c163dd1585b5fcbd88c6fd7efa2f1f84915a390e2a
23 DIST PyQt-builder-1.12.1.tar.gz 5726601 BLAKE2B 6e6dd181078ed126ecf3db7bbf5e7b68b78ec78e2ca198fb4f504495020c8fc7d61280bf844a78de69621049785b0b152f31d0d25779d7bbe330162bb80b68bf SHA512 4f006564f51758cb05da8dce78aead58a23d132405124e92bf79cac39eaa845efa5db15a2abdd43ae95e191d38d81fbc592f75bb68f83b83e25c51f8f84e6182
24 +DIST PyQt-builder-1.12.2.tar.gz 5727071 BLAKE2B ca5d55989fec2a9a6f9d37abc307d4db7305bb06449cbf982aa3a2a3f210113319f7fb303ec0d77b513cce844b529e0e56f62c9d62ab3c51cf85a061ecd00c7a SHA512 022f2cd40c100543c4b442fc5b27bbf2ec853d94b531f8f6dc1d7f92b07bcc20e8f0a4eb64feb96d094ba0d5f01fddcc8aed23ddf67a61417e07983a73918230
25
26 diff --git a/dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild
27 new file mode 100644
28 index 00000000000..f136447e373
29 --- /dev/null
30 +++ b/dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="The PEP 517 compliant PyQt build system"
41 +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/ https://pypi.org/project/PyQt-builder/"
42 +
43 +MY_P=${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="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
48 +fi
49 +S=${WORKDIR}/${MY_P}
50 +
51 +LICENSE="|| ( GPL-2 GPL-3 SIP )"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
54 +
55 +RDEPEND="
56 + dev-python/packaging[${PYTHON_USEDEP}]
57 + >=dev-python/sip-6.3[${PYTHON_USEDEP}]
58 +"
59 +
60 +distutils_enable_sphinx doc --no-autodoc
61 +
62 +python_prepare_all() {
63 + # don't install prebuilt Windows DLLs
64 + sed -i -e "s:'dlls/\*/\*',::" setup.py || die
65 + rm -r "${PN/-/_}.egg-info" || die
66 +
67 + distutils-r1_python_prepare_all
68 +}