python-tzlocal: update to 1.4
Switched to MIT license.
This commit is contained in:
parent
9321d185d2
commit
e2d2cddc25
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-tzlocal'
|
||||
pkgname=python-tzlocal
|
||||
version=1.3
|
||||
version=1.4
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="tzlocal-${version}"
|
||||
|
@ -8,12 +8,16 @@ build_style=python-module
|
|||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-pytz"
|
||||
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>"
|
||||
license="CC0-1.0"
|
||||
homepage="https://pypi.python.org/pypi/tzlocal"
|
||||
license="MIT"
|
||||
homepage="https://github.com/regebro/tzlocal"
|
||||
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
|
||||
checksum=d160c2ce4f8b1831dabfe766bd844cf9012f766539cf84139c2faac5201882ce
|
||||
checksum=05a2908f7fb1ba8843f03b2360d6ad314dbf2bce4644feb702ccd38527e13059
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
|
||||
python3-tzlocal_package() {
|
||||
noarch=yes
|
||||
|
@ -23,6 +27,7 @@ python3-tzlocal_package() {
|
|||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
}
|
||||
python3.4-tzlocal_package() {
|
||||
|
|
1
srcpkgs/python-tzlocal/update
Normal file
1
srcpkgs/python-tzlocal/update
Normal file
|
@ -0,0 +1 @@
|
|||
ignore="*b*"
|
Loading…
Reference in New Issue
Block a user