summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@gentoo.org>2016-01-16 15:42:49 -0600
committerAlex Brandt <alunduil@gentoo.org>2016-01-16 15:42:49 -0600
commitadbdfcb42228fdf8afe4de8976e5bf238dd46d7a (patch)
tree6be648555ff589ff1b36772c068412198583d553 /dev-python/torment
parentdev-python/botocore: remove version 1.3.2 (diff)
downloadgentoo-adbdfcb42228fdf8afe4de8976e5bf238dd46d7a.tar.gz
gentoo-adbdfcb42228fdf8afe4de8976e5bf238dd46d7a.tar.bz2
gentoo-adbdfcb42228fdf8afe4de8976e5bf238dd46d7a.zip
dev-python/torment: add version 3.0.3
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/torment')
-rw-r--r--dev-python/torment/Manifest1
-rw-r--r--dev-python/torment/torment-3.0.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/torment/Manifest b/dev-python/torment/Manifest
index 23271252a368..717335c5a9ae 100644
--- a/dev-python/torment/Manifest
+++ b/dev-python/torment/Manifest
@@ -1,3 +1,4 @@
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
+DIST torment-3.0.3.tar.gz 33976 SHA256 0c66837386df9286b4c66d4e8de5113e118dd44dcccdbeaa188bbfed67d94082 SHA512 85876668ce2ee898f876711aa11186ee2edb092ac1b768ee828670a6aef8bfc9cbcdee4aa07d8068ebed2edb60aa0774d74d2e7976a6c021ae5264aee1e83fbd WHIRLPOOL a1c83a225a0f7c7e16ee433e1a5980d6294c432ae612b8fbe9f7dc8959b8a42ad983974bf377b91a8f831f9acf142b611a47b1c7303c4cbaf004f6ac7b4b93ae
diff --git a/dev-python/torment/torment-3.0.3.ebuild b/dev-python/torment/torment-3.0.3.ebuild
new file mode 100644
index 000000000000..8d182c3dd4f7
--- /dev/null
+++ b/dev-python/torment/torment-3.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 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
+}