summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-11-18 16:41:11 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-11-18 17:35:34 -0800
commit7055c5fe101d3dc83e559a68bd7b3809776dcc92 (patch)
treee7e551b78e6897fdcbe50a1f3bbbe33de3975bac /dev-python/semver
parentapp-misc/jq: Stabilize on amd64 (diff)
downloadgentoo-7055c5fe101d3dc83e559a68bd7b3809776dcc92.tar.gz
gentoo-7055c5fe101d3dc83e559a68bd7b3809776dcc92.tar.bz2
gentoo-7055c5fe101d3dc83e559a68bd7b3809776dcc92.zip
dev-python/semver: bump to 2.9.0
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python/semver')
-rw-r--r--dev-python/semver/Manifest1
-rw-r--r--dev-python/semver/semver-2.9.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/semver/Manifest b/dev-python/semver/Manifest
index dfd236487ff8..0becf2f0ca77 100644
--- a/dev-python/semver/Manifest
+++ b/dev-python/semver/Manifest
@@ -1 +1,2 @@
DIST semver-2.8.1.tar.gz 15000 BLAKE2B 71fee2372713cefd11778fb223d58cc1e41909cc8adb8b5b3330770eb1ebcaf45c3250c553c40b85c54a59b1427308e7c143e1cfadf6276d7652df339263c65d SHA512 a457b1a170b309ee563955e4c506de56a061acd4e7e92a58fd8bd78801e33207fbc5e0e026fc0ea243301bf9ecfe0b219c0d95681aa10066480cbd3974e17d3a
+DIST semver-2.9.0.tar.gz 24767 BLAKE2B 5fb9eda8c5ccc6b02997292eb6f7be0080480b21bc38bb629fa48af674ec7a356f2b9952459680281a187243acbde17968060c48e4c1af70d10f3bbdf984fbe2 SHA512 5ae9a4a66474fc82cf7e4612796a6c0e0280ad9969ff8c509e99cb266154f39a2c03c68f6167f8e17fda1ac16ce17a838e63d81bc2e78debfd07adbb7cbc098d
diff --git a/dev-python/semver/semver-2.9.0.ebuild b/dev-python/semver/semver-2.9.0.ebuild
new file mode 100644
index 000000000000..3b9586b2ecd7
--- /dev/null
+++ b/dev-python/semver/semver-2.9.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python module for semantic versioning"
+HOMEPAGE="https://github.com/k-bx/python-semver"
+SRC_URI="https://github.com/k-bx/python-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/python-${P}"
+
+python_test() {
+ rm setup.cfg || die # contains incompatible pytest args
+ pytest -v || die "Tests failed with ${EPYTHON}"
+}