forked from pool/python-rdflib
- Update to 6.1.1:
* add support for Python 3.10 * updates the test suite to pytest (from nose) * tidies up a lot of continuous integration * gets more tests tested, not skipped * implements lots of mypy tests * updates several parsers and serializers * supports the new HexTuples format! * drop support for Python 2 and Python 3 < 3.7. * improved testing with mock SPARQL stores - Drop unneeded BuildRequires on python3-2to3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=60
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-rdflib
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,11 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
|
||||
%bcond_with tests
|
||||
Name: python-rdflib
|
||||
Version: 5.0.0
|
||||
Version: 6.1.1
|
||||
Release: 0
|
||||
Summary: A Python library for working with RDF
|
||||
License: BSD-3-Clause
|
||||
@@ -33,19 +33,18 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-2to3
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-sphinxcontrib-apidoc
|
||||
Requires: python-html5lib
|
||||
Requires: python-isodate
|
||||
Requires: python-pyparsing
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module SPARQLWrapper}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@@ -92,7 +91,7 @@ popd
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%python_exec setup.py -q test
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%post
|
||||
|
Reference in New Issue
Block a user