[arch-commits] Commit in python-arrow/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 04:05:08 UTC 2019
Date: Saturday, October 26, 2019 @ 04:05:07
Author: foutrelis
Revision: 519885
archrelease: copy trunk to community-staging-any
Added:
python-arrow/repos/community-staging-any/
python-arrow/repos/community-staging-any/PKGBUILD
(from rev 519884, python-arrow/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: python-arrow/repos/community-staging-any/PKGBUILD (from rev 519884, python-arrow/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 04:05:07 UTC (rev 519885)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
+
+pkgname=python-arrow
+pkgver=0.15.2
+pkgrel=2
+pkgdesc='Better dates and times for Python'
+arch=(any)
+url=https://arrow.readthedocs.io
+license=(APACHE)
+depends=(python-dateutil)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-chai
+ python-dateparser
+ python-mock
+ python-nose
+ python-pytz
+ python-simplejson
+)
+source=(git+https://github.com/crsmithdev/arrow.git#tag=6b342e5a561eb1af63e928929e4a8649121f250a)
+sha256sums=(SKIP)
+
+pkgver() {
+ cd arrow
+
+ git describe --tags
+}
+
+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