1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/py3-django-timezone-field/APKBUILD
2023-03-01 23:37:51 +00:00

35 lines
1 KiB
Text

# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-timezone-field
_pkgname=django-timezone-field
pkgver=4.2.1
pkgrel=3
pkgdesc="Django app providing database and form fields for pytz timezone objects"
options="!check" # Testsuite is only coverage and flake8 tests
url="https://pypi.org/project/django-timezone-field"
arch="noarch"
license="BSD-2-Clause"
depends="py3-django py3-tz"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/mfogel/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-django-timezone-field" # Backwards compatibility
provides="py-django-timezone-field=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 tests.py
}
package() {
python3 setup.py --quiet install --skip-build --root="$pkgdir"
}
sha512sums="
4c2da420c3aaffa23d8cdb66dbbe4b2ea8638de5a45d9e381bf9af980e52eba77fc03a2b8fee8497662199cdc9436d56543c0f6316e74ae5da68187a305c34a2 py3-django-timezone-field-4.2.1.tar.gz
"