Fabian Bornschein pushed to branch main at Arch Linux / Packaging / Packages /
python-yubico
Commits:
404e1632 by Fabian Bornschein at 2024-10-08T21:46:53+02:00
upgpkg: 1.3.3-5
* Update checksum because the generation if different for pacman 7
* Switch from python-nose to pytest
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
pkgbase = python-yubico
pkgdesc = Python code to talk to YubiKeys
pkgver = 1.3.3
- pkgrel = 4
+ pkgrel = 5
url = https://developers.yubico.com/python-yubico/
arch = any
license = BSD-2-Clause
- checkdepends = python-nose
+ checkdepends = python-pytest
makedepends = git
makedepends = python-build
makedepends = python-installer
@@ -16,7 +16,7 @@ pkgbase = python-yubico
source =
git+https://github.com/Yubico/python-yubico.git/?signed#tag=python-yubico-1.3.3
source = 0001-Mark-raw-strings-to-fix-invalid-escape-sequences.patch
validpgpkeys = 20EE325B86A81BCBD3E56798F04367096FBA95E8
- b2sums =
c407dc65d5d19cda73f49d4e1944ed96e7fae6861bfdb14b7e48c1e432e015b5370300a698b18948e3cce031852f3bd1c105f23ed4984c2ad7fd3e9ab26eb14b
+ b2sums =
e75c67cd8024ba1769011c4c41d918559ea9edf617f80681c12e75389085de1b94abd8581303d5aed64fb360ec17f9afd7ab8f9e709d5e8e56ab45ee0d2be968
b2sums =
917137e198daf4aceda9cf60df19d0f00c494f8fe390898f0a9e9ba34c1268dd473f0c64b5ab6d76e4df8f6d33693b9ec0570e8b5118a3f388730c5dc4f35c85
pkgname = python-yubico
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=python-yubico
pkgver=1.3.3
-pkgrel=4
+pkgrel=5
pkgdesc="Python code to talk to YubiKeys"
arch=('any')
url="https://developers.yubico.com/python-yubico/"
@@ -18,11 +18,11 @@ makedepends=(
python-setuptools
python-wheel
)
-checkdepends=(python-nose)
+checkdepends=(python-pytest)
source=("git+https://github.com/Yubico/python-yubico.git/?signed#tag=python-yubico-${pkgver}"
"0001-Mark-raw-strings-to-fix-invalid-escape-sequences.patch")
-b2sums=('c407dc65d5d19cda73f49d4e1944ed96e7fae6861bfdb14b7e48c1e432e015b5370300a698b18948e3cce031852f3bd1c105f23ed4984c2ad7fd3e9ab26eb14b'
+b2sums=('e75c67cd8024ba1769011c4c41d918559ea9edf617f80681c12e75389085de1b94abd8581303d5aed64fb360ec17f9afd7ab8f9e709d5e8e56ab45ee0d2be968'
'917137e198daf4aceda9cf60df19d0f00c494f8fe390898f0a9e9ba34c1268dd473f0c64b5ab6d76e4df8f6d33693b9ec0570e8b5118a3f388730c5dc4f35c85')
validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson
<[email protected]>
@@ -44,10 +44,7 @@ check() {
cd "$pkgname"
# Exclude tests that require a connected yubikey.
- nosetests3 \
- -e test_challenge_response \
- -e test_serial \
- -e test_status
+ pytest --ignore="test/usb/test_yubikey_usb_hid.py"
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-yubico/-/commit/404e163202b14dce2cd254cceec133445d228c17
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-yubico/-/commit/404e163202b14dce2cd254cceec133445d228c17
You're receiving this email because of your account on gitlab.archlinux.org.