mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-nose2: update to 0.14.1
This commit is contained in:
parent
3b1ded9bc3
commit
0d56b35b15
3 changed files with 21 additions and 14 deletions
12
srcpkgs/python3-nose2/patches/disable-coverage.patch
Normal file
12
srcpkgs/python3-nose2/patches/disable-coverage.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/tox.ini b/tox.ini
|
||||||
|
index d644570..1c50f7c 100644
|
||||||
|
--- a/tox.ini
|
||||||
|
+++ b/tox.ini
|
||||||
|
@@ -10,7 +10,6 @@ commands =
|
||||||
|
nocov: nose2 -v --pretty-assert {posargs}
|
||||||
|
!nocov: coverage erase
|
||||||
|
!nocov: coverage run nose2 -v --pretty-assert {posargs}
|
||||||
|
- !nocov: coverage report
|
||||||
|
|
||||||
|
[testenv:lint]
|
||||||
|
deps = pre-commit~=2.9.3
|
|
@ -1,10 +0,0 @@
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -89,7 +89,6 @@ else:
|
|
||||||
params['entry_points'] = {
|
|
||||||
'console_scripts': [
|
|
||||||
'%s = nose2:discover' % SCRIPT1,
|
|
||||||
- '%s = nose2:discover' % SCRIPT2,
|
|
||||||
],
|
|
||||||
}
|
|
||||||
params['install_requires'] = parse_requirements('requirements.txt')
|
|
|
@ -1,18 +1,23 @@
|
||||||
# Template file for 'python3-nose2'
|
# Template file for 'python3-nose2'
|
||||||
pkgname=python3-nose2
|
pkgname=python3-nose2
|
||||||
version=0.8.0
|
version=0.14.1
|
||||||
revision=7
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools python3-coverage python3-six"
|
depends="python3-setuptools python3-coverage python3-six"
|
||||||
|
checkdepends="python3-pluggy tox"
|
||||||
short_desc="Next generation of nicer testing (Python3)"
|
short_desc="Next generation of nicer testing (Python3)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/nose-devs/nose2"
|
homepage="https://github.com/nose-devs/nose2"
|
||||||
distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
|
||||||
checksum=9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3
|
checksum=7f8f03a21c9de2c33015933afcef72bf8e4a2d5dfec3b40092287de6e41b093a
|
||||||
conflicts="python-nose2>=0"
|
conflicts="python-nose2>=0"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense license.txt
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 -m tox -e py
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue