mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
949 B
Text
33 lines
949 B
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
pkgname=py3-parsedatetime
|
|
pkgver=2.6
|
|
pkgrel=4
|
|
pkgdesc="Parse human-readable date/time strings"
|
|
url="https://github.com/bear/parsedatetime"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="py3-future"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/bear/parsedatetime/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/parsedatetime-$pkgver"
|
|
|
|
replaces=py-parsedatetime # Backwards compatibility
|
|
provides=py-parsedatetime=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ed7649feb8773fdb33d609ef0abe4d20f555744bd70e9766aba6b9a79d8415c7e2efea1d7ef5c6b5906f3bc90bff124ef92992ce17d83fe70575da2db918e543 py3-parsedatetime-2.6.tar.gz
|
|
"
|