mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
843 B
Text
32 lines
843 B
Text
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-euclid3
|
|
pkgver=0.01
|
|
pkgrel=5
|
|
pkgdesc="Vector, matrix, quaternion and some geometry in 2D and 3D for Python 3"
|
|
url="https://github.com/euclid3/euclid3"
|
|
arch="noarch"
|
|
license="LGPL-2.1-or-later"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-setuptools
|
|
"
|
|
source="https://files.pythonhosted.org/packages/source/e/euclid3/euclid3-$pkgver.tar.gz"
|
|
builddir="$srcdir/euclid3-$pkgver"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 test_euclid.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c4e5e2770ab4ede08904fc3b76e50d6812944ed226c9db52f2da8d100370e20ea6031ca554ae44d72d53e96727d163bd3cc8da7bf175539de10749da77877b0b euclid3-0.01.tar.gz
|
|
"
|