summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3278c12f2656cb03d6f86d3fda52b160e0f8375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Liam Timms <timms5000@gmail.com>
# Contributor: Frank Fishburn <frankthefishburn@gmail.com>

pkgname=python-prov
_pypiname=${pkgname/python-/}
pkgver=2.0.0
pkgrel=1
pkgdesc="A library for W3C Provenance Data Model supporting PROV-JSON, PROV-XML and PROV-O RDF"
arch=('any')
url='https://pypi.python.org/pypi/prov/'
license=('MIT')
depends=('python-lxml' 'python-networkx' 'python-dateutil' 'python-six' 'python-pydot' 'python-rdflib')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/trungdong/${_pypiname}/archive/${pkgver}.tar.gz")
sha1sums=('b54d3f2c9c28cc17a9111583ad64e1b0e33a7b43')

build() {

    cd $srcdir/${_pypiname}-${pkgver}
    python setup.py build
}

check() {

    cd $srcdir/${_pypiname}-${pkgver}
    make test
}

package() {

    cd $srcdir/${_pypiname}-${pkgver}
    python setup.py install --root="${pkgdir}/" --optimize=1

}