From cef7d77290e54cf32ebcf01621a3daf97d4db8d1 Mon Sep 17 00:00:00 2001 From: psykose Date: Wed, 6 Apr 2022 14:28:46 +0000 Subject: [PATCH] testing/py3-lzo: install with py3-installer --- testing/py3-lzo/APKBUILD | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/testing/py3-lzo/APKBUILD b/testing/py3-lzo/APKBUILD index 942f158e53f..417d7715a9c 100644 --- a/testing/py3-lzo/APKBUILD +++ b/testing/py3-lzo/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Patrycja Rosa 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="