testing/py3-lzo: install with py3-installer

This commit is contained in:
psykose 2022-04-06 14:28:46 +00:00
parent e4849dc2df
commit cef7d77290
No known key found for this signature in database

View File

@ -2,7 +2,7 @@
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-lzo
pkgver=1.14
pkgrel=0
pkgrel=1
pkgdesc="Python bindings for the LZO data compression library"
url="https://github.com/jd-boyd/python-lzo"
arch="all"
@ -11,7 +11,7 @@ depends="python3"
makedepends="
lzo-dev
py3-build
py3-pip
py3-installer
py3-setuptools
py3-wheel
python3-dev
@ -25,14 +25,11 @@ build() {
}
check() {
python3 -m venv --system-site-packages test-env
test-env/bin/python3 -m pip install --no-deps dist/python_lzo-$pkgver-*.whl
test-env/bin/python3 -m nose
python3 -m nose
}
package() {
python3 -m pip install --no-deps --root "$pkgdir" --no-warn-script-location \
dist/python_lzo-$pkgver-*.whl
python3 -m installer -d "$pkgdir" dist/python_lzo-$pkgver-*.whl
}
sha512sums="