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

_pkgname=unidiff
pkgname=python-$_pkgname
pkgver=0.5.4
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')
makedepends=('python-setuptools')
source=("https://github.com/matiasb/python-unidiff/archive/v$pkgver.tar.gz")
sha512sums=('c597795d77166dfd788cbe30d7b12c7b37d2e2bd0f078a22ff5f95f067e3060f70727c87262af688860bb2fa6303b67ac149c4c2eff418168e084056ff53cd2e')
whirlpoolsums=('7b014e304fab86c79143c6f591c5ee7ac304fd48a66abbc7f5203d03ab7513657477bcd8c6a272a8406f2e2ebcc177ecbc23e3a10edd55d5bba9aa491e7fd54d')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}