summaryrefslogtreecommitdiff
path: root/dev-python/node-semver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/node-semver
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/node-semver')
-rw-r--r--dev-python/node-semver/Manifest4
-rw-r--r--dev-python/node-semver/node-semver-0.8.0.ebuild (renamed from dev-python/node-semver/node-semver-0.7.0.ebuild)25
2 files changed, 10 insertions, 19 deletions
diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest
index be5d8350dc82..756628b3cfe3 100644
--- a/dev-python/node-semver/Manifest
+++ b/dev-python/node-semver/Manifest
@@ -1,3 +1,3 @@
-DIST node-semver-0.7.0.tar.gz 18090 BLAKE2B 669da955b62c35be1a0fccbdce8c66c9de915c5498052858f9f0ebe6a07109947314c904b2077b4306b8fea9f1d0747ab7dcb63a803b00555320e44ea0a59081 SHA512 9e11af16ce7a9a7f2aacd77ff14c8aa574e62bc27f902860b97fda5cc8ee19f54118e90ca39241741da657b87ec2653239b0c4255570ffe4d1ad49e2c9484e74
-EBUILD node-semver-0.7.0.ebuild 1091 BLAKE2B 5b31a5cc74f19ec9a4bfcf185570634cdb209b68c58cf91d792d84d2020f849cad6dd11ff6367281aa0dc058fa520ebb3b24d71ed1b8f4141ae5f2582746caa4 SHA512 ea6c3fa500ca28e7d97bbfbd779e76b7c5022fdc01a03689e994d580934c5691b1eebdefad8119fab64358fbd4447710e31620a2d9b9ddb62553c66bfee8c69b
+DIST node-semver-0.8.0.tar.gz 18449 BLAKE2B 171374808e18b1f3fc2807abb9b99ecfe18a392afbc59ad056f0524e374ef4a27e5a56acf0c3927c6f351503981d743e4e63f108bf0e5bd5eda62f04e24191d4 SHA512 665ae0dbced16e0f05306614b1577464aa1bdac666b35cf2e7ad4b8844a6814dc7e8672f0dff3043c7bd048aa455d671efd268052ac59166293b91d1dff17784
+EBUILD node-semver-0.8.0.ebuild 894 BLAKE2B 78f9925c1f238848fb73919b43a53441c79ea22aa3a4b1ad733af846233c58c120fc9a3648d998a0d6204e4234d3bae72495a6f6fc1ea2e3ad85db8091f2780d SHA512 9d2d42bf21b3ed8f3465b6de499cb8747e11d41f69180f6767c94432379df446a88134775f09bf87b84f0b11ba27a83f468630497613d00d123a9b90461481d6
MISC metadata.xml 678 BLAKE2B fd7f2ace72fa8748c1ab94c2583dc49527273f10f09724cf63e44a053e1c8030935605b5abf500711037bcdf1f0863372177970ddfb8f7d54135ebc37487ede0 SHA512 5ffd4bf5a5823c487e20c3daf566748e095ace0ee75a93a2fef7be8837ba6eb0a371d0dbf682653579c1071ba9988c0d469ef075c7d71f8639df0869cc3e4dbb
diff --git a/dev-python/node-semver/node-semver-0.7.0.ebuild b/dev-python/node-semver/node-semver-0.8.0.ebuild
index f1eabb0d93a5..cebf767d37ce 100644
--- a/dev-python/node-semver/node-semver-0.7.0.ebuild
+++ b/dev-python/node-semver/node-semver-0.8.0.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,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
@@ -13,26 +15,15 @@ HOMEPAGE="
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
+# 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"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
-S="${WORKDIR}/python-semver-${PV}"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-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}"
-}
+distutils_enable_tests pytest