27 lines
798 B
Bash
27 lines
798 B
Bash
# Template file for 'python-SPARQLWrapper'
|
|
pkgname=python-SPARQLWrapper
|
|
version=1.8.4
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="SPARQLWrapper"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-rdflib"
|
|
short_desc="SPARQL Endpoint interface to Python (Python2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="W3C"
|
|
homepage="https://rdflib.github.io/sparqlwrapper/"
|
|
distfiles="${PYPI_SITE}/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
|
|
checksum=21928e7a97f565e772cdeeb0abad428960f4307e3a13dbdd8f6d3da8a6a506c9
|
|
|
|
python3-SPARQLWrapper_package() {
|
|
archs=noarch
|
|
depends="python3-rdflib"
|
|
pycompile_module="SPARQLWrapper"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|