[arch-commits] Commit in python-ciso8601/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 14:50:27 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:50:26
Author: felixonmars
Revision: 1059383
archrelease: copy trunk to community-staging-x86_64
Added:
python-ciso8601/repos/community-staging-x86_64/
python-ciso8601/repos/community-staging-x86_64/PKGBUILD
(from rev 1059381, python-ciso8601/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: python-ciso8601/repos/community-staging-x86_64/PKGBUILD (from rev 1059381, python-ciso8601/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-01 14:50:26 UTC (rev 1059383)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-ciso8601
+pkgver=2.2.0
+pkgrel=2
+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
+)
+_tag=91fb6eea34121d90085b0218660a220db4171d35
+source=(git+https://github.com/closeio/ciso8601.git#tag=${_tag})
+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