Skip to content
Snippets Groups Projects
Commit 95f5a70c authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

testing/py3-euclid3: build with gpep517

parent 2771d22f
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
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="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment