31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
_pyname="dateparser"
|
|
pkgname="py3-$_pyname"
|
|
pkgver=1.1.1
|
|
pkgrel=0
|
|
arch="noarch"
|
|
pkgdesc="Python parser for human readable dates"
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
license="BSD-3-Clause"
|
|
depends='python3 py3-dateutil py3-regex py3-tz py3-ruamel-yaml'
|
|
makedepends="py3-setuptools"
|
|
options="!check" # No testsuite
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz
|
|
0001-fix-for-parsing-error-due-to-regex-version.patch
|
|
"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
|
}
|
|
sha512sums="
|
|
2ef25877616ce6e0aaa4ede53b4c27e848a63e5237b6e4095071b1a4eb5e0162e25f0be6a96697a11628753b798c9dfeff5d098889bf409678f51a3f4446d944 py3-dateparser-1.1.1.tar.gz
|
|
9f6234c729c6464ee4020288b0695d13dbc2c78d531711d3b36901164c104183f2a293649c4f1312122c7fa29e653720c533b3dabb55a517153f399b00cee8f5 0001-fix-for-parsing-error-due-to-regex-version.patch
|
|
"
|