diff options
author | Davide Pesavento <pesa@gentoo.org> | 2018-12-27 20:27:26 +0100 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2018-12-27 20:49:09 +0100 |
commit | c1817958017e66441540377a9bad895bbac27e0c (patch) | |
tree | 69ff4aa5375364b035bc5a101defc7890647b4c2 /dev-python | |
parent | dev-python/PyQt5-sip: new package (diff) | |
download | gentoo-c1817958017e66441540377a9bad895bbac27e0c.tar.gz gentoo-c1817958017e66441540377a9bad895bbac27e0c.tar.bz2 gentoo-c1817958017e66441540377a9bad895bbac27e0c.zip |
dev-python/sip: cosmetic changes to minimize diff with PyQt5-sip
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sip/sip-4.19.14_pre1812231555.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-python/sip/sip-4.19.14_pre1812231555.ebuild b/dev-python/sip/sip-4.19.14_pre1812231555.ebuild index 69b050301a69..294e56df9f49 100644 --- a/dev-python/sip/sip-4.19.14_pre1812231555.ebuild +++ b/dev-python/sip/sip-4.19.14_pre1812231555.ebuild @@ -9,12 +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} if [[ ${PV} == *_pre* ]]; then - MY_P=${P/_pre/.dev} SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" - S=${WORKDIR}/${MY_P} else - SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz" + SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" fi # Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h @@ -23,10 +22,12 @@ LICENSE="|| ( GPL-2 GPL-3 SIP )" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="debug doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + DEPEND="${PYTHON_DEPS}" RDEPEND="${DEPEND}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +S=${WORKDIR}/${MY_P} PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch ) |