# Template file for 'python-dateutil' pkgname=python-dateutil version=2.7.3 revision=1 noarch=yes build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python-six tzdata" pycompile_module="dateutil" short_desc="Extensions to the standard Python2 datetime module" maintainer="Alessio Sergi " homepage="https://github.com/dateutil/dateutil" license="Apache-2.0, BSD-3-Clause" distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" checksum=e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8 pre_build() { # don't install zoneinfo tarball sed -i '/package_data=/d' setup.py } post_install() { vlicense LICENSE } python3-dateutil_package() { noarch=yes depends="python3-six tzdata" pycompile_module="dateutil" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }