mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/py3-hid-parser: upgrade to 0.1.0
This commit is contained in:
parent
3d3ff269b7
commit
7628176187
@ -1,14 +1,14 @@
|
||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=py3-hid-parser
|
||||
pkgver=0.0.3
|
||||
pkgrel=3
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="Typed pure Python library to parse HID report descriptors"
|
||||
url="https://github.com/usb-tools/python-hid-parser"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-gpep517 py3-flit-core"
|
||||
checkdepends="
|
||||
py3-hypothesis
|
||||
py3-pytest
|
||||
@ -18,19 +18,20 @@ source="https://github.com/usb-tools/python-hid-parser/archive/$pkgver/py3-hid-p
|
||||
builddir="$srcdir/python-hid-parser-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$PWD/build/lib" python -m pytest \
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
|
||||
.testenv/bin/python3 -m pytest \
|
||||
-k 'not test_variableitem_compliance and not test_arrayitem_compliance'
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
5a4aa88b93f5fc56d0038842dbbc310c41ce4ac1785eb0ecd3a1b48c8d05015fe3c39700b2fccc316778ad11e985093916df739720d90b04be379a14177535d5 py3-hid-parser-0.0.3.tar.gz
|
||||
2dc5109f1f3549b1a855d8e0315517e03f39273bd9669bcbe506b5027754a45447a8a30da9f8f369903745f0777f446e8e63d367c1e1b6d3ef0a8335f524d62d py3-hid-parser-0.1.0.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user