mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-07 20:02:11 +01:00
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=py3-django-cache-url
|
|
pkgver=3.4.5
|
|
pkgrel=1
|
|
pkgdesc="Use Cache URLs in your Django Application"
|
|
url="https://pypi.org/project/django-cache-url/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-django"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest-cov"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/epicserve/django-cache-url/archive/v$pkgver/py3-django-cache-url-$pkgver.tar.gz"
|
|
builddir="$srcdir/django-cache-url-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
532f47f6c8d8150d3ec484e533b165430ee6fd9854ed1b0404b68f8acaf388bfa2fb9beba8349d56e1e9d00dd65065425fdbeeed5eb698d9a745f8293f8d93ee py3-django-cache-url-3.4.5.tar.gz
|
|
"
|