1 |
commit: ba5c3fc6b82ad2deb23729abb3e955fa4b4de651 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 27 10:36:35 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 27 14:09:28 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba5c3fc6 |
7 |
|
8 |
dev-python/click: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/click/Manifest | 1 + |
14 |
dev-python/click/click-6.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest |
18 |
index 2d1ffe2..c1372b3 100644 |
19 |
--- a/dev-python/click/Manifest |
20 |
+++ b/dev-python/click/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST click-2.0.tar.gz 47342 SHA256 33a984fe73aa8c6bf69c38098b69dd38405529db54baf4c8cf64c50b2dee644f SHA512 4c703ab4b5c76e393420b0edf9af9e8ddb301ccfef5f8117d3408eaa8a94abe6b7b5c7a8b61b7774a3b459b153c10438e8934f21ceb73697199828cce2c2887c WHIRLPOOL bf599395245319b31c189df297a1ec35ca69723ed24e2d3e9aa9231a3cfebdb80e1f43a0b010865b6fbecf09f23dc1121cca232aec26f09bdb455f41da5261c4 |
23 |
DIST click-5.1.tar.gz 275592 SHA256 678c98275431fad324275dec63791e4a17558b40e5a110e20a82866139a85a5a SHA512 b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a WHIRLPOOL 8bda8de886a272972595bf51af3881962063daaa4fc9e104af59b4798008a2f780c3fb4a758d7fe14ef075b92aecc43415b08bb213cbd6ac4ab92a56e405276e |
24 |
+DIST click-6.0.tar.gz 281589 SHA256 3972ee95a32181e9069040414dd7c77001e9404c3c4d295300cdca06a8db026d SHA512 c1a7c5c2a28c63acea54c481bc57630c145d087c9272fb39563b35df7ac138c3b9e58dfefbd084fe3490c5c8868361054f4ef79c61c921df93e00246f703e29b WHIRLPOOL dd64ace594cd17870660ab7650876f519fd75429397bd52f8f727b2126dd81dd00e7eec65e5891f71b891b3a59dc29f0339a8b50aa514dc0eb26fbac6c337518 |
25 |
|
26 |
diff --git a/dev-python/click/click-6.0.ebuild b/dev-python/click/click-6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..b0aa96c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/click/click-6.0.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A Python package for creating beautiful command line interfaces" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
49 |
+IUSE="doc examples test" |
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 |
+python_prepare_all() { |
57 |
+ # Prevent un-needed d'loading |
58 |
+ sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die |
59 |
+ distutils-r1_python_prepare_all |
60 |
+} |
61 |
+ |
62 |
+python_compile_all() { |
63 |
+ use doc && emake -C docs html |
64 |
+} |
65 |
+ |
66 |
+python_test() { |
67 |
+ emake test |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
72 |
+ use examples && local EXAMPLES=( examples/. ) |
73 |
+ distutils-r1_python_install_all |
74 |
+} |