From 2e64238618e62eb37a8c7e1a6b76d94cf4f9ea8f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 11 Nov 2014 22:54:46 +0100 Subject: [PATCH] python-rdflib: SPARQLWrapper is optional --- srcpkgs/python-rdflib/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python-rdflib/template b/srcpkgs/python-rdflib/template index 07db4214302..4d1ad9b2591 100644 --- a/srcpkgs/python-rdflib/template +++ b/srcpkgs/python-rdflib/template @@ -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 " 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}"