mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-sparqlwrapper: new aport
This commit is contained in:
parent
403e448946
commit
df9a1c1f5c
32
testing/py3-sparqlwrapper/APKBUILD
Normal file
32
testing/py3-sparqlwrapper/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||||
pkgname=py3-sparqlwrapper
|
||||
_pkgname=sparqlwrapper
|
||||
pkgver=1.8.4
|
||||
pkgrel=0
|
||||
pkgdesc="SPARQL Endpoint interface to Python"
|
||||
url="https://rdflib.github.io/sparqlwrapper/"
|
||||
arch="noarch"
|
||||
license="W3C"
|
||||
checkdepends="bash py3-nose"
|
||||
makedepends="py3-setuptools"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/RDFLib/sparqlwrapper/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
# Tests soft-fail because of the missing rdflib-jsonld dependency.
|
||||
# This dependency had its last release in 2016 and is apparently not
|
||||
# compatible with Python 3.
|
||||
# py3-rdflib should also be a dep but that would cause a circular
|
||||
# dependency loop.
|
||||
./run_tests_py3.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="b89fe07319a3108f29fe984c7ae7381c30db6f655da35c5d193b7365fde4dbbc4f7575defe0371aff6c5d6d626e36c15b6fa8685c1d12eb19ae73d3bd3650eac py3-sparqlwrapper-1.8.4.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user