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

Maxime Gauduin alucryd at archlinux.org
Wed Sep 11 11:50:17 UTC 2019


    Date: Wednesday, September 11, 2019 @ 11:50:16
  Author: alucryd
Revision: 509273

archrelease: copy trunk to community-any

Added:
  python-dateparser/repos/
  python-dateparser/repos/community-any/
  python-dateparser/repos/community-any/PKGBUILD
    (from rev 509272, python-dateparser/trunk/PKGBUILD)

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

Copied: python-dateparser/repos/community-any/PKGBUILD (from rev 509272, python-dateparser/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-09-11 11:50:16 UTC (rev 509273)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=python-dateparser
+pkgver=0.7.1
+pkgrel=1
+pkgdesc='Python parser for human readable dates'
+url=https://github.com/scrapinghub/dateparser
+arch=(any)
+license=(BSD)
+depends=(
+  python-dateutil
+  python-regex
+  python-tzlocal
+  python-ruamel-yaml
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/scrapinghub/dateparser.git#tag=v0.7.1)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd dateparser
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd dateparser
+
+  python setup.py build
+}
+
+package() {
+  cd dateparser
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-dateparser/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list