diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2016-09-20 11:27:39 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-20 23:11:13 +0200 |
commit | c7db9925ef9269d36ce29931b4d4216c3177bb59 (patch) | |
tree | 502f831cc9cd0e4d1656509996759a921c1a0068 /dev-python/traitlets | |
parent | dev-python/notebook: Version bump to 4.2.3 (diff) | |
download | gentoo-c7db9925ef9269d36ce29931b4d4216c3177bb59.tar.gz gentoo-c7db9925ef9269d36ce29931b4d4216c3177bb59.tar.bz2 gentoo-c7db9925ef9269d36ce29931b4d4216c3177bb59.zip |
dev-python/traitlets: Version bump to 4.3.0
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2367
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/traitlets')
-rw-r--r-- | dev-python/traitlets/Manifest | 1 | ||||
-rw-r--r-- | dev-python/traitlets/traitlets-4.3.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest index 46cdfa3b2223..1cff4d11e8a5 100644 --- a/dev-python/traitlets/Manifest +++ b/dev-python/traitlets/Manifest @@ -2,3 +2,4 @@ DIST traitlets-4.0.0.tar.gz 63701 SHA256 0b140b4a94a4f1951887d9bce4650da211f7960 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 +DIST traitlets-4.3.0.tar.gz 88098 SHA256 8a33cb7b1ef47f2d6dc16e9cf971217d5a4882a3541c070e78a0e8e8edcb3f82 SHA512 5a5c6b7763d03b830584cafcaa7d468a04733661856f0a7960dbfbf95c964392dcc174d0c9e00b6a85d74d7177834663a43b89f8ff3bb31a0fd1f2778a3606bd WHIRLPOOL 1dc23b69babc1356d358a98ae5aef249232ed03b9c9d2b46d86756948e81ca99d1ed09294f49e1b64c5024e8439b27a3685d447bea2b8c3548cfee896b609ec9 diff --git a/dev-python/traitlets/traitlets-4.3.0.ebuild b/dev-python/traitlets/traitlets-4.3.0.ebuild new file mode 100644 index 000000000000..2e0b30964a2d --- /dev/null +++ b/dev-python/traitlets/traitlets-4.3.0.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/pytest-cov[${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() { + py.test --cov traitlets -v traitlets || die +} + +python_install_all() { + use doc && HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all +} |