mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 19:11:55 +01:00
33 lines
927 B
Plaintext
33 lines
927 B
Plaintext
# Contributor:
|
|
# Maintainer:
|
|
pkgname=py3-diskcache
|
|
pkgver=5.1.0
|
|
pkgrel=0
|
|
pkgdesc="disk caching implementation"
|
|
options="!check" # test_incr_update_keyerror fails
|
|
url="http://www.grantjenks.com/docs/diskcache/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pytest-xdist py3-mock py3-django"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/grantjenks/python-diskcache/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir"/python-diskcache-$pkgver
|
|
|
|
replaces="py-diskcache" # Backwards compatibility
|
|
provides="py-diskcache=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="33437899221051ef3dafd0eeddfec72bef00d5a6b189046cb919495b322b534445a39e5d23a1c85484867d9d07efb7de36fe5f2d3dad79357086a3dcfa3c8b0c py3-diskcache-5.1.0.tar.gz"
|