summaryrefslogtreecommitdiff
path: root/dev-python/node-semver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /dev-python/node-semver
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-python/node-semver')
-rw-r--r--dev-python/node-semver/Manifest4
-rw-r--r--dev-python/node-semver/metadata.xml39
-rw-r--r--dev-python/node-semver/node-semver-0.6.1.ebuild37
3 files changed, 60 insertions, 20 deletions
diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest
index b87d7816a3f9..518425af5d1b 100644
--- a/dev-python/node-semver/Manifest
+++ b/dev-python/node-semver/Manifest
@@ -1,3 +1,5 @@
DIST node-semver-0.2.0.tar.gz 10236 BLAKE2B f4f48761a0086b8a2e79307427b4dc93954362452f653042582024cee593b4b7fefb1a14d3d4ea6832255209b054c9bdb05b02cb101af1e359a1266c472c5149 SHA512 7c636d94a262723c5e50123433c9c7af38424c46711c1b8e001931b242fc9703a084a0426b75e6884104a4adc6104a298355bf3c1604b9cae0ddab7d5f11b430
+DIST node-semver-0.6.1.tar.gz 17952 BLAKE2B f7d48f7d0373acdad56ef6745f09653163f3bcfbed26820ff77205d7bb479b0c9debfd79f719d3eb973d3cec06b0bac3773f06351712c274f90a2dcf5c658694 SHA512 d1f406d6e82f02c3e0eb0f4e1506279b00e7f31875f45bfbd7f87e6777b46676003bb7b39241bdeae616c6506dd85c60e61217460c55dd5079ea87cd818cd6bc
EBUILD node-semver-0.2.0.ebuild 750 BLAKE2B 740e89bd8d3ebd462302b13f11a08573d34b0fa7cf0e7c50210e203bd9dc3d0bd8656cd97f19be80383b1927fded69d209bd5e839bc057bfdd2a99f2338b7716 SHA512 82474c5fc7f1d029a6ca5472c8557f538e2cf757f6602613addaf3cf8da1c62c85d7e460284abefb0ef89cf65f3293c4a75100d47eeebcc9438d994bae41d5b7
-MISC metadata.xml 745 BLAKE2B bafe049cf8ac9f5a735151a2b6ecc4ec60345fb21936017a554523164d5eb7e04a806381f20c257b6507d22201a747887e8a83654abc1387b52de17477b0d975 SHA512 615429b43049be7deaf2334ff5c1cd73289d42569ccbf0dcfc3dc3cb5851b2f5b162c9a0f5c5466a9b2623eff311ff733e1edb322f9a818bf169f05b59fbd48f
+EBUILD node-semver-0.6.1.ebuild 1079 BLAKE2B 6b90acfa6b90bb56b88abd1075220149eba6db06a78525025c492518f74ab6cb2a4e9d5e95873334ae76a57a1933d518c1780a85419148fbb76cbc19a5fb50c1 SHA512 edbe6c1d946b4ed617c7eb49007115785c8d4e85f230f8c4429995a8102d00c27be73e145aca2204274d419822ff5f6b91f4d8488753feeb1be450636f1a2d95
+MISC metadata.xml 786 BLAKE2B f7fc468fd3228c485674f4816c1cab1f5220024f39108ca033e4581233d0534376dcc907629774716b5cdc16e7d243e884fe6d17a57d362342e5edd32a4a8f81 SHA512 51b36d6a15b21c6490ba5f19494b23b94bcbe4a5aaf28e6bb6034596b850872bece0a066f3ea6f11f610759492e1060b3d932736254ff0af7a895a9261d74799
diff --git a/dev-python/node-semver/metadata.xml b/dev-python/node-semver/metadata.xml
index ea78022d7b82..06beedd4c6bd 100644
--- a/dev-python/node-semver/metadata.xml
+++ b/dev-python/node-semver/metadata.xml
@@ -1,23 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>luigi.mantellini@gmail.com</email>
- <name>Luigi Mantellini</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <longdescription lang="en">
- Python port of the semantic versioner for npm (semver).
- </longdescription>
- <upstream>
- <remote-id type="pypi">node-semver</remote-id>
- <remote-id type="github">podhmo/python-semver</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>luigi.mantellini@gmail.com</email>
+ <name>Luigi Mantellini</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Python port of the semantic versioner for npm (semver).
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">node-semver</remote-id>
+ <remote-id type="github">podhmo/python-semver</remote-id>
+ <bugs-to>https://github.com/podhmo/python-semver/issues</bugs-to>
+ </upstream>
</pkgmetadata>
diff --git a/dev-python/node-semver/node-semver-0.6.1.ebuild b/dev-python/node-semver/node-semver-0.6.1.ebuild
new file mode 100644
index 000000000000..38da8d9ff050
--- /dev/null
+++ b/dev-python/node-semver/node-semver-0.6.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
+
+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
+"
+# Tests are currently missing from PyPI tarballs
+# https://github.com/podhmo/python-semver/pull/31
+SRC_URI="https://github.com/podhmo/python-semver/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+S="${WORKDIR}/python-semver-${PV}"
+
+python_test() {
+ # Ignore 2 tests that fail with Python 2
+ # https://github.com/podhmo/python-semver/issues/30
+ pytest -vv --ignore semver/tests/test_passing_bytes.py \
+ || die "tests failed with ${EPYTHON}"
+}