mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
New package: python-SPARQLWrapper-1.6.0 with python3.4 subpkg
SPARQL Endpoint interface to Python.
This commit is contained in:
parent
e3ddf9af56
commit
0638fde9cd
2 changed files with 35 additions and 0 deletions
34
srcpkgs/python-SPARQLWrapper/template
Normal file
34
srcpkgs/python-SPARQLWrapper/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'python-SPARQLWrapper'
|
||||||
|
pkgname=python-SPARQLWrapper
|
||||||
|
version=1.6.0
|
||||||
|
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)"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
homepage="https://rdflib.github.io/sparqlwrapper/"
|
||||||
|
license="W3C"
|
||||||
|
distfiles="https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
|
||||||
|
checksum=dadcbf190dd090d90325ca4126e96f262d620c45c4693ee9f168cf39af2fa373
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
vlicense ${wrksrc}/LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-SPARQLWrapper
Symbolic link
1
srcpkgs/python3.4-SPARQLWrapper
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-SPARQLWrapper
|
Loading…
Add table
Reference in a new issue