void-packages/srcpkgs/python-dateutil/template

22 lines
629 B
Bash

# Template file for 'python-dateutil'
pkgname=python-dateutil
version=2.8.2
revision=2
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python-six tzdata"
short_desc="Extensions to the standard Python2 datetime module"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0, BSD-3-Clause"
homepage="https://github.com/dateutil/dateutil"
distfiles="${PYPI_SITE}/p/python-dateutil/python-dateutil-${version}.tar.gz"
checksum=0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86
post_patch() {
vsed -i setup.py -e "s/%PKGVERSION%/'${version}'/"
}
post_install() {
vlicense LICENSE
}