summaryrefslogtreecommitdiff
path: root/pcr/python-unidiff/PKGBUILD
blob: b52937fd05f2957af44da59be26e1a7a9b09dc27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

_pkgname=unidiff
pkgname=python-$_pkgname
pkgver=0.5.2
pkgrel=2
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')
makedepends=('python-setuptools')
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
}