python-isodate: update to 0.6.0
This commit is contained in:
parent
74c4a00211
commit
56aee40b77
@ -1,28 +1,34 @@
|
|||||||
# Template file for 'python-isodate'
|
# Template file for 'python-isodate'
|
||||||
pkgname=python-isodate
|
pkgname=python-isodate
|
||||||
version=0.5.4
|
version=0.6.0
|
||||||
revision=3
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="isodate-${version}"
|
wrksrc="isodate-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
|
||||||
pycompile_module="isodate"
|
pycompile_module="isodate"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python-six"
|
||||||
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://pypi.python.org/pypi/isodate/"
|
homepage="https://github.com/gweis/isodate"
|
||||||
license="BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
||||||
checksum=42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31
|
checksum=2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
sed -n '/Copyright/,/CONTRACT/p' src/isodate/__init__.py >LICENSE
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-isodate_package() {
|
python3-isodate_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3"
|
depends="python3-six"
|
||||||
pycompile_module="isodate"
|
pycompile_module="isodate"
|
||||||
replaces="python3.4-isodate>=0"
|
replaces="python3.4-isodate>=0"
|
||||||
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
python3.4-isodate_package() {
|
python3.4-isodate_package() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user