diff --git a/srcpkgs/python-rdflib/template b/srcpkgs/python-rdflib/template index 07db421430..4d1ad9b259 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}"