dev-python/sip: cosmetic changes to minimize diff with PyQt5-sip
authorDavide Pesavento <pesa@gentoo.org>
Tue, 12 Feb 2019 04:48:10 +0000 (05:48 +0100)
committerDavide Pesavento <pesa@gentoo.org>
Tue, 12 Feb 2019 04:48:10 +0000 (05:48 +0100)
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
dev-python/sip/sip-4.19.14.ebuild

index 23d98f6e9a42388406cc15a504db52819801ae93..e694b38a121f17fb4a92ee3c4bfa442ecf7b42b6 100644 (file)
@@ -9,11 +9,11 @@ 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=${P/_pre/.dev}
+MY_P=sip-${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}/${MY_P}.tar.gz"
+       SRC_URI="https://www.riverbankcomputing.com/static/Downloads/sip/${MY_P}.tar.gz"
 fi
 
 # Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h