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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:54:13 UTC 2020


    Date: Monday, November 9, 2020 @ 15:54:13
  Author: felixonmars
Revision: 399769

archrelease: copy trunk to staging-x86_64

Added:
  python-patiencediff/repos/staging-x86_64/
  python-patiencediff/repos/staging-x86_64/PKGBUILD
    (from rev 399768, python-patiencediff/trunk/PKGBUILD)

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

Copied: python-patiencediff/repos/staging-x86_64/PKGBUILD (from rev 399768, python-patiencediff/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-09 15:54:13 UTC (rev 399769)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-patiencediff
+pkgver=0.2.1
+pkgrel=2
+pkgdesc='Patiencediff Python and C implementations'
+arch=(x86_64)
+url=https://www.breezy-vcs.org/
+license=(GPL2)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+_tag=1d2e7e8dd572115f59cb6ca2b791bc53ee53ece7
+source=(git+https://github.com/breezy-team/patiencediff.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd patiencediff
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd patiencediff
+
+  python setup.py build
+}
+
+package() {
+  cd patiencediff
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list