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