void-packages/srcpkgs/python-isodate/template

30 lines
869 B
Text
Raw Normal View History

2012-09-26 01:43:35 +00:00
# Template file for 'python-isodate'
pkgname=python-isodate
version=0.5.0
revision=1
noarch=yes
2012-09-26 01:43:35 +00:00
wrksrc="isodate-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
pycompile_module="isodate"
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
2012-09-26 01:43:35 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://pypi.python.org/pypi/isodate/"
2012-09-26 01:43:35 +00:00
license="BSD"
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
}
}