2023-01-10 19:12:28 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-11-30 21:44:44 +00:00
|
|
|
|
2023-01-10 19:12:28 +00:00
|
|
|
_pyname="dateparser"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgname="py3-$_pyname"
|
2023-04-01 13:15:14 +00:00
|
|
|
pkgver=1.1.8
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgdesc="Python parser for human readable dates"
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="BSD-3-Clause"
|
2021-11-30 21:44:44 +00:00
|
|
|
depends='python3 py3-dateutil py3-regex py3-tz py3-ruamel-yaml'
|
2023-01-10 19:12:28 +00:00
|
|
|
makedepends="py3-setuptools"
|
|
|
|
options="!check" # No testsuite
|
2023-04-01 13:15:14 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
2021-11-30 21:44:44 +00:00
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2023-01-10 19:12:28 +00:00
|
|
|
python3 setup.py build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-10 19:12:28 +00:00
|
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
sha512sums="
|
2023-04-01 13:15:14 +00:00
|
|
|
45fc6ee67be77ae9ece818b25e680a9416c30bbe8d71746a2b08910b57406d65e6b9f0c51ada1697034ea1f3f9a0952c2f0616c9fa1be4c7886e459e1cc2d898 py3-dateparser-1.1.8.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|