blob: c0b03a880867c45ecefee6d4b5b638d147449806 (
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
|
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-tzlocal
_pkgname=tzlocal
pkgver=2.0.0
pkgrel=1
pkgdesc="Python tzinfo object for the local timezone"
url="https://github.com/regebro/tzlocal"
arch="noarch"
license="MIT"
replaces="py-tzlocal" # for backwards compatibility
provides="py-tzlocal=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3 py3-tz"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # the package requires a configured timezone
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b72487f791df1dda7370ef5de58e524a451bf87a2ad5ce9d365591fb45af1e080499956d9b19410aeacdf3013ce09c84cd3ec243e15d3bbbee4cec32685298d9 tzlocal-2.0.0.tar.gz"
|