David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-rdflib
Commits: 62d070f4 by David Runge at 2026-01-06T23:24:07+01:00 upgpkg: 7.5.0-3 Rebuild to rename the sq script to sparqlquery, as it otherwise conflicts with the sequoia-sq package. See also https://github.com/RDFLib/rdflib/issues/3337 - - - - - 5 changed files: - .SRCINFO - + LICENSES/BSD-3-Clause.txt - PKGBUILD - REUSE.toml - + python-rdflib-7.5.0-rename-sq-script.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-rdflib pkgdesc = A Python library for working with RDF, a simple yet powerful language for representing information pkgver = 7.5.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/RDFLib/rdflib arch = any license = BSD-3-Clause @@ -15,6 +15,8 @@ pkgbase = python-rdflib makedepends = python-poetry-core depends = python-pyparsing source = git+https://github.com/RDFLib/rdflib.git#tag=7.5.0 + source = python-rdflib-7.5.0-rename-sq-script.patch sha512sums = f1ef6dab06dcc9aab465f661e3e552160af970ab255e742718ccad2e1a8e5ee6e7df38f636881e14c95f7b8cd73eb2f2df37652bd204741eaec60615d61f64e4 + sha512sums = 553160e0280be312a0a4c6a3fe5ae78f43ee0a4624352eabd40e19eb9453690ebebd45c209c41263bd791e9e8e30849faad7f2f6b4d27d3c8305bf79d429299f pkgname = python-rdflib ===================================== LICENSES/BSD-3-Clause.txt ===================================== @@ -0,0 +1,11 @@ +Copyright (c) <year> <owner>. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ===================================== PKGBUILD ===================================== @@ -4,7 +4,7 @@ pkgname=python-rdflib pkgver=7.5.0 -pkgrel=2 +pkgrel=3 pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information" arch=('any') url="https://github.com/RDFLib/rdflib" @@ -12,8 +12,17 @@ license=('BSD-3-Clause') depends=('python-pyparsing') makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core') checkdepends=('python-pytest' 'python-networkx' 'python-lxml' 'python-orjson') -source=(git+https://github.com/RDFLib/rdflib.git#tag=$pkgver) -sha512sums=('f1ef6dab06dcc9aab465f661e3e552160af970ab255e742718ccad2e1a8e5ee6e7df38f636881e14c95f7b8cd73eb2f2df37652bd204741eaec60615d61f64e4') +source=( + git+https://github.com/RDFLib/rdflib.git#tag=$pkgver + $pkgname-7.5.0-rename-sq-script.patch +) +sha512sums=('f1ef6dab06dcc9aab465f661e3e552160af970ab255e742718ccad2e1a8e5ee6e7df38f636881e14c95f7b8cd73eb2f2df37652bd204741eaec60615d61f64e4' + '553160e0280be312a0a4c6a3fe5ae78f43ee0a4624352eabd40e19eb9453690ebebd45c209c41263bd791e9e8e30849faad7f2f6b4d27d3c8305bf79d429299f') + +prepare() { + # rename script conflicting with sequoia-sq: https://github.com/RDFLib/rdflib/issues/3337 + patch -Np1 -d rdflib -i ../$pkgname-7.5.0-rename-sq-script.patch +} build() { cd rdflib ===================================== REUSE.toml ===================================== @@ -20,3 +20,10 @@ path = [ ] SPDX-FileCopyrightText = "Arch Linux contributors" SPDX-License-Identifier = "0BSD" + +[[annotations]] +path = [ + "python-rdflib-7.5.0-rename-sq-script.patch", +] +SPDX-FileCopyrightText = "python-rdflib contributors" +SPDX-License-Identifier = "BSD-3-Clause" ===================================== python-rdflib-7.5.0-rename-sq-script.patch ===================================== @@ -0,0 +1,13 @@ +diff --git i/pyproject.toml w/pyproject.toml +index dd227cb0..561681db 100644 +--- i/pyproject.toml ++++ w/pyproject.toml +@@ -39,7 +39,7 @@ csv2rdf = 'rdflib.tools.csv2rdf:main' + rdf2dot = 'rdflib.tools.rdf2dot:main' + rdfs2dot = 'rdflib.tools.rdfs2dot:main' + rdfgraphisomorphism = 'rdflib.tools.graphisomorphism:main' +-sq = 'rdflib.tools.sparqlquery:main' ++sparqlquery = 'rdflib.tools.sparqlquery:main' + + [tool.poetry.dependencies] + python = ">=3.8.1" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-rdflib/-/commit/62d070f44cb6956cec1338ca0ebec0dbe4937cd9 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-rdflib/-/commit/62d070f44cb6956cec1338ca0ebec0dbe4937cd9 You're receiving this email because of your account on gitlab.archlinux.org.
