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


Commits:
d37fc6a1 by Carl Smedstad at 2024-10-06T11:26:45+02:00
upgpkg: 2.4.3-4: 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,11 +1,11 @@
 pkgbase = python-cmd2
        pkgdesc = A tool for building interactive command line apps
        pkgver = 2.4.3
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/python-cmd2/cmd2
        arch = any
        license = MIT
-       checkdepends = python-pytest-cov
+       checkdepends = python-pytest
        checkdepends = python-pytest-mock
        checkdepends = python-pytest-xdist
        checkdepends = vi


=====================================
PKGBUILD
=====================================
@@ -4,14 +4,14 @@
 pkgname=python-cmd2
 pkgver=2.4.3
 _commit=031832a76b7a9e25d708153085d18d5366ff318d
-pkgrel=3
+pkgrel=4
 pkgdesc="A tool for building interactive command line apps"
 arch=('any')
 url="https://github.com/python-cmd2/cmd2";
 license=('MIT')
 depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
 makedepends=('git' 'python-setuptools-scm' 'python-build' 'python-installer' 
'python-wheel')
-checkdepends=('python-pytest-cov' 'python-pytest-mock' 'python-pytest-xdist' 
'vi')
+checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-xdist' 'vi')
 source=("git+https://github.com/python-cmd2/cmd2.git#commit=$_commit";)
 sha512sums=('SKIP')
 
@@ -22,7 +22,7 @@ build() {
 
 check() {
   cd cmd2
-  PYTHONPATH="$PWD/cmd2" pytest
+  PYTHONPATH="$PWD/cmd2" pytest --override-ini="addopts="
 }
 
 package() {



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

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


Reply via email to