summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-12-22 22:13:28 -0500
committerGaming4JC <g4jc@openmailbox.org>2016-12-22 22:13:28 -0500
commite8d162c0e245adfa1838563ee858d4fc6e1196ed (patch)
tree46ec150c27616fa31a63578289d9f6730425c53f /pcr
parent1523ab994b1f3f90fa2be534bd1e3bbd7265aff4 (diff)
downloadabslibre-e8d162c0e245adfa1838563ee858d4fc6e1196ed.tar.gz
abslibre-e8d162c0e245adfa1838563ee858d4fc6e1196ed.tar.bz2
abslibre-e8d162c0e245adfa1838563ee858d4fc6e1196ed.zip
add python-unidiff
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-unidiff/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python-unidiff/PKGBUILD b/pcr/python-unidiff/PKGBUILD
new file mode 100644
index 000000000..88fe041a9
--- /dev/null
+++ b/pcr/python-unidiff/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+
+_pkgname=unidiff
+pkgname=python-$_pkgname
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="Simple Python library to parse and interact with unified diff data."
+arch=('any')
+url="https://github.com/matiasb/python-unidiff"
+license=('MIT')
+depends=('python')
+source=("https://github.com/matiasb/python-unidiff/archive/v$pkgver.tar.gz")
+sha512sums=('ee1258734229f3f2db21edccf0d8d4257875e7a97237883bb8169fb3deda340acceee434785f761dcca720ff68a544b55f09c17a0197a3b0c8ac52eb4b46a946')
+whirlpoolsums=('2057df384b8de4de5eec01a6150215fc9a53d08bc82b15eccecdb13fb73bd24d7a03af03bf0ef67922a47f8dc3c2f83f4d1227bc09b95eb0884acb8170cc3000')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+