summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-08-17 12:26:10 +0200
committerLouis Sautier <sbraz@gentoo.org>2020-08-17 12:39:25 +0200
commitd80e0e6604a0e8f15727867599cdc364e362bb0a (patch)
treef8b28b6bbc7ab3e8ce26ef5b49bc84e0e11a7993 /dev-python/node-semver
parentwww-servers/uwsgi: version bump fix #731936 #727692 (diff)
downloadgentoo-d80e0e6604a0e8f15727867599cdc364e362bb0a.tar.gz
gentoo-d80e0e6604a0e8f15727867599cdc364e362bb0a.tar.bz2
gentoo-d80e0e6604a0e8f15727867599cdc364e362bb0a.zip
dev-python/node-semver: bump to 0.8.0, add Python 3.8+3.9 support
Closes: https://bugs.gentoo.org/729612 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/node-semver')
-rw-r--r--dev-python/node-semver/Manifest1
-rw-r--r--dev-python/node-semver/node-semver-0.8.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest
index f105a7969de9..163b139b54cc 100644
--- a/dev-python/node-semver/Manifest
+++ b/dev-python/node-semver/Manifest
@@ -1 +1,2 @@
DIST node-semver-0.7.0.tar.gz 18090 BLAKE2B 669da955b62c35be1a0fccbdce8c66c9de915c5498052858f9f0ebe6a07109947314c904b2077b4306b8fea9f1d0747ab7dcb63a803b00555320e44ea0a59081 SHA512 9e11af16ce7a9a7f2aacd77ff14c8aa574e62bc27f902860b97fda5cc8ee19f54118e90ca39241741da657b87ec2653239b0c4255570ffe4d1ad49e2c9484e74
+DIST node-semver-0.8.0.tar.gz 18449 BLAKE2B 171374808e18b1f3fc2807abb9b99ecfe18a392afbc59ad056f0524e374ef4a27e5a56acf0c3927c6f351503981d743e4e63f108bf0e5bd5eda62f04e24191d4 SHA512 665ae0dbced16e0f05306614b1577464aa1bdac666b35cf2e7ad4b8844a6814dc7e8672f0dff3043c7bd048aa455d671efd268052ac59166293b91d1dff17784
diff --git a/dev-python/node-semver/node-semver-0.8.0.ebuild b/dev-python/node-semver/node-semver-0.8.0.ebuild
new file mode 100644
index 000000000000..cebf767d37ce
--- /dev/null
+++ b/dev-python/node-semver/node-semver-0.8.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+# entry_points is present in setup.py but it is empty
+DISTUTILS_USE_SETUPTOOLS=manual
+
+inherit distutils-r1
+
+DESCRIPTION="Python version of node-semver, the semantic versioner for npm"
+HOMEPAGE="
+ https://pypi.org/project/node-semver/
+ https://github.com/podhmo/python-semver
+ https://github.com/npm/node-semver
+"
+# 0.8.0 has no tarball on PyPi
+# https://github.com/podhmo/python-semver/issues/43
+SRC_URI="https://github.com/podhmo/python-semver/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/python-semver-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest