blob: 7d0210ad1636293e413d2c16543f4c6a5e692472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-timezone-field
_pkgname=django-timezone-field
pkgver=3.0
pkgrel=2
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="00e2df498674c151d53581e0dd8bb5e775d595113a12bfba127d558de1f1b31003fffaa070645a9601266bd2bfe59511e493d0dbcf30e624411a9ff7867d9341 py3-django-timezone-field-3.0.tar.gz"
|