mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
community/py3-validate-pyproject: upgrade to 0.19
This commit is contained in:
parent
738a46b2a5
commit
54eac5d36d
@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
pkgname=py3-validate-pyproject
|
pkgname=py3-validate-pyproject
|
||||||
pkgver=0.18
|
pkgver=0.19
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Validation library for simple check on pyproject.toml"
|
pkgdesc="Validation library for simple check on pyproject.toml"
|
||||||
url="https://validate-pyproject.readthedocs.io"
|
url="https://validate-pyproject.readthedocs.io"
|
||||||
@ -20,6 +20,7 @@ checkdepends="py3-pytest-xdist"
|
|||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/abravalheri/validate-pyproject/archive/refs/tags/v$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://github.com/abravalheri/validate-pyproject/archive/refs/tags/v$pkgver.tar.gz
|
||||||
no-useless-check.patch
|
no-useless-check.patch
|
||||||
|
fix-tests.patch
|
||||||
"
|
"
|
||||||
builddir="$srcdir/validate-pyproject-$pkgver"
|
builddir="$srcdir/validate-pyproject-$pkgver"
|
||||||
options="net" # tests require network
|
options="net" # tests require network
|
||||||
@ -42,6 +43,7 @@ package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
0c688bc9e098eb708eb1f045023046804c2fca5b7fd0ed54d92352f1ca66a51a036a9c25a435c1979a6cae585612ced5d278d172d98a67289f42803ac3a25745 py3-validate-pyproject-0.18.tar.gz
|
0be378240214213d5c33b7a6fda2331a11d2d30039c2712ee4f13cc5a92a38c85edc3bb97d27bc4325496de4e8fdc69677e68054f7888f7d1f1d1f330d8e1752 py3-validate-pyproject-0.19.tar.gz
|
||||||
831c908ac5c8d62bafe8aafff2ae27998d568e0479f90ed721493c0c4731d1914bb457055ca3dfdf97c7a780939e2027fcd8359339258c8e82a226d5a22da967 no-useless-check.patch
|
9d2335bd0a44b1c9fb13bf5e621b5c661e4aac6e9275a30f04e75211ca0768c42b1a1fb6d85ce328d935997e65b216da93d88e8fb680304d7fdf65aac3220e95 no-useless-check.patch
|
||||||
|
31f23c937db8db402bf345dd44034710244a7004025e81212241abffcf8fb76213e656b2833225fa3baeb4ecb31a15dea7d5dcce323a685214005e7fa077a239 fix-tests.patch
|
||||||
"
|
"
|
||||||
|
13
community/py3-validate-pyproject/fix-tests.patch
Normal file
13
community/py3-validate-pyproject/fix-tests.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 9cb04a7..809f052 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -72,7 +72,7 @@ addopts = """
|
||||||
|
--strict-markers
|
||||||
|
"""
|
||||||
|
norecursedirs = ["dist", "build", ".tox"]
|
||||||
|
-testpaths = ["src", "tests"]
|
||||||
|
+testpaths = ["tests"]
|
||||||
|
|
||||||
|
[tool.mypy]
|
||||||
|
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
|
@ -1,10 +1,13 @@
|
|||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index caa4ab9..9cb04a7 100644
|
||||||
--- a/pyproject.toml
|
--- a/pyproject.toml
|
||||||
+++ b/pyproject.toml
|
+++ b/pyproject.toml
|
||||||
@@ -19,6 +19,6 @@
|
@@ -67,8 +67,6 @@ version_scheme = "no-guess-dev"
|
||||||
ignore_missing_imports = true
|
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
-addopts = ["--cov", "validate_pyproject", "--cov-report", "term-missing", "--verbose", "--strict-markers"]
|
addopts = """
|
||||||
+addopts = ["--verbose", "--strict-markers"]
|
- --cov validate_pyproject
|
||||||
norecursedirs = ["dist", "build", ".tox"]
|
- --cov-report term-missing
|
||||||
testpaths = ["tests"]
|
--doctest-modules
|
||||||
|
--verbose
|
||||||
|
--strict-markers
|
||||||
|
Loading…
Reference in New Issue
Block a user