[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Mon Feb 3 19:04:30 UTC 2020


    Date: Monday, February 3, 2020 @ 19:04:29
  Author: alucryd
Revision: 374542

add python-fastimport

Added:
  python-fastimport/
  python-fastimport/trunk/
  python-fastimport/trunk/PKGBUILD

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

Added: python-fastimport/trunk/PKGBUILD
===================================================================
--- python-fastimport/trunk/PKGBUILD	                        (rev 0)
+++ python-fastimport/trunk/PKGBUILD	2020-02-03 19:04:29 UTC (rev 374542)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=python-fastimport
+pkgver=0.9.8
+pkgrel=1
+pkgdesc='VCS fastimport/fastexport parser'
+arch=(any)
+url=https://github.com/jelmer/python-fastimport
+license=(GPL2)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/jelmer/python-fastimport.git#tag=fd59e7d835b63d1c9181c4c84dd311d9d6da6d6b)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd python-fastimport
+
+  git describe --tags | sed 's/fastimport-//'
+}
+
+build() {
+  cd python-fastimport
+
+  python setup.py build
+}
+
+package() {
+  cd python-fastimport
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list