psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

31 lines
753 B
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyache
pkgver=0.2.0
pkgrel=3
pkgdesc="Python numpy caching library"
url="https://github.com/MycroftAI/pyache"
arch="noarch"
license="Apache-2.0"
depends="
py3-numpy
python3
"
makedepends="
py3-numpy-dev
py3-setuptools
"
source="https://pypi.python.org/packages/source/p/pyache/pyache-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/pyache-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="482eb26bed16fa54a72acf29d4ac2789848675e51a254ad724ef0708d100cb21c921174587ed101ed50f01d38d47cbbf76961c480765a7e726ab44a566e7bd95 pyache-0.2.0.tar.gz"