void-packages/srcpkgs/python-SPARQLWrapper/template

27 lines
793 B
Bash

# Template file for 'python-SPARQLWrapper'
pkgname=python-SPARQLWrapper
version=1.8.1
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-rdflib"
pycompile_module="SPARQLWrapper"
short_desc="SPARQL Endpoint interface to Python (Python2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://rdflib.github.io/sparqlwrapper/"
license="W3C"
distfiles="${PYPI_SITE}/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
checksum=da760be6f448f2030f2b4f7cecd4c55b0c2133458d5c420c50f78169db133e82
python3-SPARQLWrapper_package() {
noarch=yes
depends="python3-rdflib"
pycompile_module="SPARQLWrapper"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}