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=4.1.0
|
|
pkgrel=1
|
|
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="3871e56fa9a50942e29e200df74d7f4312d21a0f51d6be2041ce71efd3c1d0c204cc1df5ac1f92825314c742bb48bf8b0a3929cee225055903953e095701c8e3 py3-diskcache-4.1.0.tar.gz"
|