Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-aspectlib


Commits:
a88541bb by Jelle van der Waa at 2023-12-27T10:30:49+01:00
Drop pytest-runner and invoke pytest directly

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,19 @@
+pkgbase = python-aspectlib
+       pkgdesc = Development library for quickly writing configurable 
applications and daemons
+       pkgver = 1.5.2
+       pkgrel = 7
+       url = https://github.com/ionelmc/python-aspectlib
+       arch = any
+       license = BSD
+       checkdepends = python-tornado
+       checkdepends = python-process-tests
+       checkdepends = python-profilestats
+       checkdepends = python-pytest
+       makedepends = python-setuptools
+       depends = python-fields
+       source = 
python-aspectlib-1.5.2.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v1.5.2.tar.gz
+       source = python310.patch
+       sha512sums = 
33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f
+       sha512sums = 
74b4261afd1fe20749f94dab067514eab12c484453607b820a96e1e8308fddbac4ac49ce24334c79c9fea6729877457ae60cb5004709106186c51d9af66087af
+
+pkgname = python-aspectlib


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=python-aspectlib
 pkgver=1.5.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')
@@ -10,7 +10,7 @@ url="https://github.com/ionelmc/python-aspectlib";
 depends=('python-fields')
 makedepends=('python-setuptools')
 checkdepends=('python-tornado' 'python-process-tests'
-              'python-profilestats' 'python-pytest-runner') # 'mysql-python')
+              'python-profilestats' 'python-pytest') # 'mysql-python')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz";
         python310.patch)
 
sha512sums=('33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f'
@@ -30,7 +30,7 @@ build() {
 check() {
   cd python-aspectlib-$pkgver
   # https://github.com/ionelmc/python-aspectlib/issues/15
-  python setup.py pytest --addopts '--deselect 
tests/test_integrations_py3.py::test_decorate_tornado_coroutine'
+  PYTHONPATH=src pytest --deselect 
tests/test_integrations_py3.py::test_decorate_tornado_coroutine
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aspectlib/-/commit/a88541bb2193f12d0908204a096d900523489fd2

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


Reply via email to