28 lines
855 B
Bash
28 lines
855 B
Bash
# Template file for 'python-SPARQLWrapper'
|
|
pkgname=python-SPARQLWrapper
|
|
version=1.6.4
|
|
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"
|
|
pycompile_module="SPARQLWrapper"
|
|
short_desc="SPARQL Endpoint interface to Python (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://rdflib.github.io/sparqlwrapper/"
|
|
license="W3C"
|
|
distfiles="${PYPI_SITE}/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
|
|
checksum=2899dae6baa88d5c3209408e70a1a9de04f0f4dd25f4e9480eb6707a398d1693
|
|
|
|
python3.4-SPARQLWrapper_package() {
|
|
noarch=yes
|
|
depends="python3.4-rdflib"
|
|
pycompile_version="3.4"
|
|
pycompile_module="SPARQLWrapper"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|