[arch-commits] Commit in python-arrow/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:42:31 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:42:31
  Author: felixonmars
Revision: 1058948

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: python-arrow/repos/community-staging-any/PKGBUILD (from rev 1058943, python-arrow/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:42:31 UTC (rev 1058948)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
+
+pkgname=python-arrow
+pkgver=1.2.1
+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-tox)
+_tag=3e50ae4b6c58e36bd32a672ce073f4c64d5bf182
+source=(git+https://github.com/crsmithdev/arrow.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd arrow
+
+  git describe --tags
+}
+
+build() {
+  cd arrow
+
+  python setup.py build
+}
+
+check() {
+  cd arrow
+
+  tox -e py310
+}
+
+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