26 lines
1006 B
Bash
26 lines
1006 B
Bash
# Template file for 'python3-dateparser'
|
|
pkgname=python3-dateparser
|
|
version=1.1.8
|
|
revision=1
|
|
build_style=python3-module
|
|
make_check_args="--ignore tests/test_hijri.py --ignore tests/test_jalali.py
|
|
--ignore tests/test_language_detect.py --ignore tests/test_dateparser_data_integrity.py"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-dateutil python3-pytz python3-regex python3-tzlocal"
|
|
checkdepends="${depends} python3-parameterized python3-pytest-xdist"
|
|
short_desc="Python parser for human readable dates"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/scrapinghub/dateparser"
|
|
changelog="https://raw.githubusercontent.com/scrapinghub/dateparser/master/HISTORY.rst"
|
|
distfiles="${PYPI_SITE}/d/dateparser/dateparser-${version}.tar.gz"
|
|
checksum=86b8b7517efcc558f085a142cdb7620f0921543fcabdb538c8a4c4001d8178e3
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
make_check=no # multiple tests fail without libc locales
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|