initial import
This commit is contained in:
24
python-parsedatetime/PKGBUILD
Normal file
24
python-parsedatetime/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-parsedatetime
|
||||
pkgver=2.6
|
||||
pkgrel=2
|
||||
pkgdesc="Parse human-readable date/time strings"
|
||||
arch=('any')
|
||||
url='https://github.com/bear/parsedatetime'
|
||||
license=('Apache-2.0')
|
||||
depends=('python-future')
|
||||
makedepends=('python-setuptools')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/bear/parsedatetime/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('ed7649feb8773fdb33d609ef0abe4d20f555744bd70e9766aba6b9a79d8415c7e2efea1d7ef5c6b5906f3bc90bff124ef92992ce17d83fe70575da2db918e543')
|
||||
|
||||
build() {
|
||||
cd parsedatetime-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd parsedatetime-$pkgver
|
||||
python setup.py install --prefix=/usr --root="${pkgdir}"
|
||||
install -Dm644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user