Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
hypercorn


Commits:
3877116b by Carl Smedstad at 2024-10-06T10:58:51+02:00
upgpkg: 0.17.3-2: Drop unneeded python-pytest-cov dependency

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

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = hypercorn
        pkgdesc = An ASGI Server based on Hyper libraries and inspired by 
Gunicorn
        pkgver = 0.17.3
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/pgjones/hypercorn
        arch = any
        license = MIT
@@ -10,7 +10,6 @@ pkgbase = hypercorn
        checkdepends = python-httpx
        checkdepends = python-pytest
        checkdepends = python-pytest-asyncio
-       checkdepends = python-pytest-cov
        checkdepends = python-pytest-sugar
        checkdepends = python-pytest-trio
        checkdepends = python-trio


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=hypercorn
 pkgver=0.17.3
-pkgrel=1
+pkgrel=2
 pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn'
 url=https://github.com/pgjones/hypercorn
 arch=(any)
@@ -26,7 +26,6 @@ checkdepends=(
   python-httpx
   python-pytest
   python-pytest-asyncio
-  python-pytest-cov
   python-pytest-sugar
   python-pytest-trio
   python-trio
@@ -48,7 +47,8 @@ build() {
 
 check() {
   cd hypercorn
-  PYTHONPATH="src:$PYTHONPATH" python -m pytest \
+  PYTHONPATH="src:$PYTHONPATH" pytest \
+    --override-ini="addopts=" \
     --ignore=tests/trio/test_lifespan.py
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hypercorn/-/commit/3877116b85d175260ee33748a6fba16d467c62a3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hypercorn/-/commit/3877116b85d175260ee33748a6fba16d467c62a3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to