diff options
author | Davide Pesavento <pesa@gentoo.org> | 2021-06-02 03:59:15 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2021-06-02 03:59:43 +0200 |
commit | da82f78f72dc94513ac6e27a9b18a722f9ea3421 (patch) | |
tree | 1377069c17cd8974978572e48b63d06e055bccaf /dev-python | |
parent | dev-python/sip: simplify (diff) | |
download | gentoo-da82f78f72dc94513ac6e27a9b18a722f9ea3421.tar.gz gentoo-da82f78f72dc94513ac6e27a9b18a722f9ea3421.tar.bz2 gentoo-da82f78f72dc94513ac6e27a9b18a722f9ea3421.zip |
dev-python/PyQt5-sip: simplify
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/PyQt5-sip/PyQt5-sip-12.9.0.ebuild | 14 | ||||
-rw-r--r-- | dev-python/PyQt5-sip/PyQt5-sip-4.19.25.ebuild | 4 |
2 files changed, 8 insertions, 10 deletions
diff --git a/dev-python/PyQt5-sip/PyQt5-sip-12.9.0.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-12.9.0.ebuild index 620513b275a0..f3e24d331d3d 100644 --- a/dev-python/PyQt5-sip/PyQt5-sip-12.9.0.ebuild +++ b/dev-python/PyQt5-sip/PyQt5-sip-12.9.0.ebuild @@ -6,19 +6,17 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 -DESCRIPTION="Private sip module for PyQt5" -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" +DESCRIPTION="sip extension module for PyQt5" +HOMEPAGE="https://www.riverbankcomputing.com/software/sip/" -MY_PN=sip -MY_P=${MY_PN}-${PV/_pre/.dev} +MY_P=${PN/-/_}-${PV/_pre/.dev} if [[ ${PV} == *_pre* ]]; then SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN//-/_}-${PV}.tar.gz" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" fi -S="${WORKDIR}/${PN//-/_}-${PV}" +S=${WORKDIR}/${MY_P} -# Sub-slot based on SIP_ABI_MAJOR_VERSION from sip.h -SLOT="0/12" +SLOT="0/$(ver_cut 1)" LICENSE="|| ( GPL-2 GPL-3 SIP )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" diff --git a/dev-python/PyQt5-sip/PyQt5-sip-4.19.25.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-4.19.25.ebuild index 127cd8d968d1..b939f27a34fd 100644 --- a/dev-python/PyQt5-sip/PyQt5-sip-4.19.25.ebuild +++ b/dev-python/PyQt5-sip/PyQt5-sip-4.19.25.ebuild @@ -6,8 +6,8 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..10} ) inherit python-r1 toolchain-funcs -DESCRIPTION="Private sip module for PyQt5" -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" +DESCRIPTION="sip extension module for PyQt5" +HOMEPAGE="https://www.riverbankcomputing.com/software/sip/" MY_PN=sip MY_P=${MY_PN}-${PV/_pre/.dev} |