summaryrefslogtreecommitdiff
path: root/pcr/python-unidiff/PKGBUILD
blob: 88fe041a942ac7ebb59456344f14eebb37aa5c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}