24 lines
640 B
Bash
24 lines
640 B
Bash
# Template file for 'python3-pytzdata'
|
|
pkgname=python3-pytzdata
|
|
version=2020.1
|
|
revision=2
|
|
wrksrc="pytzdata-${version}"
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-poetry-core"
|
|
depends="python3 tzdata"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Olson timezone database for Python"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="MIT"
|
|
homepage="https://github.com/sdispater/pytzdata"
|
|
distfiles="https://github.com/sdispater/pytzdata/archive/refs/tags/${version}.tar.gz"
|
|
checksum=ffec92eb79bb2155862c9c3b80efb12a052182c197098501ec986d5ea1d178df
|
|
|
|
post_patch() {
|
|
rm -rf pytzdata/zoneinfo
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|