[arch-commits] Commit in python-parsedatetime/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jan 26 08:22:19 UTC 2017


    Date: Thursday, January 26, 2017 @ 08:22:19
  Author: felixonmars
Revision: 209107

upgpkg: python-parsedatetime 2.2-1

Modified:
  python-parsedatetime/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-26 07:41:02 UTC (rev 209106)
+++ PKGBUILD	2017-01-26 08:22:19 UTC (rev 209107)
@@ -8,15 +8,13 @@
 
 pkgbase=python-parsedatetime
 pkgname=('python-parsedatetime' 'python2-parsedatetime')
-pkgver=2.1
-pkgrel=2
+pkgver=2.2
+pkgrel=1
 pkgdesc="Parse human-readable date/time strings."
 arch=('any')
 license=('Apache')
 url='http://github.com/bear/parsedatetime'
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-pyicu' 'python2-pyicu'
-              'python-coverage' 'python2-coverage')
+makedepends=('python-pytest-runner' 'python2-pytest-runner' 'python-future' 'python2-future' 'git')
 source=("git+https://github.com/bear/parsedatetime.git#tag=v$pkgver")
 sha512sums=('SKIP')
 
@@ -34,14 +32,14 @@
 
 check() {
   cd "$srcdir"/parsedatetime
-  nosetests3
+  python setup.py pytest
 
   cd "$srcdir"/parsedatetime-py2
-  nosetests2
+  python2 setup.py pytest
 }
 
 package_python-parsedatetime() {
-  depends=('python')
+  depends=('python-future')
 
   cd parsedatetime
   python setup.py install --root="$pkgdir" --optimize=1
@@ -48,7 +46,7 @@
 }
 
 package_python2-parsedatetime() {
-  depends=('python2')
+  depends=('python2-future')
 
   cd parsedatetime-py2
   python2 setup.py install --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list