2014-07-13 11:37:06 +02:00
|
|
|
# Template file for 'python-SPARQLWrapper'
|
|
|
|
pkgname=python-SPARQLWrapper
|
2014-08-16 01:16:16 +02:00
|
|
|
version=1.6.2
|
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"
|
|
|
|
makedepends="${hostmakedepends}"
|
|
|
|
depends="python"
|
|
|
|
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"
|
|
|
|
distfiles="https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
|
2014-08-16 01:16:16 +02:00
|
|
|
checksum=1af3dcccf5cfbc0c078f95109138a8be221d29e158a2ae81b239d857f7c3224d
|
2014-07-13 11:37:06 +02:00
|
|
|
|
|
|
|
python3.4-SPARQLWrapper_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="SPARQLWrapper"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|