Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-pytest-ruff


Commits:
2db5ee34 by Felix Yan at 2023-11-10T12:31:55+02:00
upgpkg: 0.2.1-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-pytest-ruff
        pkgdesc = Pytest plugin to check ruff requirements
-       pkgver = 0.2
+       pkgver = 0.2.1
        pkgrel = 1
        url = https://github.com/businho/pytest-ruff
        arch = any
@@ -14,7 +14,7 @@ pkgbase = python-pytest-ruff
        depends = python
        depends = python-pytest
        depends = python-ruff
-       source = 
git+https://github.com/businho/pytest-ruff.git#commit=df22c01741f8f44d19ad4f9bdfbef8f184318aff
+       source = 
git+https://github.com/businho/pytest-ruff.git#commit=2098829cfb8f95c2885c6dec3e229ed3092e2c1e
        sha512sums = SKIP
 
 pkgname = python-pytest-ruff


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-pytest-ruff
-pkgver=0.2
-_commit=df22c01741f8f44d19ad4f9bdfbef8f184318aff
+pkgver=0.2.1
+_commit=2098829cfb8f95c2885c6dec3e229ed3092e2c1e
 pkgrel=1
 pkgdesc="Pytest plugin to check ruff requirements"
 url="https://github.com/businho/pytest-ruff";
@@ -27,7 +27,9 @@ build() {
 
 check() {
   cd pytest-ruff
-  python -m pytest
+  python -m installer -d tmp_install dist/*.whl
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.11/site-packages" \
+    pytest
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-ruff/-/commit/2db5ee346fddbd54289b6664a2432eb761590fd8

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


Reply via email to