summaryrefslogtreecommitdiff
path: root/pcr/python-unidiff/PKGBUILD
blob: 54ebe5afeae4b16b45b680c6e79f9fcd4fc61d43 (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
# 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')

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