2014-07-13 11:37:06 +02:00
|
|
|
# Template file for 'python-SPARQLWrapper'
|
|
|
|
pkgname=python-SPARQLWrapper
|
2014-11-11 22:55:55 +01:00
|
|
|
version=1.6.4
|
2014-07-13 11:37:06 +02:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2014-11-11 22:55:55 +01:00
|
|
|
depends="python-rdflib"
|
2014-07-13 11:37:06 +02:00
|
|
|
pycompile_module="SPARQLWrapper"
|
|
|
|
short_desc="SPARQL Endpoint interface to Python (Python2)"
|
2014-08-16 01:16:16 +02:00
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
2014-07-13 11:37:06 +02:00
|
|
|
homepage="https://rdflib.github.io/sparqlwrapper/"
|
|
|
|
license="W3C"
|
2014-11-11 22:55:55 +01:00
|
|
|
distfiles="${PYPI_SITE}/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
|
|
|
|
checksum=2899dae6baa88d5c3209408e70a1a9de04f0f4dd25f4e9480eb6707a398d1693
|
2014-07-13 11:37:06 +02:00
|
|
|
|
|
|
|
python3.4-SPARQLWrapper_package() {
|
|
|
|
noarch=yes
|
2014-11-11 22:55:55 +01:00
|
|
|
depends="python3.4-rdflib"
|
2014-07-13 11:37:06 +02:00
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="SPARQLWrapper"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|