summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0601d2a6cad773853c8736d3ba84b1d76174dc49 (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
# Maintainer: Cyril <cyrwae[at]hotmail[dot]com>
pkgname=python-pyshacl
_name=${pkgname#python-}
pkgver=0.31.0
pkgrel=2
pkgdesc="Python SHACL Validator"
arch=('x86_64')
url="https://github.com/RDFLib/pySHACL"
license=('APACHE')
groups=()
depends=('python-rdflib' 'python-prettytable' 'python-owlrl' 'python-packaging' 'python-importlib-metadata')
makedepends=(python-build python-installer python-wheel poetry)
optdepends=()
provides=('python-pyshacl')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
noextract=()
sha512sums=('43cf9786485f02390b6b14d9bb1dd3750574c577367f5fddfa8308a39f675cb14e61978bce5c6c8e50c4536a7becfdd667e37cb4152ab7f10e7699cbdd4425c9')

build() {
    cd "${_name}-${pkgver}"
    python -m build --wheel --no-isolation
}

package() {
    cd "${_name}-${pkgver}"
    python -m installer --destdir="$pkgdir" dist/*.whl
}