summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}
+