Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-prance


Commits:
7fa5b063 by Carl Smedstad at 2024-10-06T15:22:38+02:00
Use SPDX license identifier

- - - - -
bf4cfbe4 by Carl Smedstad at 2024-10-06T15:25:09+02:00
upgpkg: 0.22.11.04.0-4: Drop unneeded checkdep python-pytest-cov

https://archlinux.org/todo/drop-python-pytest-cov-dependency-if-unneeded/

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
 pkgbase = python-prance
        pkgdesc = Resolving Swagger/OpenAPI 2.0 and 3.0 Parser
        pkgver = 0.22.11.04.0
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/jfinkhaeuser/prance
        arch = any
-       license = custom:MITNFA
-       checkdepends = python-pytest-cov
+       license = MITNFA
+       checkdepends = python-pytest
        checkdepends = python-click
        checkdepends = python-pyicu
        checkdepends = python-openapi-spec-validator


=====================================
PKGBUILD
=====================================
@@ -3,17 +3,17 @@
 pkgname=python-prance
 pkgver=0.22.11.04.0
 _openapi_commit=0f9d3ec7c033fef184ec54e1ffc201b2d61ce023
-pkgrel=3
+pkgrel=4
 pkgdesc="Resolving Swagger/OpenAPI 2.0 and 3.0 Parser"
 url="https://github.com/jfinkhaeuser/prance";
-license=('custom:MITNFA')
+license=('MITNFA')
 arch=('any')
 depends=('python-chardet' 'python-ruamel-yaml' 'python-requests' 'python-six' 
'python-semver'
          'python-packaging')
 optdepends=('python-flex' 'python-click' 'python-pyicu' 
'python-openapi-spec-validator')
 makedepends=('python-setuptools')
 # 'python-flex' is broken, removed for now: 
https://github.com/RonnyPfannschmidt/prance/issues/116
-checkdepends=('python-pytest-cov' 'python-click' 'python-pyicu' 
'python-openapi-spec-validator')
+checkdepends=('python-pytest' 'python-click' 'python-pyicu' 
'python-openapi-spec-validator')
 
source=("https://github.com/jfinkhaeuser/prance/archive/v$pkgver/$pkgname-$pkgver.tar.gz";
         
"https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit/OpenAPI-Specification-$_openapi_commit.tar.gz";)
 
sha512sums=('ad2d65ec732ffe5275dd6a0e8d9bd04a6ee7c7d6d46f4cbf680be344c6593334ea98436b0a99bc773b6705d948f331930a921d1704cdab59cf07ee5da2cfe48c'
@@ -32,7 +32,16 @@ build() {
 check() {
   cd prance-$pkgver
   # Code depends on a service which is broken with a Bad gateway 
https://mermade.org.uk/api/v1/convert
-  pytest -k 'not test_convert_petstore and not test_convert and not 
test_openapi_spec_validator_validate_failure'
+  pytest --override-ini="addopts=" \
+    
--deselect=tests/test_backends.py::test_openapi_spec_validator_validate_failure 
\
+    --deselect=tests/test_cli.py::test_convert_defaults \
+    --deselect=tests/test_cli.py::test_convert_output \
+    --deselect=tests/test_convert.py::test_convert_parser_validated \
+    --deselect=tests/test_convert.py::test_convert_petstore_json \
+    --deselect=tests/test_convert.py::test_convert_petstore_yaml \
+    --deselect=tests/test_convert.py::test_convert_petstore_yaml_explicit_name 
\
+    --deselect=tests/test_convert.py::test_convert_url \
+    --deselect=tests/test_util_url.py::test_fetch_url_http
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-prance/-/compare/b6a428970c613f8508f58ff4828e87e5ec1e5107...bf4cfbe455ba0a161c7cac80ca0c5c3396ab6a2e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-prance/-/compare/b6a428970c613f8508f58ff4828e87e5ec1e5107...bf4cfbe455ba0a161c7cac80ca0c5c3396ab6a2e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to