[arch-commits] Commit in python-parsedatetime/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 20:01:28 UTC 2019
Date: Friday, October 25, 2019 @ 20:01:27
Author: felixonmars
Revision: 519683
archrelease: copy trunk to community-staging-any
Added:
python-parsedatetime/repos/community-staging-any/
python-parsedatetime/repos/community-staging-any/PKGBUILD
(from rev 519681, python-parsedatetime/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-parsedatetime/repos/community-staging-any/PKGBUILD (from rev 519681, python-parsedatetime/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 20:01:27 UTC (rev 519683)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Daniel M. Capella <polycitizen at gmail.com>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Jeremy Sands <cto at jeremysands.com>
+
+pkgname=python-parsedatetime
+pkgver=2.4
+pkgrel=4
+pkgdesc="Parse human-readable date/time strings."
+arch=('any')
+license=('Apache')
+url='https://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
+}
More information about the arch-commits
mailing list