python-rdflib: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
cd1d0ba38b
commit
fbf32a3aa5
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-rdflib'
|
||||
pkgname=python-rdflib
|
||||
version=4.2.1
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="rdflib-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-isodate python-parsing"
|
||||
pycompile_module="rdflib"
|
||||
short_desc="Python2 library for working with RDF"
|
||||
|
@ -17,31 +16,37 @@ distfiles="${PYPI_SITE}/r/rdflib/rdflib-${version}.tar.gz"
|
|||
checksum=eb02bd235606ef3b26e213da3e576557a6392ce103efd8c6c8ff1e08321608c8
|
||||
|
||||
alternatives="
|
||||
rdflib:csv2rdf:/usr/bin/csv2rdf2.7
|
||||
rdflib:rdf2dot:/usr/bin/rdf2dot2.7
|
||||
rdflib:rdfgraphisomorphism:/usr/bin/rdfgraphisomorphism2.7
|
||||
rdflib:rdfpipe:/usr/bin/rdfpipe2.7
|
||||
rdflib:rdfs2dot:/usr/bin/rdfs2dot2.7"
|
||||
rdflib:csv2rdf:/usr/bin/csv2rdf2
|
||||
rdflib:rdf2dot:/usr/bin/rdf2dot2
|
||||
rdflib:rdfgraphisomorphism:/usr/bin/rdfgraphisomorphism2
|
||||
rdflib:rdfpipe:/usr/bin/rdfpipe2
|
||||
rdflib:rdfs2dot:/usr/bin/rdfs2dot2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3.4-rdflib_package() {
|
||||
python3-rdflib_package() {
|
||||
alternatives="
|
||||
rdflib:csv2rdf:/usr/bin/csv2rdf3.4
|
||||
rdflib:rdf2dot:/usr/bin/rdf2dot3.4
|
||||
rdflib:rdfgraphisomorphism:/usr/bin/rdfgraphisomorphism3.4
|
||||
rdflib:rdfpipe:/usr/bin/rdfpipe3.4
|
||||
rdflib:rdfs2dot:/usr/bin/rdfs2dot3.4"
|
||||
rdflib:csv2rdf:/usr/bin/csv2rdf3
|
||||
rdflib:rdf2dot:/usr/bin/rdf2dot3
|
||||
rdflib:rdfgraphisomorphism:/usr/bin/rdfgraphisomorphism3
|
||||
rdflib:rdfpipe:/usr/bin/rdfpipe3
|
||||
rdflib:rdfs2dot:/usr/bin/rdfs2dot3"
|
||||
noarch=yes
|
||||
depends="python3.4-setuptools python3.4-isodate python3.4-parsing"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-setuptools python3-isodate python3-parsing"
|
||||
pycompile_module="rdflib"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-rdflib>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3.4
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
python3.4-rdflib_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-rdflib>=${version}_${revision}"
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-rdflib
|
Loading…
Reference in New Issue