[arch-commits] Commit in python-arrow/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Sep 16 05:43:40 UTC 2018
Date: Sunday, September 16, 2018 @ 05:43:39
Author: eschwartz
Revision: 382202
archrelease: copy trunk to community-any
Added:
python-arrow/repos/community-any/PKGBUILD
(from rev 382201, python-arrow/trunk/PKGBUILD)
Deleted:
python-arrow/repos/community-any/PKGBUILD
----------+
PKGBUILD | 99 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 54 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-16 05:43:23 UTC (rev 382201)
+++ PKGBUILD 2018-09-16 05:43:39 UTC (rev 382202)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
-
-pkgbase=python-arrow
-pkgname=('python-arrow' 'python2-arrow')
-pkgver=0.12.1
-pkgrel=3
-pkgdesc='Better dates and times for Python'
-arch=('any')
-url='http://crsmithdev.com/arrow/'
-license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("python-arrow-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/e0/86/4eb5228a43042e9a80fe8c84093a8a36f5db34a3767ebd5e1e7729864e7b/arrow-0.12.1.tar.gz")
-sha256sums=('a558d3b7b6ce7ffc74206a86c147052de23d3d4ef0e17c210dd478c53575c4cd')
-
-prepare() {
- cp -r {,python-}arrow-${pkgver}
- mv {,python2-}arrow-${pkgver}
-}
-
-build() {
- for py in python{,2}; do
- pushd ${py}-arrow-${pkgver}
- ${py} setup.py build
- popd
- done
-}
-package_python-arrow() {
- depends=('python' 'python-dateutil' 'python-nose')
-
- cd python-arrow-${pkgver}
-
- python setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
-}
-
-package_python2-arrow() {
- depends=('python2' 'python2-backports.functools_lru_cache' 'python2-dateutil' 'python2-nose')
-
- cd python2-arrow-${pkgver}
-
- 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 382201, python-arrow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-16 05:43:39 UTC (rev 382202)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
+
+pkgbase=python-arrow
+pkgname=('python-arrow' 'python2-arrow')
+pkgver=0.12.1
+pkgrel=4
+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')
+
+prepare() {
+ cp -r {,python-}arrow-${pkgver}
+ mv {,python2-}arrow-${pkgver}
+}
+
+build() {
+ for py in python{,2}; do
+ pushd ${py}-arrow-${pkgver}
+ ${py} setup.py build
+ popd
+ done
+}
+
+check() {
+ cd python-arrow-${pkgver}
+ nosetests
+ nosetests2
+}
+
+package_python-arrow() {
+ depends=('python' 'python-dateutil')
+
+ cd python-arrow-${pkgver}
+
+ 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-${pkgver}
+
+ python2 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