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

Maxime Gauduin alucryd at archlinux.org
Mon Jul 29 07:03:41 UTC 2019


    Date: Monday, July 29, 2019 @ 07:03:40
  Author: alucryd
Revision: 494396

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  121 +++++++++++++++++++++----------------------------------------
 1 file changed, 43 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-29 07:03:24 UTC (rev 494395)
+++ PKGBUILD	2019-07-29 07:03:40 UTC (rev 494396)
@@ -1,78 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
-
-pkgbase=python-arrow
-pkgname=(
-  python-arrow
-  python2-arrow
-)
-pkgver=0.14.2
-pkgrel=1
-pkgdesc='Better dates and times for Python'
-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
-  mv {,python2-}arrow
-}
-
-build() {
-  for py in python{,2}; do
-    pushd ${py}-arrow
-    ${py} setup.py build
-    popd
-  done
-}
-
-check() {
-  cd python-arrow
-  nosetests
-  nosetests2
-}
-
-package_python-arrow() {
-  depends=(
-    python
-    python-dateutil
-  )
-
-  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
-  )
-
-  cd python2-arrow
-
-  python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-arrow/repos/community-any/PKGBUILD (from rev 494395, python-arrow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-29 07:03:40 UTC (rev 494396)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
+
+pkgname=python-arrow
+pkgver=0.14.3
+pkgrel=1
+pkgdesc='Better dates and times for Python'
+arch=(any)
+url=https://arrow.readthedocs.io
+license=(APACHE)
+makedepends=(
+  git
+  python-dateutil
+  python-setuptools
+)
+checkdepends=(
+  python-chai
+  python-nose
+  python-pytz
+  python-simplejson
+)
+source=(git+https://github.com/crsmithdev/arrow.git#tag=${pkgver})
+sha256sums=('SKIP')
+
+build() {
+  cd arrow
+
+  python setup.py build
+}
+
+check() {
+  cd arrow
+
+  nosetests
+}
+
+package() {
+  cd arrow
+
+  python setup.py install --skip-build --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list