mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 01:05:15 +03:00
33 lines
1 KiB
Text
33 lines
1 KiB
Text
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=py3-django-timezone-field
|
|
_pkgname=django-timezone-field
|
|
pkgver=3.1
|
|
pkgrel=1
|
|
pkgdesc="A Django app providing database and form fields for pytz timezone objects"
|
|
options="!check" # Testsuite is only coverage and flake8 tests
|
|
url="https://pypi.python.org/pypi/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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="eb63c9010c4a8e88466a47f695f75a38d38bd64670c4c9cc7622c46c723855d5752313bad0157230bfa98ec642bbc60095348ae5be6d883d67b43ed79973e93b py3-django-timezone-field-3.1.tar.gz"
|