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

Maxime Gauduin alucryd at archlinux.org
Tue Feb 19 20:46:10 UTC 2019


    Date: Tuesday, February 19, 2019 @ 20:46:09
  Author: alucryd
Revision: 434637

upgpkg: python-arrow 0.13.1-1

Modified:
  python-arrow/trunk/PKGBUILD

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 44 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-19 20:45:27 UTC (rev 434636)
+++ PKGBUILD	2019-02-19 20:46:09 UTC (rev 434637)
@@ -2,28 +2,45 @@
 # Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
 
 pkgbase=python-arrow
-pkgname=('python-arrow' 'python2-arrow')
-pkgver=0.12.1
-pkgrel=4
+pkgname=(
+  python-arrow
+  python2-arrow
+)
+pkgver=0.13.1
+pkgrel=1
 pkgdesc='Better dates and times for Python'
-arch=('any')
-url="https://arrow.readthedocs.io"
-license=('Apache')
-makedepends=('python-dateutil' 'python-setuptools'
-             'python2-dateutil' 'python2-setuptools' 'python2-backports.functools_lru_cache')
-checkdepends=('python-chai' 'python-nose' 'python-simplejson'
-              'python2-chai' 'python2-nose' 'python2-simplejson')
-source=("https://files.pythonhosted.org/packages/source/a/arrow/arrow-${pkgver}.tar.gz")
-sha256sums=('a558d3b7b6ce7ffc74206a86c147052de23d3d4ef0e17c210dd478c53575c4cd')
+arch=(any)
+url=https://arrow.readthedocs.io
+license=(Apache)
+makedepends=(
+  git
+  python-dateutil
+  python-setuptools
+  python2-dateutil
+  python2-setuptools
+  python2-backports.functools_lru_cache
+)
+checkdepends=(
+  python-chai
+  python-nose
+  python-pytz
+  python-simplejson
+  python2-chai
+  python2-nose
+  python2-pytz
+  python2-simplejson
+)
+source=(git+https://github.com/crsmithdev/arrow.git#tag=${pkgver})
+sha256sums=(SKIP)
 
 prepare() {
-  cp -r {,python-}arrow-${pkgver}
-  mv {,python2-}arrow-${pkgver}
+  cp -r {,python-}arrow
+  mv {,python2-}arrow
 }
 
 build() {
   for py in python{,2}; do
-    pushd ${py}-arrow-${pkgver}
+    pushd ${py}-arrow
     ${py} setup.py build
     popd
   done
@@ -30,23 +47,30 @@
 }
 
 check() {
-  cd python-arrow-${pkgver}
+  cd python-arrow
   nosetests
   nosetests2
 }
 
 package_python-arrow() {
-  depends=('python' 'python-dateutil')
+  depends=(
+    python
+    python-dateutil
+  )
 
-  cd python-arrow-${pkgver}
+  cd python-arrow
 
   python setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
 }
 
 package_python2-arrow() {
-  depends=('python2' 'python2-backports.functools_lru_cache' 'python2-dateutil')
+  depends=(
+    python2
+    python2-backports.functools_lru_cache
+    python2-dateutil
+  )
 
-  cd python2-arrow-${pkgver}
+  cd python2-arrow
 
   python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
 }



More information about the arch-commits mailing list