diff --git a/testing/py3-euclid3/APKBUILD b/testing/py3-euclid3/APKBUILD index 30168107e9f..f21255b6990 100644 --- a/testing/py3-euclid3/APKBUILD +++ b/testing/py3-euclid3/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Iztok Fister, Jr. pkgname=py3-euclid3 pkgver=0.01 -pkgrel=7 +pkgrel=8 pkgdesc="Vector, matrix, quaternion and some geometry in 2D and 3D for Python 3" url="https://github.com/euclid3/euclid3" arch="noarch" @@ -10,6 +10,7 @@ license="LGPL-2.1-or-later" depends="python3" makedepends=" py3-setuptools + py3-gpep517 " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/e/euclid3/euclid3-$pkgver.tar.gz" @@ -17,15 +18,14 @@ builddir="$srcdir/euclid3-$pkgver" options="!check" # no tests build() { - python3 setup.py build -} - -check() { - python3 test_euclid.py + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - python3 setup.py install --skip-build --root="$pkgdir" + gpep517 install-wheel --destdir "$pkgdir" \ + .dist/*.whl } sha512sums="