mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-discid: upgrade to 1.3.0
This commit is contained in:
parent
14e89577c4
commit
51cdbd9c19
@ -2,8 +2,8 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
pkgname=py3-discid
|
||||
_pyname=discid
|
||||
pkgver=1.2.0
|
||||
pkgrel=6
|
||||
pkgver=1.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="python bindings for libdiscid"
|
||||
url="https://python-discid.readthedocs.io/en/latest/"
|
||||
arch="noarch"
|
||||
@ -23,17 +23,14 @@ build() {
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
||||
# discid.disc.DiscError: cannot open device `/dev/cdrom'
|
||||
.testenv/bin/python3 -m pytest \
|
||||
--deselect test_discid.py::TestDisc
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
python3 -m installer -d "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
d004b7e4b5416310c8fb21bb9e686b5e5f5651366fb78785e299dcd17aaa99e7c2e115cc1c5175d8fbf853d3f7b8813555be32bf387d7ce82271b5e57bdff0dd discid-1.2.0.tar.gz
|
||||
e6ffbb91a22d4749d0cacb46d6cfddba984b2aa27abbfa3720f06d3234f9aeec6d99342bcd339af8f874699ca28de2780bba4f4a5b03a688e59aeee80e1237d9 discid-1.3.0.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user