22 lines
672 B
Bash
22 lines
672 B
Bash
# Template file for 'python3-pytz'
|
|
pkgname=python3-pytz
|
|
version=2023.3.post1
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 tzdata"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python3 timezone library"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="MIT"
|
|
homepage="https://pythonhosted.org/pytz/"
|
|
distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.gz"
|
|
checksum=7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b
|
|
|
|
post_install() {
|
|
# use system tz database
|
|
rm -rf ${DESTDIR}/${py3_sitelib}/pytz/zoneinfo
|
|
ln -sf /usr/share/zoneinfo ${DESTDIR}/${py3_sitelib}/pytz/zoneinfo
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|