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


Commits:
d25f3b04 by Jelle van der Waa at 2023-12-27T10:12:23+01:00
Drop pytest-runner

Invoke pytest directly to avoid going through the deprecated setup.py
subcommand.

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = python-arpeggio
+       pkgdesc = Packrat parser interpreter
+       pkgver = 2.0.2
+       pkgrel = 2
+       url = https://github.com/textX/Arpeggio
+       arch = any
+       license = MIT
+       checkdepends = python-pytest
+       makedepends = python-setuptools
+       makedepends = python-wheel
+       depends = python
+       source = 
https://github.com/textX/Arpeggio/archive/2.0.2/python-arpeggio-2.0.2.tar.gz
+       sha512sums = 
53628b94c5181a5768be686d7c27178f77823065164dcaa421125aa3c5f2fedf2bf9e54761b92a73832dd9ae667a23eaa4ca3b00155d1acd800c00acf0f449a4
+
+pkgname = python-arpeggio


=====================================
PKGBUILD
=====================================
@@ -2,13 +2,14 @@
 
 pkgname=python-arpeggio
 pkgver=2.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Packrat parser interpreter"
 url="https://github.com/textX/Arpeggio";
 license=('MIT')
 arch=('any')
 depends=('python')
-makedepends=('python-pytest-runner' 'python-setuptools' 'python-wheel')
+makedepends=('python-setuptools' 'python-wheel')
+checkdepends=('python-pytest')
 
source=("https://github.com/textX/Arpeggio/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
 
sha512sums=('53628b94c5181a5768be686d7c27178f77823065164dcaa421125aa3c5f2fedf2bf9e54761b92a73832dd9ae667a23eaa4ca3b00155d1acd800c00acf0f449a4')
 
@@ -19,7 +20,7 @@ build() {
 
 check() {
   cd Arpeggio-$pkgver
-  python setup.py pytest
+  pytest .
 }
 
 package() {



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

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


Reply via email to