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


Commits:
9b2cdf24 by Carl Smedstad at 2024-12-25T13:25:14+01:00
Use SPDX license identifier

- - - - -
e56dc73a by Carl Smedstad at 2024-12-25T13:26:02+01:00
Replace prepare() with pytest --override-ini="addopts="

- - - - -
0e978c42 by Carl Smedstad at 2024-12-25T13:26:58+01:00
Remove unneeded dep python-asgiref

- - - - -
ff909c9d by Carl Smedstad at 2024-12-25T13:28:50+01:00
upgpkg: 0.19.4-4: python-werkzeug 3.1 + python-flask 3.1

- - - - -
19e446c9 by Carl Smedstad at 2024-12-25T13:29:32+01:00
upgpkg: 0.19.4-5: python-werkzeug 3.1 + python-flask 3.1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = python-openapi-core
        pkgdesc = Client-side and server-side support for the OpenAPI 
Specification v3
        pkgver = 0.19.4
-       pkgrel = 3
+       pkgrel = 5
        url = https://github.com/p1c2u/openapi-core
        arch = any
-       license = BSD
+       license = BSD-3-Clause
        checkdepends = python-pytest
        checkdepends = python-pytest-aiohttp
        checkdepends = python-pytest-asyncio
@@ -25,7 +25,6 @@ pkgbase = python-openapi-core
        makedepends = python-installer
        makedepends = python-poetry-core
        depends = python
-       depends = python-asgiref
        depends = python-isodate
        depends = python-jsonschema
        depends = python-jsonschema-path


=====================================
PKGBUILD
=====================================
@@ -3,13 +3,12 @@
 _pyname=openapi-core
 pkgname=python-$_pyname
 pkgver=0.19.4
-pkgrel=3
+pkgrel=5
 pkgdesc='Client-side and server-side support for the OpenAPI Specification v3'
 arch=(any)
 url='https://github.com/p1c2u/openapi-core'
-license=(BSD)
+license=(BSD-3-Clause)
 depends=(python
-         python-asgiref
          python-isodate
          python-jsonschema
          python-jsonschema-path
@@ -49,11 +48,6 @@ checkdepends=(python-pytest
 source=(git+https://github.com/python-openapi/openapi-core#tag=$pkgver)
 sha256sums=('f37c267b2154e97c5a5ac7a0c278b4871b4057a1a26001f2e4022ceb9f96fe0e')
 
-prepare() {
-  cd $_pyname
-  sed -i 's/--cov\S*//' pyproject.toml
-}
-
 build() {
   cd $_pyname
   python -m build --wheel --no-isolation
@@ -61,7 +55,8 @@ build() {
 
 check() {
   cd $_pyname
-  PYTHONPATH="$PWD" pytest -v -W ignore::DeprecationWarning
+  PYTHONPATH="$PWD" pytest -v --override-ini="addopts=" \
+    -W ignore::DeprecationWarning
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-openapi-core/-/compare/1b47d7ca3356138ef5f444cc354aa651e919a9a0...19e446c9b0e570b9061ffd6637ae7615d5b2eb8b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-openapi-core/-/compare/1b47d7ca3356138ef5f444cc354aa651e919a9a0...19e446c9b0e570b9061ffd6637ae7615d5b2eb8b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to