ea971e2cd5
keepalive is an optional dependency now.
33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
# Template file for 'python-SPARQLWrapper'
|
|
pkgname=python-SPARQLWrapper
|
|
version=1.8.0
|
|
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=3b46d0f18ca0b65b8b965d6d1ae257b229388400b06e7dc19f0a51614dc1abde
|
|
|
|
python3-SPARQLWrapper_package() {
|
|
noarch=yes
|
|
depends="python3-rdflib"
|
|
replaces="python3.4-SPARQLWrapper>=0"
|
|
pycompile_module="SPARQLWrapper"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-SPARQLWrapper_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-SPARQLWrapper>=${version}_${revision}"
|
|
}
|