summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-07-17 19:52:19 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-07-17 23:03:23 +0200
commitb80c6148b3b152f963f3d3cfe619adfb3af0268f (patch)
treea2d4fb5d6515d4caef1da3f0574558d9ca3cd920
parent0a0b4d02f7f57445f01232c8abe26ffb24cc34c5 (diff)
downloadgentoo-b80c6148b3b152f963f3d3cfe619adfb3af0268f.tar.gz
gentoo-b80c6148b3b152f963f3d3cfe619adfb3af0268f.tar.xz
dev-python/click: Bump
Package-Manager: portage-2.3.0
-rw-r--r--dev-python/click/Manifest1
-rw-r--r--dev-python/click/click-6.6.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest
index 3c69bc8c862..af4d0433463 100644
--- a/dev-python/click/Manifest
+++ b/dev-python/click/Manifest
@@ -3,3 +3,4 @@ DIST click-5.1.tar.gz 275592 SHA256 678c98275431fad324275dec63791e4a17558b40e5a1
DIST click-6.2.tar.gz 281717 SHA256 fba0ff70f5ebb4cebbf64c40a8fbc222fb7cf825237241e548354dabe3da6a82 SHA512 3950bd4e05823dbd526b3e3d17f9eb6871e1591342bdc4d21b7d4cea8f66791b1ab1d79ec664dae55cfbeaa5086fabb0db596bc88593251002c6584eae823477 WHIRLPOOL a53c5be5510e485f51682de0f13abadadc6627eda1ef0a9e55d2e7fe78a1fe79ba200c4172d47674d08d103b9b83dacb18da3ff8ddc09ad8e781503b87d5ceaf
DIST click-6.3.tar.gz 283062 SHA256 b720d9faabe193287b71e3c26082b0f249501288e153b7e7cfce3bb87ac8cc1c SHA512 c7518b9c595fe35efb6be4391006a471cdc909f6725b9b3c45b06ec7b8b24560543ee151ff3afabc76ea23f4367795c4e5ace9b4b780c18c48a3e512474e3bf8 WHIRLPOOL 252ddf31265a2ed4eecc616ac94a7e0c32438c204729bff7e57b0ec850dd02004c76751934202f9de3bb4dc5811dfd10cb05f50d7e4a465dcc752438176c8ecc
DIST click-6.5.tar.gz 283427 SHA256 596b81cda1d84d8cb57ceefd17a78d084c60b134819067b0721a3b0f53dc3ad2 SHA512 d8a958a7bb07a546551664616f663a2c5c7ec47b4b70d28e427be3d3dd0e8035d2473128c35ac2cab8a1a7bb754c9117658f127f709d032d8b15c5a71c97683f WHIRLPOOL f8d1d02ddc1b8d49c6cce671587d58e0387d8c490ba5e051cf6d0187f16ca56f76a36c7c3c3bea988d3f8ee5ca44dfa2fb2cdbd16ce0315b1b8e147406cf2924
+DIST click-6.6.tar.gz 283420 SHA256 cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9 SHA512 5650cfe6c8b55a7e823e22248964143278d61383dac63497508a864807f1950f9dd5d76ce6a501e589dd81fed6e2a1248d3f8973be25a91950896b7408dc88bc WHIRLPOOL db9f36bb86599599b95ae350659f75f387d15196261acaef1e069769ca8e2f29be8dc3ae5cdd94d8303907f94b90ed00209a3410da863afcce74d393a2f48d3c
diff --git a/dev-python/click/click-6.6.ebuild b/dev-python/click/click-6.6.ebuild
new file mode 100644
index 00000000000..6c9a3dcf738
--- /dev/null
+++ b/dev-python/click/click-6.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python package for creating beautiful command line interfaces"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc examples test"
+
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_prepare_all() {
+ # Prevent un-needed d'loading
+ sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ emake test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ use examples && dodoc -r examples
+ distutils-r1_python_install_all
+}