diff options
author | Alex Brandt <alunduil@gentoo.org> | 2015-12-21 14:52:57 -0600 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2015-12-21 14:52:57 -0600 |
commit | 522000c3bb733c84a16143d0002c5bfe55b2721c (patch) | |
tree | b0d42ca0877f86ce7efa5239262d73b0220a246b /dev-python/torment | |
parent | net-irc/irc-client: Fix blocker on ircii (diff) | |
download | gentoo-522000c3bb733c84a16143d0002c5bfe55b2721c.tar.gz gentoo-522000c3bb733c84a16143d0002c5bfe55b2721c.tar.bz2 gentoo-522000c3bb733c84a16143d0002c5bfe55b2721c.zip |
dev-python/torment: add version 3.0.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/torment')
-rw-r--r-- | dev-python/torment/Manifest | 1 | ||||
-rw-r--r-- | dev-python/torment/torment-3.0.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/torment/Manifest b/dev-python/torment/Manifest index 8b6e830b2837..50e1bfc4b057 100644 --- a/dev-python/torment/Manifest +++ b/dev-python/torment/Manifest @@ -1,3 +1,4 @@ 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 DIST torment-3.0.1.tar.gz 33908 SHA256 06f4aa429fa68255512cd9fffbaefad85a06afe4bbc5e3c293c33a72184fe46d SHA512 c57451d18cf90204247054fcc9717d8b3587e8be38433d907f51703c3f571638793cc5078cc5ad9e0ffccd024251a086e2d1dd47ad92fea89cc65a8de6c2a7c1 WHIRLPOOL 50bc8f1fbcdf6553ecf21580b6e7df802235097ebad829cca1b964806e265fc401f7a5d4200267a9a6d3c11fbe7d5986177b2aa3d8032da4260cc33c3a794120 +DIST torment-3.0.2.tar.gz 33955 SHA256 64f053082bd4a1dbc1f4218ed359c45c27dd58ea1a0b62322249cb6d06ab52f9 SHA512 92361c2e4f5aed05e290be2de21648ec52040ffc77c693c177cbd99bbd98f443aa2adb5caf10bc8f7a44573c44a0148afe103d228af4ee00576bb9ff0a1d200f WHIRLPOOL d94c4785e93c6277ccd3d2ce68c650be00262f0451b04bb0cdc0e7d5ad84c27cc7a712e2219f4be3419c21f80b755593bc93ac11154b31fdd845b376caeab19c diff --git a/dev-python/torment/torment-3.0.2.ebuild b/dev-python/torment/torment-3.0.2.ebuild new file mode 100644 index 000000000000..bafdaac857ea --- /dev/null +++ b/dev-python/torment/torment-3.0.2.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 +} |