diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-06-09 17:20:20 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-06-09 17:20:20 (GMT) |
commit | ee21d5d1dfd95c04739dbaa97f9ac7961725d913 (patch) | |
tree | dee9242026d1d97cdabe43d7a29c8424b9be81aa /abs/core/python_modules/python-parsedatetime | |
parent | 5fd4aff1d2cfc9f496af54f0fdde2c0099010022 (diff) | |
download | linhes_pkgbuild-ee21d5d1dfd95c04739dbaa97f9ac7961725d913.zip linhes_pkgbuild-ee21d5d1dfd95c04739dbaa97f9ac7961725d913.tar.gz linhes_pkgbuild-ee21d5d1dfd95c04739dbaa97f9ac7961725d913.tar.bz2 |
python-parsedatetime: initial inclusion, dep of certbot
Diffstat (limited to 'abs/core/python_modules/python-parsedatetime')
-rw-r--r-- | abs/core/python_modules/python-parsedatetime/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <felixonmars@archlinux.org> +# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io> +# Contributor: Daniel M. Capella <polycitizen@gmail.com> +# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io> +# Contributor: Limao Luo <luolimao+AUR@gmail.com> +# Contributor: Jeremy Sands <cto@jeremysands.com> + +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 +} |