void-packages/srcpkgs/python3-rdflib/template

28 lines
991 B
Bash

# Template file for 'python3-rdflib'
pkgname=python3-rdflib
version=6.2.0
revision=3
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"
}