summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2017-12-29 23:23:52 +0100
committerMichael Haubenwallner <haubi@gentoo.org>2017-12-29 23:24:35 +0100
commit9badddc0b63cd0d5e78c4502d77e1cf8ecd3bdf3 (patch)
tree0581710660e3fe9998889495d164177e9970fb8c
parentsys-devel/gcc-6.4.0: keyword ~x64-cygwin (diff)
downloadprefix-9badddc0b63cd0d5e78c4502d77e1cf8ecd3bdf3.zip
prefix-9badddc0b63cd0d5e78c4502d77e1cf8ecd3bdf3.tar.gz
prefix-9badddc0b63cd0d5e78c4502d77e1cf8ecd3bdf3.tar.bz2
dev-lang/python: depend on unzip for Cygwin
Package-Manager: Portage-2.3.13, Repoman-2.3.3
-rw-r--r--dev-lang/python/python-2.7.14.ebuild3
-rw-r--r--dev-lang/python/python-3.4.5.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-lang/python/python-2.7.14.ebuild b/dev-lang/python/python-2.7.14.ebuild
index 28d3cb2..a28d5b2 100644
--- a/dev-lang/python/python-2.7.14.ebuild
+++ b/dev-lang/python/python-2.7.14.ebuild
@@ -73,6 +73,9 @@ RDEPEND+=" !build? ( app-misc/mime-types )
doc? ( dev-python/python-docs:${SLOT} )"
PDEPEND=">=app-eselect/eselect-python-20140125-r1"
+[[ -n ${CYGWINPORTS_GITREV} ]] &&
+DEPEND+=" elibc_Cygwin? ( app-arch/unzip )"
+
S="${WORKDIR}/${MY_P}"
pkg_setup() {
diff --git a/dev-lang/python/python-3.4.5.ebuild b/dev-lang/python/python-3.4.5.ebuild
index 4dc348a..3bd820c 100644
--- a/dev-lang/python/python-3.4.5.ebuild
+++ b/dev-lang/python/python-3.4.5.ebuild
@@ -61,6 +61,9 @@ DEPEND="${RDEPEND}
RDEPEND+=" !build? ( app-misc/mime-types )"
PDEPEND=">=app-eselect/eselect-python-20140125-r1"
+[[ -n ${CYGWINPORTS_GITREV} ]] &&
+DEPEND+=" elibc_Cygwin? ( app-arch/unzip )"
+
S="${WORKDIR}/${MY_P}"
PYVER=${SLOT%/*}