[arch-commits] Commit in python-parsedatetime/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:49:19 UTC 2020


    Date: Monday, November 9, 2020 @ 16:49:19
  Author: foutrelis
Revision: 747568

archrelease: copy trunk to community-staging-any

Added:
  python-parsedatetime/repos/community-staging-any/
  python-parsedatetime/repos/community-staging-any/PKGBUILD
    (from rev 747566, python-parsedatetime/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-parsedatetime/repos/community-staging-any/PKGBUILD (from rev 747566, python-parsedatetime/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:49:19 UTC (rev 747568)
@@ -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.6
+pkgrel=2
+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=('ed7649feb8773fdb33d609ef0abe4d20f555744bd70e9766aba6b9a79d8415c7e2efea1d7ef5c6b5906f3bc90bff124ef92992ce17d83fe70575da2db918e543')
+
+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