From ee21d5d1dfd95c04739dbaa97f9ac7961725d913 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 9 Jun 2019 17:20:20 +0000 Subject: python-parsedatetime: initial inclusion, dep of certbot --- .../python_modules/python-parsedatetime/PKGBUILD | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 abs/core/python_modules/python-parsedatetime/PKGBUILD diff --git a/abs/core/python_modules/python-parsedatetime/PKGBUILD b/abs/core/python_modules/python-parsedatetime/PKGBUILD new file mode 100644 index 0000000..d504708 --- /dev/null +++ b/abs/core/python_modules/python-parsedatetime/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan +# Contributor: Hugo Osvaldo Barrera +# Contributor: Daniel M. Capella +# Contributor: Hugo Osvaldo Barrera +# Contributor: Limao Luo +# Contributor: Jeremy Sands + +pkgname=python-parsedatetime +pkgver=2.4 +pkgrel=3 +pkgdesc="Parse human-readable date/time strings." +arch=('any') +license=('Apache') +url='http://github.com/bear/parsedatetime' +depends=('python-future') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/bear/parsedatetime/archive/v$pkgver.tar.gz") +sha512sums=('0fd8bfa3411476a20d8874b44036bc162735fb7865d39ca98b0a608daec39daac47100314279dbf66229ec333821492744f7505315d955f58216fdaa75cbf046') + +build() { + cd parsedatetime-$pkgver + python setup.py build +} + +check() { + cd parsedatetime-$pkgver + python setup.py pytest +} + +package() { + cd parsedatetime-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v0.12