summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6176651202e3cc0df18c9565035b71af0374c79 (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
# Initial commit: Alexey Andreyev aa13q at ya.ru

pkgbase='python-pymantic'
pkgname=('python-pymantic')
_module='pymantic'
pkgver='0.2.5'
pkgrel=1
pkgdesc="Semantic Web and RDF library for Python"
url="https://github.com/norcalrdf/pymantic/"
depends=('python' 'python-requests' 'python-lxml' 'python-pytz' 'python-rdflib' 'python-lark-parser' 'python-pyld' 'python-lepl')
makedepends=('python-setuptools')
license=('BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('119361a60d811aea6f57faf05f9aebc787e37244e3c8e9c922e9621b2a425dcf')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}