blob: 945b5ed8ac548ac23c3e4d3338983e90200faace (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-parsedatetime
_pkgname=parsedatetime
pkgver=2.4
pkgrel=0
pkgdesc="Parse human-readable date/time strings"
url="https://github.com/bear/parsedatetime"
arch="noarch"
options="!check" # flake8, mccabe
license="Apache"
depends="python3 py3-future"
makedepends="python3-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/bear/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="0fd8bfa3411476a20d8874b44036bc162735fb7865d39ca98b0a608daec39daac47100314279dbf66229ec333821492744f7505315d955f58216fdaa75cbf046 parsedatetime-2.4.tar.gz"
|