diff options
author | Alex Brandt <alunduil@alunduil.com> | 2015-10-12 18:58:11 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@alunduil.com> | 2015-10-12 18:58:11 -0500 |
commit | 1524f7fbb5dc5b977d51ba486c64e57fa0c5a4b6 (patch) | |
tree | 58a706f724a97bf603e5124dc29b79e772105dd1 /dev-python/torment | |
parent | dev-scheme/guile: Make building guile-readline optional (bug #392553) (diff) | |
download | gentoo-1524f7fbb5dc5b977d51ba486c64e57fa0c5a4b6.tar.gz gentoo-1524f7fbb5dc5b977d51ba486c64e57fa0c5a4b6.tar.bz2 gentoo-1524f7fbb5dc5b977d51ba486c64e57fa0c5a4b6.zip |
dev-python/torment: add version 3.0.0
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-python/torment')
-rw-r--r-- | dev-python/torment/Manifest | 1 | ||||
-rw-r--r-- | dev-python/torment/torment-3.0.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/torment/Manifest b/dev-python/torment/Manifest index b14cbbc18d16..cdb5cc9d70f7 100644 --- a/dev-python/torment/Manifest +++ b/dev-python/torment/Manifest @@ -1,3 +1,4 @@ DIST torment-2.0.3.tar.gz 23457 SHA256 577fb8227087100ec1e3c29fc422dfab8813f77881f74b7f68b41a7a9abde9ca SHA512 a112fdd20da24ecf2ac0d8acb50e226bdc60cd78ce2b903333cde20fa78c593e31ff5ef9922c0b9f5cd32ac5c910ee287f2534ff5669cd21b12a66a485d0f409 WHIRLPOOL 060fa7ec2200b7fddddd1fd128ca09ad0f30314707da7cf393e30c614f894169f3724c51ab4e2c2627ba51a1345a6079b804c5ce0f02f2dae54090bbd2b20cb9 DIST torment-2.0.4.tar.gz 27980 SHA256 1968ffe76f4e759c0857828eff30074fbdcff72c2ff23ef13023c1cdd7608037 SHA512 aa6689387648b0c659487c99dbdfac14e2bdb9dfdaf5d1b777ccb50755bbf5ce0c576ed4682bb9ebcd55ed8babc4c5727e01b9843206bee26561b0b930a0d4c4 WHIRLPOOL 27c50a9dc61108ddc2feaa5c88fbde8a4eb6032b2fdbdf9eb7aaa1b2ad6d7a8c5700e48bba1e5aaa5b2fd679e150881827e4622ce3f65cc601093691a7a2aca0 DIST torment-2.1.0.tar.gz 30608 SHA256 d8d21efd1a30c0bb964b43e47b41cc261d4b2417b09fd3945090bf48fd3d0248 SHA512 502a61372f61d653f98ed20e0d074d1c411cc33be08ae91fec4e7606b1d3d3b78fd4fee8b1908b4fc721e7fe6029400063e9a94830a589e572baf824e7e0a261 WHIRLPOOL 7fe54b057ea89823b1b861c61e771f02a8a66a755f5667c89728bfab8e52006524cc960fece75f77d00b1aa894e0f3853df59a79cddf70a28b27b08d31de856b +DIST torment-3.0.0.tar.gz 33898 SHA256 ad3ead69f1c9e5ec1dc92a83bceca186f0d6a4544f983222c32c4d0a5e7f3b45 SHA512 1fac30a0e97a6505c7e9cbbfaa141e2378cf26345fd4679d6eff75a4472054771b2421b044f9ff0daa8671e1b27989508e7a9885dfb98e3a07bd3e842d4bbb77 WHIRLPOOL 353cd7a8b66f2936c5476e8e50e2f6428bdc6f4e0bdbb2ea99c93018ebe6587ad4d3c6310fd55fe21cbdefc3174425a34d10aa072cbc27ebcbe3f5f114f4c913 diff --git a/dev-python/torment/torment-3.0.0.ebuild b/dev-python/torment/torment-3.0.0.ebuild new file mode 100644 index 000000000000..bafdaac857ea --- /dev/null +++ b/dev-python/torment/torment-3.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="A Study in Fixture Based Testing Frameworking" +HOMEPAGE="https://github.com/kumoru/torment" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +CDEPEND="dev-python/mypy[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${CDEPEND} + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + nosetests || die "Tests failed on ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |