mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/py3-lzo: install with py3-installer
This commit is contained in:
parent
e4849dc2df
commit
cef7d77290
@ -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="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user