summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-21 08:46:10 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-21 09:33:31 +0100
commitadbb1037975b20fc87d730293fbc20bf0a809197 (patch)
tree9a530de8cacafc3c281122a31d88c00a80677e4e /dev-python/traitlets
parentdev-python/virtualenv: Version Bump (diff)
downloadgentoo-adbb1037975b20fc87d730293fbc20bf0a809197.tar.gz
gentoo-adbb1037975b20fc87d730293fbc20bf0a809197.tar.bz2
gentoo-adbb1037975b20fc87d730293fbc20bf0a809197.zip
dev-python/traitlets: Version Bump
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/traitlets')
-rw-r--r--dev-python/traitlets/Manifest1
-rw-r--r--dev-python/traitlets/traitlets-4.1.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest
index 76dd32ce482a..8a8d5b04b534 100644
--- a/dev-python/traitlets/Manifest
+++ b/dev-python/traitlets/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/traitlets/traitlets-4.1.0.ebuild b/dev-python/traitlets/traitlets-4.1.0.ebuild
new file mode 100644
index 000000000000..9eb66b0b88be
--- /dev/null
+++ b/dev-python/traitlets/traitlets-4.1.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/ipython_genutils[${PYTHON_USEDEP}]
+ "
+DEPEND="
+ doc? (
+ dev-python/ipython_genutils[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ test? ( 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
+}