33 lines
988 B
Plaintext
33 lines
988 B
Plaintext
|
# Template file for 'python-dateutil'
|
||
|
pkgname=python-dateutil
|
||
|
version=2.2
|
||
|
revision=1
|
||
|
noarch=yes
|
||
|
build_style="python-module"
|
||
|
python_versions="2.7 3.4"
|
||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||
|
makedepends="python-devel python3.4-devel python-six python3.4-six"
|
||
|
depends="python python-six tzdata"
|
||
|
pycompile_module="dateutil"
|
||
|
short_desc="Extensions to the standard Python2 datetime module"
|
||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||
|
homepage="http://labix.org/python-dateutil/"
|
||
|
license="BSD"
|
||
|
distfiles="https://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
||
|
checksum=eec865307ebe7f329a6a9945c15453265a449cdaaf3710340828a1934d53e468
|
||
|
|
||
|
pre_build() {
|
||
|
sed -i -e '/package_data/d;/include_package_data/d' setup.py
|
||
|
}
|
||
|
|
||
|
python3.4-dateutil_package() {
|
||
|
noarch=yes
|
||
|
depends="python3.4 python3.4-six tzdata"
|
||
|
pycompile_version="3.4"
|
||
|
pycompile_module="dateutil"
|
||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/python3.4
|
||
|
}
|
||
|
}
|