aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tzlocal/APKBUILD
blob: 574f55106e428c3465629b4e589c74b0725327e3 (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
# Maintainer:
pkgname=py3-tzlocal
_pkgname=tzlocal
pkgver=1.5.1
pkgrel=0
pkgdesc="Python tzinfo object for the local timezone"
url="https://github.com/regebro/tzlocal"
arch="noarch"
license="MIT"
provides="py-tzlocal" # for backwards compatibility
provides="py-tzlocal=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3 py3-tz"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="9141e3941435fa16afe040f49b8225cdc3434e10003275fe5df9166cb9562764a51c83bc16b6d5be197feb45c913859a37393e13285f0e612510ce076a6451d9  tzlocal-1.5.1.tar.gz"