void-packages/srcpkgs/python-SPARQLWrapper/template

29 lines
890 B
Bash

# Template file for 'python-SPARQLWrapper'
pkgname=python-SPARQLWrapper
version=1.7.6
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-rdflib python-keepalive"
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=dccabec900eb9c97cb47834bd4b66ceaeb4d9ea11bae24a24fe734e9f48522f8
python3.4-SPARQLWrapper_package() {
noarch=yes
depends="python3.4-rdflib python3.4-keepalive"
pycompile_version="3.4"
pycompile_module="SPARQLWrapper"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}