python3-rdflib: update to 6.2.0, remove python-rdflib.
This commit is contained in:
parent
337a27dc55
commit
b2ede75b90
|
@ -1,43 +0,0 @@
|
|||
# Template file for 'python-rdflib'
|
||||
pkgname=python-rdflib
|
||||
version=4.2.2
|
||||
revision=6
|
||||
wrksrc="rdflib-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-isodate python-parsing"
|
||||
pycompile_module="rdflib"
|
||||
short_desc="Python2 library for working with RDF"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
homepage="https://github.com/RDFLib/rdflib"
|
||||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/r/rdflib/rdflib-${version}.tar.gz"
|
||||
checksum=da1df14552555c5c7715d8ce71c08f404c988c58a1ecd38552d0da4fc261280d
|
||||
|
||||
alternatives="
|
||||
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-rdflib_package() {
|
||||
alternatives="
|
||||
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"
|
||||
depends="python3-setuptools python3-isodate python3-parsing"
|
||||
pycompile_module="rdflib"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-rdflib
|
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'python3-rdflib'
|
||||
pkgname=python3-rdflib
|
||||
version=6.2.0
|
||||
revision=1
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
makedepends="python3-setuptools python3-isodate python3-parsing"
|
||||
depends="${makedepends}"
|
||||
short_desc="Python3 library for working with RDF"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/RDFLib/rdflib"
|
||||
changelog="https://raw.githubusercontent.com/RDFLib/rdflib/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/RDFLib/rdflib/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=d4b920f44ad0f7bc4977d0163840bb2c4d9b8ec2d1dae92b0974d0d3d8b5a126
|
||||
# pytest test collection fails
|
||||
make_check=no
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
# for compatibility
|
||||
ln -s csv2rdf "${DESTDIR}/usr/bin/csv2rdf3"
|
||||
ln -s rdf2dot "${DESTDIR}/usr/bin/rdf2dot3"
|
||||
ln -s rdfgraphisomorphism "${DESTDIR}/usr/bin/rdfgraphisomorphism3"
|
||||
ln -s rdfpipe "${DESTDIR}/usr/bin/rdfpipe3"
|
||||
ln -s rdfs2dot "${DESTDIR}/usr/bin/rdfs2dot3"
|
||||
}
|
|
@ -322,6 +322,7 @@ replaces="
|
|||
python-pystache<=0.5.4_6
|
||||
python-pytest-relaxed<=1.1.2_2
|
||||
python-pytz<=2021.3_2
|
||||
python-rdflib<=4.2.2_6
|
||||
python-reportlab<=3.5.42_3
|
||||
python-requests<=2.26.0_2
|
||||
python-spambayes<=1.1b3_3
|
||||
|
|
Loading…
Reference in New Issue