python-rdflib: SPARQLWrapper is optional
This commit is contained in:
parent
17ea528f46
commit
2e64238618
1 changed files with 5 additions and 8 deletions
|
@ -1,21 +1,18 @@
|
|||
# Template file for 'python-rdflib'
|
||||
pkgname=python-rdflib
|
||||
version=4.1.2
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
wrksrc="rdflib-${version}"
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-isodate python3.4-isodate python-parsing python3.4-parsing
|
||||
python-SPARQLWrapper python3.4-SPARQLWrapper"
|
||||
depends="python python-isodate python-parsing python-SPARQLWrapper"
|
||||
depends="python-isodate python-parsing"
|
||||
pycompile_module="rdflib"
|
||||
short_desc="Python2 library for working with RDF"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="https://github.com/RDFLib/rdflib"
|
||||
license="BSD"
|
||||
distfiles="https://pypi.python.org/packages/source/r/rdflib/rdflib-${version}.tar.gz"
|
||||
distfiles="${PYPI_SITE}/r/rdflib/rdflib-${version}.tar.gz"
|
||||
checksum=3cf94bda0867f21468b248ce9f671581efb92ae9edd28ff321716126c6706a4f
|
||||
|
||||
post_extract() {
|
||||
|
@ -52,7 +49,7 @@ do_install() {
|
|||
|
||||
python3.4-rdflib_package() {
|
||||
noarch=yes
|
||||
depends="python3.4 python3.4-isodate python3.4-parsing python3.4-SPARQLWrapper"
|
||||
depends="python3.4-isodate python3.4-parsing"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="rdflib"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
|
|
Loading…
Reference in a new issue