dev-python/sip: cosmetic changes to minimize diff with PyQt5-sip

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
This commit is contained in:
Davide Pesavento
2019-02-12 05:48:10 +01:00
parent e5cbb83134
commit 65e0872ebb

View 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