1 |
commit: 9badddc0b63cd0d5e78c4502d77e1cf8ecd3bdf3 |
2 |
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 22:23:52 2017 +0000 |
4 |
Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 22:24:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=9badddc0 |
7 |
|
8 |
dev-lang/python: depend on unzip for Cygwin |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
dev-lang/python/python-2.7.14.ebuild | 3 +++ |
13 |
dev-lang/python/python-3.4.5.ebuild | 3 +++ |
14 |
2 files changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/python/python-2.7.14.ebuild b/dev-lang/python/python-2.7.14.ebuild |
17 |
index 28d3cb2f0b..a28d5b2709 100644 |
18 |
--- a/dev-lang/python/python-2.7.14.ebuild |
19 |
+++ b/dev-lang/python/python-2.7.14.ebuild |
20 |
@@ -73,6 +73,9 @@ RDEPEND+=" !build? ( app-misc/mime-types ) |
21 |
doc? ( dev-python/python-docs:${SLOT} )" |
22 |
PDEPEND=">=app-eselect/eselect-python-20140125-r1" |
23 |
|
24 |
+[[ -n ${CYGWINPORTS_GITREV} ]] && |
25 |
+DEPEND+=" elibc_Cygwin? ( app-arch/unzip )" |
26 |
+ |
27 |
S="${WORKDIR}/${MY_P}" |
28 |
|
29 |
pkg_setup() { |
30 |
|
31 |
diff --git a/dev-lang/python/python-3.4.5.ebuild b/dev-lang/python/python-3.4.5.ebuild |
32 |
index 4dc348a266..3bd820c161 100644 |
33 |
--- a/dev-lang/python/python-3.4.5.ebuild |
34 |
+++ b/dev-lang/python/python-3.4.5.ebuild |
35 |
@@ -61,6 +61,9 @@ DEPEND="${RDEPEND} |
36 |
RDEPEND+=" !build? ( app-misc/mime-types )" |
37 |
PDEPEND=">=app-eselect/eselect-python-20140125-r1" |
38 |
|
39 |
+[[ -n ${CYGWINPORTS_GITREV} ]] && |
40 |
+DEPEND+=" elibc_Cygwin? ( app-arch/unzip )" |
41 |
+ |
42 |
S="${WORKDIR}/${MY_P}" |
43 |
|
44 |
PYVER=${SLOT%/*} |