21 Commits

Author SHA256 Message Date
2e147d2460 Accepting request 1299413 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1299413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=36
2025-08-17 12:50:00 +00:00
b82a5248bf - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=82
2025-08-14 12:42:54 +00:00
bc797b1002 Accepting request 1291244 from devel:languages:python
- Convert to libalternatives

- Add reproducible-doc-build.patch to make the build reproducible.
  gh#RDFLib/rdflib#2645

OBS-URL: https://build.opensuse.org/request/show/1291244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=35
2025-07-09 15:26:03 +00:00
e6de289b7e - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=80
2025-07-08 08:19:58 +00:00
561e82e709 - Add reproducible-doc-build.patch to make the build reproducible.
gh#RDFLib/rdflib#2645

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=79
2025-07-08 08:14:17 +00:00
683f67b1ea Accepting request 1267636 from devel:languages:python
- Update to 7.1.4
  * Remove old hacks against 2to3
  * Allow multi subjects & objects in graph funcs
  * Reduce test warnings
  * Downgrade log message about plugin
  * Remove old hacks against 2to3
  * Cope with Namespace annotations in Python 3.14
  * Small docco update

OBS-URL: https://build.opensuse.org/request/show/1267636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=34
2025-04-08 15:51:03 +00:00
6b510be0ab try to drop possible extra deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=77
2025-04-07 11:28:20 +00:00
61d048a0dc - Update to 7.1.4
* Remove old hacks against 2to3
  * Allow multi subjects & objects in graph funcs
  * Reduce test warnings
  * Downgrade log message about plugin
  * Remove old hacks against 2to3
  * Cope with Namespace annotations in Python 3.14
  * Small docco update

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=76
2025-04-07 11:26:23 +00:00
5357e2d0d9 Accepting request 1246400 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1246400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=33
2025-02-18 18:08:34 +00:00
403819f202 Accepting request 1245816 from home:glaubitz:branches:devel:languages:python
- Update to 7.1.3
  * A fix-up release that re-adds support for Python 3.8 after it was
    accidentally removed in Release 7.1.2.
  * This release cherrypicks many additions to 7.1.2 added to 7.1.1 but
    leaves out typing changes that are not compatible with Python 3.8.
  * Also not carried over from 7.1.2 is the change from Poetry 1.x to 2.0.
  * Included are PRs such as _Defined Namespace warnings fix_, _sort
    longturtle blank nodes_, _deterministic longturtle serialisation_
    and _Dataset documentation improvements_.
- from version 7.1.2
  * A minor release that inadvertently removed support for Python 3.8.
    This release how now been deleted.
  * All the improved features initially made available in this release
    that were compatible with Python 3.8 have been preserved in the 7.1.3
    release. The main additions to 7.1.2 not preserved in 7.1.3 are updated
    type hints.

OBS-URL: https://build.opensuse.org/request/show/1245816
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=74
2025-02-17 11:12:08 +00:00
672c44c831 Accepting request 1225765 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1225765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=32
2024-11-22 22:50:53 +00:00
62a3b1945d Accepting request 1225745 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1225745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=72
2024-11-22 09:38:09 +00:00
1f8f5b0809 Accepting request 1218819 from devel:languages:python
- Add sphinx8.patch to build doc with latest sphinx, gh#RDFLib/rdflib#2956
- Update to 7.1.1:
  * This minor release removes the dependency on some only Python
    packages, in particular six which is a problem for some Linux
    distributions that ship RDFLib.
  * Replace html5lib with html5rdf, make it an optional dependency PR #2951
  * Prevent crash when comparing ill-typed numeric types. PR #2949
  * Fix parser bug and add test PR #2943
  * Fix import ordering in get_merged_prs. PR #2947
- 7.1.0:
  * There are no major changes in this release over 7.0.0 and this
    release can be used in place of 7.0.0 without much worry about
    altered behaviour.

OBS-URL: https://build.opensuse.org/request/show/1218819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=31
2024-10-29 13:32:15 +00:00
637e5aa124 - Add sphinx8.patch to build doc with latest sphinx, gh#RDFLib/rdflib#2956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=70
2024-10-28 13:06:21 +00:00
1405678d04 - Update to 7.1.1:
* This minor release removes the dependency on some only Python
    packages, in particular six which is a problem for some Linux
    distributions that ship RDFLib.
  * Replace html5lib with html5rdf, make it an optional dependency PR #2951
  * Prevent crash when comparing ill-typed numeric types. PR #2949
  * Fix parser bug and add test PR #2943
  * Fix import ordering in get_merged_prs. PR #2947
- 7.1.0:
  * There are no major changes in this release over 7.0.0 and this
    release can be used in place of 7.0.0 without much worry about
    altered behaviour.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=69
2024-10-28 11:50:52 +00:00
e6864b48d3 Accepting request 1185182 from devel:languages:python
- Create doc subpackage with _multibuild to move
  python3-sphnix-autodoc-typehints build requirement out of ring1
