[arch-commits] Commit in python-ciso8601 (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu Mar 19 12:13:49 UTC 2020


    Date: Thursday, March 19, 2020 @ 12:13:48
  Author: alucryd
Revision: 600864

archrelease: copy trunk to community-x86_64

Added:
  python-ciso8601/repos/
  python-ciso8601/repos/community-x86_64/
  python-ciso8601/repos/community-x86_64/PKGBUILD
    (from rev 600863, python-ciso8601/trunk/PKGBUILD)

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

Copied: python-ciso8601/repos/community-x86_64/PKGBUILD (from rev 600863, python-ciso8601/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-03-19 12:13:48 UTC (rev 600864)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-ciso8601
+pkgver=2.1.3
+pkgrel=1
+pkgdesc='Fast ISO8601 date time parser for Python written in C'
+arch=(x86_64)
+url=https://github.com/closeio/ciso8601
+license=(MIT)
+depends=(
+  glibc
+  python
+)
+makedepends=(
+  cython
+  git
+  python-setuptools
+)
+source=(git+https://github.com/closeio/ciso8601.git#tag=42b7af38a619d0024be6a78be4efffcf33c749b0)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd ciso8601
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd ciso8601
+
+  python setup.py build
+}
+
+package() {
+  cd ciso8601
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-ciso8601/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list