1 |
commit: 937091d7d36f263b7b3dbb29aab3f427737ee188 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 8 15:15:55 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 8 15:16:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937091d7 |
7 |
|
8 |
dev-python/click: Version bump to 6.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/click/Manifest | 1 + |
13 |
dev-python/click/click-6.7.ebuild | 49 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest |
17 |
index 5e1ff7fbc7..4806792067 100644 |
18 |
--- a/dev-python/click/Manifest |
19 |
+++ b/dev-python/click/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST click-6.6.tar.gz 283420 SHA256 cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9 SHA512 5650cfe6c8b55a7e823e22248964143278d61383dac63497508a864807f1950f9dd5d76ce6a501e589dd81fed6e2a1248d3f8973be25a91950896b7408dc88bc WHIRLPOOL db9f36bb86599599b95ae350659f75f387d15196261acaef1e069769ca8e2f29be8dc3ae5cdd94d8303907f94b90ed00209a3410da863afcce74d393a2f48d3c |
22 |
+DIST click-6.7.tar.gz 279019 SHA256 f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b SHA512 d454369fe1acb01c2210a61e15f45ac9cc77102c93345257f4ef3090bd8f31f1ccc49d9fd6ea670cddca9f715ad5db29368b4eecd95abff50d1033c4f7a967d6 WHIRLPOOL c85fd3d8dff735eda63ca78cbd7bb09e8bd11e237d681f9d07cc3788e05191c4fc81a05ac813c176ef5966fa3cbd7d4eac0391633d5672b1ace8581663bef7d6 |
23 |
|
24 |
diff --git a/dev-python/click/click-6.7.ebuild b/dev-python/click/click-6.7.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000000..34cecb36a4 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/click/click-6.7.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A Python package for creating beautiful command line interfaces" |
41 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
42 |
+HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
47 |
+IUSE="doc examples test" |
48 |
+ |
49 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
54 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+pkg_setup() { |
57 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
58 |
+} |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ # Prevent un-needed d'loading |
62 |
+ sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die |
63 |
+ distutils-r1_python_prepare_all |
64 |
+} |
65 |
+ |
66 |
+python_compile_all() { |
67 |
+ use doc && emake -C docs html |
68 |
+} |
69 |
+ |
70 |
+python_test() { |
71 |
+ emake test |
72 |
+} |
73 |
+ |
74 |
+python_install_all() { |
75 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
76 |
+ use examples && dodoc -r examples |
77 |
+ distutils-r1_python_install_all |
78 |
+} |