1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-cached-property/APKBUILD
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

26 lines
737 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-cached-property
pkgver=1.5.2
pkgrel=3
pkgdesc="Decorator for caching properties in classes"
url="https://github.com/pydanny/cached-property"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
source="https://pypi.io/packages/source/c/cached-property/cached-property-$pkgver.tar.gz"
builddir="$srcdir/cached-property-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="626d98a8891a70d858269859cf4e49416464c836d073c1331c21033a4cd9e0e47dc89b53bf393375439992f4993972517dc3cdcbb2cc6f8286f282d3c973e600 cached-property-1.5.2.tar.gz"