mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
python-tzlocal: update to 1.4
Switched to MIT license.
This commit is contained in:
parent
9321d185d2
commit
e2d2cddc25
2 changed files with 11 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-tzlocal'
|
# Template file for 'python-tzlocal'
|
||||||
pkgname=python-tzlocal
|
pkgname=python-tzlocal
|
||||||
version=1.3
|
version=1.4
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="tzlocal-${version}"
|
wrksrc="tzlocal-${version}"
|
||||||
|
@ -8,12 +8,16 @@ build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-pytz"
|
depends="python-pytz"
|
||||||
pycompile_module="tzlocal"
|
pycompile_module="tzlocal"
|
||||||
short_desc="Return the tzinfo object for the local timezone in 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="CC0-1.0"
|
license="MIT"
|
||||||
homepage="https://pypi.python.org/pypi/tzlocal"
|
homepage="https://github.com/regebro/tzlocal"
|
||||||
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
|
||||||
checksum=d160c2ce4f8b1831dabfe766bd844cf9012f766539cf84139c2faac5201882ce
|
checksum=05a2908f7fb1ba8843f03b2360d6ad314dbf2bce4644feb702ccd38527e13059
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-tzlocal_package() {
|
python3-tzlocal_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
@ -23,6 +27,7 @@ python3-tzlocal_package() {
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
python3.4-tzlocal_package() {
|
python3.4-tzlocal_package() {
|
||||||
|
|
1
srcpkgs/python-tzlocal/update
Normal file
1
srcpkgs/python-tzlocal/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ignore="*b*"
|
Loading…
Add table
Reference in a new issue