void-packages/srcpkgs/python-SPARQLWrapper/template

27 lines
798 B
Bash

# Template file for 'python-SPARQLWrapper'
pkgname=python-SPARQLWrapper
version=1.8.2
revision=1
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="Juan RP <xtraeme@voidlinux.org>"
homepage="https://rdflib.github.io/sparqlwrapper/"
license="W3C"
distfiles="${PYPI_SITE}/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
checksum=7f4c8d38ea1bfcffbc358c9a05de35a3fd7152cc3e8ea57963ee7a0a242f7a5e
python3-SPARQLWrapper_package() {
archs=noarch
depends="python3-rdflib"
pycompile_module="SPARQLWrapper"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}