34 lines
963 B
Bash
34 lines
963 B
Bash
# Template file for 'python-isodate'
|
|
pkgname=python-isodate
|
|
version=0.5.4
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="isodate-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="isodate"
|
|
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://pypi.python.org/pypi/isodate/"
|
|
license="BSD"
|
|
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
|
checksum=42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31
|
|
|
|
python3-isodate_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="isodate"
|
|
replaces="python3.4-isodate>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-isodate_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-isodate>=${version}_${revision}"
|
|
}
|