python-isodate: update to 0.5.0
Switch to setuptools. Add python3.4 subpkg with pycompile support.
This commit is contained in:
parent
32a5c5667c
commit
14776952c3
|
@ -1,17 +1,29 @@
|
|||
# Template file for 'python-isodate'
|
||||
pkgname=python-isodate
|
||||
version=0.4.8
|
||||
revision=2
|
||||
version=0.5.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="isodate-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-devel"
|
||||
makedepends="python-devel"
|
||||
noarch="yes"
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
depends="python"
|
||||
pycompile_module="isodate"
|
||||
depends="python>=2.7<3.0"
|
||||
short_desc="An ISO 8601 date/time/duration parser and formater"
|
||||
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="https://pypi.python.org/pypi/isodate/"
|
||||
license="BSD"
|
||||
homepage="http://pypi.python.org/pypi/isodate"
|
||||
distfiles="http://pypi.python.org/packages/source/i/isodate/isodate-${version}.tar.gz"
|
||||
checksum=45b84949e4d1ef4c9e55e4516bf7c33707e8007b80bf62fc887d3c7320ab400b
|
||||
distfiles="https://pypi.python.org/packages/source/i/isodate/isodate-${version}.tar.gz"
|
||||
checksum=f3e436a9c321882942a6c62e9d8ea49787b4c0ea7f7bb3cbd047bcf76bd0dfbe
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-isodate
|
Loading…
Reference in New Issue