python-isodate: update to 0.5.0

Switch to setuptools.
Add python3.4 subpkg with pycompile support.
This commit is contained in:
Alessio Sergi 2014-07-01 13:10:07 +02:00
parent 32a5c5667c
commit 14776952c3
2 changed files with 23 additions and 10 deletions

View File

@ -1,17 +1,29 @@
# Template file for 'python-isodate' # Template file for 'python-isodate'
pkgname=python-isodate pkgname=python-isodate
version=0.4.8 version=0.5.0
revision=2 revision=1
noarch=yes
wrksrc="isodate-${version}" wrksrc="isodate-${version}"
build_style=python-module build_style=python-module
hostmakedepends="python-devel" python_versions="2.7 3.4"
makedepends="python-devel" hostmakedepends="python-setuptools python3.4-setuptools"
noarch="yes" makedepends="python-devel python3.4-devel"
depends="python"
pycompile_module="isodate" pycompile_module="isodate"
depends="python>=2.7<3.0" short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
short_desc="An ISO 8601 date/time/duration parser and formater"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://pypi.python.org/pypi/isodate/"
license="BSD" license="BSD"
homepage="http://pypi.python.org/pypi/isodate" distfiles="https://pypi.python.org/packages/source/i/isodate/isodate-${version}.tar.gz"
distfiles="http://pypi.python.org/packages/source/i/isodate/isodate-${version}.tar.gz" checksum=f3e436a9c321882942a6c62e9d8ea49787b4c0ea7f7bb3cbd047bcf76bd0dfbe
checksum=45b84949e4d1ef4c9e55e4516bf7c33707e8007b80bf62fc887d3c7320ab400b
python3.4-isodate_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="isodate"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-isodate Symbolic link
View File

@ -0,0 +1 @@
python-isodate