[arch-commits] Commit in python-parsedatetime/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 27 11:26:47 UTC 2019


    Date: Wednesday, March 27, 2019 @ 11:26:46
  Author: felixonmars
Revision: 444195

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-27 11:26:39 UTC (rev 444194)
+++ PKGBUILD	2019-03-27 11:26:46 UTC (rev 444195)
@@ -1,54 +0,0 @@
-# $Id$
-# 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>
-
-pkgbase=python-parsedatetime
-pkgname=('python-parsedatetime' 'python2-parsedatetime')
-pkgver=2.4
-pkgrel=2
-pkgdesc="Parse human-readable date/time strings."
-arch=('any')
-license=('Apache')
-url='http://github.com/bear/parsedatetime'
-makedepends=('python-future' 'python2-future' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/bear/parsedatetime/archive/v$pkgver.tar.gz")
-sha512sums=('0fd8bfa3411476a20d8874b44036bc162735fb7865d39ca98b0a608daec39daac47100314279dbf66229ec333821492744f7505315d955f58216fdaa75cbf046')
-
-prepare() {
-  cp -a parsedatetime-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/parsedatetime-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/parsedatetime-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/parsedatetime-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/parsedatetime-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-parsedatetime() {
-  depends=('python-future')
-
-  cd parsedatetime-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-parsedatetime() {
-  depends=('python2-future')
-
-  cd parsedatetime-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-parsedatetime/repos/community-any/PKGBUILD (from rev 444194, python-parsedatetime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-27 11:26:46 UTC (rev 444195)
@@ -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=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
+}


More information about the arch-commits mailing list