mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python-tzlocal: update to 2.1.
This commit is contained in:
parent
a20e2ef0b7
commit
ae4e9c6a0e
1 changed files with 4 additions and 5 deletions
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'python-tzlocal'
|
# Template file for 'python-tzlocal'
|
||||||
pkgname=python-tzlocal
|
pkgname=python-tzlocal
|
||||||
version=1.5.1
|
version=2.1
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="tzlocal-${version}"
|
wrksrc="tzlocal-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-pytz"
|
depends="python-pytz"
|
||||||
pycompile_module="tzlocal"
|
|
||||||
short_desc="Return the tzinfo object for the local timezone (Python2)"
|
short_desc="Return the tzinfo object for the local timezone (Python2)"
|
||||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/regebro/tzlocal"
|
homepage="https://github.com/regebro/tzlocal"
|
||||||
|
changelog="https://raw.githubusercontent.com/regebro/tzlocal/master/CHANGES.txt"
|
||||||
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
|
||||||
checksum=4ebeb848845ac898da6519b9b31879cf13b6626f7184c496037b818e238f2c4e
|
checksum=643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
|
@ -22,7 +22,6 @@ post_install() {
|
||||||
python3-tzlocal_package() {
|
python3-tzlocal_package() {
|
||||||
archs=noarch
|
archs=noarch
|
||||||
depends="python3-pytz"
|
depends="python3-pytz"
|
||||||
pycompile_module="tzlocal"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Reference in a new issue