summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2019-04-03 02:22:56 +0200
committerDavide Pesavento <pesa@gentoo.org>2019-04-03 02:32:52 +0200
commitd70a0e53123a2370c86a0748bef59d2a86e6762e (patch)
tree4ea3a89545b34c8c5582053076c29ec685235c55 /dev-python
parentwww-client/opera-developer: Old (diff)
downloadgentoo-d70a0e53123a2370c86a0748bef59d2a86e6762e.tar.gz
gentoo-d70a0e53123a2370c86a0748bef59d2a86e6762e.tar.bz2
gentoo-d70a0e53123a2370c86a0748bef59d2a86e6762e.zip
dev-python/PyQt5-sip: use new canonical SRC_URI
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/PyQt5-sip/PyQt5-sip-4.19.15.ebuild5
-rw-r--r--dev-python/sip/sip-4.19.15.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/dev-python/PyQt5-sip/PyQt5-sip-4.19.15.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-4.19.15.ebuild
index 0f179c01f2ef..7a8d6adad884 100644
--- a/dev-python/PyQt5-sip/PyQt5-sip-4.19.15.ebuild
+++ b/dev-python/PyQt5-sip/PyQt5-sip-4.19.15.ebuild
@@ -9,11 +9,12 @@ inherit python-r1 toolchain-funcs
DESCRIPTION="Private sip module for PyQt5"
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
-MY_P=sip-${PV/_pre/.dev}
+MY_PN=sip
+MY_P=${MY_PN}-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
else
- SRC_URI="https://www.riverbankcomputing.com/static/Downloads/sip/${MY_P}.tar.gz"
+ SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz"
fi
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h
diff --git a/dev-python/sip/sip-4.19.15.ebuild b/dev-python/sip/sip-4.19.15.ebuild
index cf5df2baf394..cbfa17402c9d 100644
--- a/dev-python/sip/sip-4.19.15.ebuild
+++ b/dev-python/sip/sip-4.19.15.ebuild
@@ -9,11 +9,12 @@ inherit python-r1 toolchain-funcs
DESCRIPTION="Python extension module generator for C and C++ libraries"
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
-MY_P=sip-${PV/_pre/.dev}
+MY_PN=sip
+MY_P=${MY_PN}-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
else
- SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${PN}/${PV}/${MY_P}.tar.gz"
+ SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz"
fi
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h