- Update to 7.0.0:
  * BREAKING CHANGE: drop support for python 3.7 (#2436)
  * feat: add curie method to NamespaceManager (#2365)
  * feat: add optional target_graph argument to Graph.cbd and use it for
    DESCRIBE queries (#2322)
  * feat: Don't generate prefixes for unknown URIs (#2467)
  * feat: Longturtle improvements (#2500)
  * fix: SPARQL count with optionals (#2448)
  * fix: GROUP_CONCAT handling of empty separator (issue) (#2474)
  * fix: add NORMALIZE_LITERALS to rdflib.__all__ (#2489)
  * fix: correct imports and __all__ (#2340)
  * fix: dbpedia URL to use https instead of http (#2444)
  * fix: eliminate bare except: (#2350)
  * fix: eliminate some mutable default arguments in SPARQL code (#2301)
  * fix: formatting of SequencePath and AlternativePath (#2504)
  * fix: handling of rdf:HTML literals (#2490)
  * fix: HTTP 308 Permanent Redirect status code handling (#2389)
  * fix: lexical-to-value mapping of rdf:HTML literals (#2483)
  * fix: TriG handling of GRAPH keyword without a graph ID (#2469)
  * fix: TriG parser error handling for nested graphs (#2468)
- Switch to autosetup and pyproject macros.
- Shift docs build to the install phase, the module needs to be queryable.
- Drop patch reproducible.patch, included.

OBS-URL: https://build.opensuse.org/request/show/1185182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=30
2024-07-05 17:45:05 +00:00
1b6bb810d3 Use same package decl for doc multibuild
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=67
2024-07-03 16:23:17 +00:00
8681d552cc - Place bcond_with tests above the name tag
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=66
2024-07-03 15:18:27 +00:00
fdab94da16 - remove debug line
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=65
2024-07-03 12:02:51 +00:00
55a5f4eb65 - Create doc subpackage with _multibuild to move
python3-sphnix-autodoc-typehints build requirement out of ring1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=64
2024-07-03 11:45:53 +00:00
2309564ce5 - Update to 7.0.0:
* BREAKING CHANGE: drop support for python 3.7 (#2436)
  * feat: add curie method to NamespaceManager (#2365)
  * feat: add optional target_graph argument to Graph.cbd and use it for
    DESCRIBE queries (#2322)
  * feat: Don't generate prefixes for unknown URIs (#2467)
  * feat: Longturtle improvements (#2500)
  * fix: SPARQL count with optionals (#2448)
  * fix: GROUP_CONCAT handling of empty separator (issue) (#2474)
  * fix: add NORMALIZE_LITERALS to rdflib.__all__ (#2489)
  * fix: correct imports and __all__ (#2340)
  * fix: dbpedia URL to use https instead of http (#2444)
  * fix: eliminate bare except: (#2350)
  * fix: eliminate some mutable default arguments in SPARQL code (#2301)
  * fix: formatting of SequencePath and AlternativePath (#2504)
  * fix: handling of rdf:HTML literals (#2490)
  * fix: HTTP 308 Permanent Redirect status code handling (#2389)
  * fix: lexical-to-value mapping of rdf:HTML literals (#2483)
  * fix: TriG handling of GRAPH keyword without a graph ID (#2469)
  * fix: TriG parser error handling for nested graphs (#2468)
- Switch to autosetup and pyproject macros.
- Shift docs build to the install phase, the module needs to be queryable.
- Drop patch reproducible.patch, included.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=63
2024-02-27 06:24:29 +00:00
2 changed files with 31 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 14 12:36:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Tue Jul 8 08:17:28 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -24,9 +24,13 @@
%define psuffix %{nil}
%bcond_with doc
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
%bcond_with tests
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-rdflib%{psuffix}
Version: 7.1.4
@@ -39,11 +43,16 @@ Source: https://files.pythonhosted.org/packages/source/r/rdflib/rdflib-%
Patch0: sphinx8.patch
# PATCH-FIX-OPENSUSE reproducible-doc-build.patch gh#RDFLib/rdflib#2645 -- daniel.garcia@suse.com
Patch1: reproducible-doc-build.patch
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with tests}
BuildRequires: %{python_module SPARQLWrapper}
BuildRequires: %{python_module flake8}
@@ -124,6 +133,20 @@ popd
%python_libalternatives_reset_alternative rdf2dot
%python_libalternatives_reset_alternative csv2rdf
%post
%python_install_alternative rdfs2dot
%python_install_alternative rdfpipe
%python_install_alternative rdfgraphisomorphism
%python_install_alternative rdf2dot
%python_install_alternative csv2rdf
%postun
%python_uninstall_alternative rdfs2dot
%python_uninstall_alternative rdfpipe
%python_uninstall_alternative rdfgraphisomorphism
%python_uninstall_alternative rdf2dot
%python_uninstall_alternative csv2rdf
%files %{python_files}
%license LICENSE
%doc README.md