summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2016-07-11 11:03:51 +0200
committerDavid Seifert <soap@gentoo.org>2016-07-23 13:43:42 +0200
commitad2e11ae49056dce611eae629b0424ff26a119f2 (patch)
tree56b4307841bcb6ac843a7c10c2aeee2bdc8a1bf9 /dev-python/traitlets
parentdev-python/traitlets: Fix deps (diff)
downloadgentoo-ad2e11ae49056dce611eae629b0424ff26a119f2.tar.gz
gentoo-ad2e11ae49056dce611eae629b0424ff26a119f2.tar.bz2
gentoo-ad2e11ae49056dce611eae629b0424ff26a119f2.zip
dev-python/traitlets: Version bump to 4.2.2
Package-Manager: portage-2.2.26 Closes: https://github.com/gentoo/gentoo/pull/1869 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/traitlets')
-rw-r--r--dev-python/traitlets/Manifest1
-rw-r--r--dev-python/traitlets/traitlets-4.2.2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest
index 6a126c72cf62..46cdfa3b2223 100644
--- a/dev-python/traitlets/Manifest
+++ b/dev-python/traitlets/Manifest
@@ -1,3 +1,4 @@
DIST traitlets-4.0.0.tar.gz 63701 SHA256 0b140b4a94a4f1951887d9bce4650da211f79600fc9fdb422acc90c5bbe0233b SHA512 559730dbe9f5f0e75c867cd514c91a3e862a23a9e019d3883b4be66b6208980a583f39cceca4f20e409bd44335a367e7fd5654db0128bb7a735311e6b2c32f24 WHIRLPOOL 492a7a561649ea1a43ce5f45abf13e74d8ace7937e2cf0956b00fe1f650a541af8da0df5d8327bb071c4f03650a44c7ca548e8c61ccf95cea557516fa6d5b862
DIST traitlets-4.1.0.tar.gz 76828 SHA256 440e38dfa5d2a26c086d4b427cfb7aed17d0a2dca78bce90c33354da2592af5b SHA512 4000ca3014b3916a16735b0c96b4290ca25a750bc97ae1d65ed7932e84db1d414ae6d0955192a806e878fb4e6769763296474cadf153673fcae7b41f5887a235 WHIRLPOOL b20ff505681cd570d88bb380289f93fe1a880eb873645090b14acc946fa6a5f4595e086390021970fcca31518eb2363ef91779e781ee81d63fd87560478e7d2b
DIST traitlets-4.2.1.tar.gz 79869 SHA256 76eba33c89723b8fc024f950cacaf5bf2ef37999642cc9a61f4e7c1ca5cf0ac0 SHA512 e277b2c7f908f3baad591d7724c7f83fac53194ffc8ed19022d2cef5f4142fdbf072887a10e46d574ccc95a58b9217a6373142841591730105de92d0ac0a5d04 WHIRLPOOL dd7c708ba0cb6ab0b1b3a4b1ea609b0217253985ab1db2ed8bf9c8dc6c41547dedc8957272d41fd4dae5943c4f14d90fa297c1840af9484345ca1405ae3a5f2f
+DIST traitlets-4.2.2.tar.gz 79332 SHA256 7d7e3070484b2fe490fa55e0acf7023afc5ed9ddabec57405f25c355158e152a SHA512 1deff1dea59d4f0616510f2f80bc990db3626b83c32784658f3f273ed093221760ca9832bbdbaa15a85cb8cd5c89a795f941b439b244bfd5d390da826f7a69a5 WHIRLPOOL ada46ed15c8b8e822dc6480472c97e559532e0ec1cfb5bea83c6c83f1b2974f475512daf0026c57dd78978dcc6c416411dac2d1af3d51bd06d23358b1c0d3fa2
diff --git a/dev-python/traitlets/traitlets-4.2.2.ebuild b/dev-python/traitlets/traitlets-4.2.2.ebuild
new file mode 100644
index 000000000000..5fdfd6b7feef
--- /dev/null
+++ b/dev-python/traitlets/traitlets-4.2.2.ebuild
@@ -0,0 +1,57 @@
+# 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} )
+
+inherit distutils-r1
+
+DESCRIPTION="A configuration system for Python applications"
+HOMEPAGE="https://github.com/ipython/traitlets"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ dev-python/decorator[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3)
+ dev-python/ipython_genutils[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ "
+DEPEND="
+ doc? (
+ dev-python/ipython_genutils[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ test? (
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+ "
+
+python_prepare_all() {
+ # Prevent un-needed download during build
+ if use doc; then
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ nosetests --verbosity=3 traitlets || die
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( docs/build/html/. )
+ distutils-r1_python_install_all
+}