summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-06-13 19:29:50 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-06-13 19:29:50 +0200
commit48be2c0af8d109b4b4ae858b218d67fd6ddc82d1 (patch)
treeaa341d004915653b4531108e1b67dd9a988c6b5e /dev-python/semantic_version
parentdev-python/pyhcl: Version bump to 0.3.5 (diff)
downloadgentoo-48be2c0af8d109b4b4ae858b218d67fd6ddc82d1.tar.gz
gentoo-48be2c0af8d109b4b4ae858b218d67fd6ddc82d1.tar.bz2
gentoo-48be2c0af8d109b4b4ae858b218d67fd6ddc82d1.zip
dev-python/semantic_version: Fix tests
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/semantic_version')
-rw-r--r--dev-python/semantic_version/Manifest1
-rw-r--r--dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/semantic_version/Manifest b/dev-python/semantic_version/Manifest
index 9a1eced2db21..3b3beec057d7 100644
--- a/dev-python/semantic_version/Manifest
+++ b/dev-python/semantic_version/Manifest
@@ -1 +1,2 @@
+DIST semantic_version-2.6.0-1.tar.gz 31678 SHA256 110d9c75dc9670a188ab820503c6b40ea4ab3f1450a0aee5a90a24fd60aef358 SHA512 18db9279c2728565b13362c54bedbf569f0878cbe6bb58e631d87ffe7cff7d9131a30a2592cbf511091c03e854851159bbb298fe7469f53e8a2d92cf26ab4d0b WHIRLPOOL 1e9b0411ffe00d0544e71b3b71e78f3f6b858bb75bcf2db92bc86334f97f2c2d796924a477ddd5c43d4a1d16d70e4fce78fe9cebdfeae2836adfafb425475abc
DIST semantic_version-2.6.0.tar.gz 13919 SHA256 2a4328680073e9b243667b201119772aefc5fc63ae32398d6afafff07c4f54c0 SHA512 805449e7219aaa59d28cc267c27a6abab5cbbbfd52c72d66f24bcace39c9f864e4ed944a3dc614e14a700a5bc92272fa6420312f3169b01a4cfd9ddf3ffb42d6 WHIRLPOOL 293dec8e54ea1214891642e87972955f41286f1d4ef76f59a62a00996588a43aadfec893f451aa1733186f4d76ca67a2efe496f2f20412359c08fb11d5de1206
diff --git a/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild b/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild
new file mode 100644
index 000000000000..3fbc3a46e1fd
--- /dev/null
+++ b/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library providing a few tools handling SemVer in Python"
+HOMEPAGE="https://pypi.python.org/pypi/semantic_version"
+SRC_URI="https://github.com/rbarrois/python-semanticversion/archive/v${PV}.tar.gz -> ${P}-1.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/django[${PYTHON_USEDEP}] )"
+
+S=${WORKDIR}/python-${P/_/}
+
+python_test() {
+ esetup.py test
+}