diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2016-10-14 10:27:29 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-10-14 20:20:49 +0200 |
commit | f0f1974430d9dce47a6926a31523d09afff81911 (patch) | |
tree | 5a69ee1029161344b309b0273e491c0e405f71c2 /dev-python | |
parent | sci-calculators/calcoo: Remove old ebuild (diff) | |
download | gentoo-f0f1974430d9dce47a6926a31523d09afff81911.tar.gz gentoo-f0f1974430d9dce47a6926a31523d09afff81911.tar.bz2 gentoo-f0f1974430d9dce47a6926a31523d09afff81911.zip |
dev-python/traitlets: Version bump to 4.3.1
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2554
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/traitlets/Manifest | 1 | ||||
-rw-r--r-- | dev-python/traitlets/traitlets-4.3.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest index 1cff4d11e8a5..2ba3222c87b9 100644 --- a/dev-python/traitlets/Manifest +++ b/dev-python/traitlets/Manifest @@ -3,3 +3,4 @@ DIST traitlets-4.1.0.tar.gz 76828 SHA256 440e38dfa5d2a26c086d4b427cfb7aed17d0a2d 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 +DIST traitlets-4.3.1.tar.gz 88108 SHA256 ba8c94323ccbe8fd792e45d8efe8c95d3e0744cc8c085295b607552ab573724c SHA512 f68f381c3233a7703d8888a2eda15ccae6ca70a8d0e93d03eb6d646205fe24d03a116c8f1f8ee6d4470eb6267880e8e91c9e2354f1b551b798b6e1b2d80deed5 WHIRLPOOL 39998d12836822bdda2b36f3d92c893e256a47e1c329001b4dd22b438cc91aa7be0b00f0f924a9ab63a019e5be552f104c1b449943a02d044220a5e7a6d45a74 diff --git a/dev-python/traitlets/traitlets-4.3.1.ebuild b/dev-python/traitlets/traitlets-4.3.1.ebuild new file mode 100644 index 000000000000..2e0b30964a2d --- /dev/null +++ b/dev-python/traitlets/traitlets-4.3.1.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 +} |