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'
|
||||
pkgname=python3-nose2
|
||||
version=0.8.0
|
||||
revision=7
|
||||
version=0.14.1
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-coverage python3-six"
|
||||
checkdepends="python3-pluggy tox"
|
||||
short_desc="Next generation of nicer testing (Python3)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-2-Clause"
|
||||
homepage="https://github.com/nose-devs/nose2"
|
||||
distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
|
||||
checksum=9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3
|
||||
checksum=7f8f03a21c9de2c33015933afcef72bf8e4a2d5dfec3b40092287de6e41b093a
|
||||
conflicts="python-nose2>=0"
|
||||
|
||||
post_install() {
|
||||
vlicense license.txt
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
do_check() {
|
||||
python3 -m tox -e py
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue