forked from pool/python-rdflib
Accepting request 807428 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/807428 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=26
This commit is contained in:
@@ -1,3 +1,78 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 19 09:27:40 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- %python3_only -> %python_alternative
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 19 10:32:25 UTC 2020 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
- Update to version 5.0.0
|
||||||
|
* General Bugs Fixed:
|
||||||
|
- n3 parser exponent syntax of floats with leading dot
|
||||||
|
- Change is comparison to == for tuple
|
||||||
|
- Added _parseBoolean function to enforce correct Lexical-to-value mapping
|
||||||
|
* SPARQL Fixes:
|
||||||
|
- CONSTRUCT resolve with initBindings fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 5 08:50:06 UTC 2020 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
- Update to version 5.0.0rc1
|
||||||
|
* General Bugs Fixed:
|
||||||
|
- NTriples fails to parse URIs with only a scheme
|
||||||
|
- Cannot clone on windows - Remove colons from test result files.
|
||||||
|
- Add requirement for requests to setup.py
|
||||||
|
- fixed URIRef including native unicode characters
|
||||||
|
- DCTERMS.format not working
|
||||||
|
- infixowl.manchesterSyntax do not encode strings
|
||||||
|
- Fix blank node label to not contain '_:' during parsing
|
||||||
|
- rename new SPARQLWrapper to SPARQLConnector
|
||||||
|
- Unquote and Uriquote Literal Datatype.
|
||||||
|
- Parsing nquads
|
||||||
|
- ntriples spec allows for upper-cased lang tag
|
||||||
|
- Adds escaped single quote to literal parser
|
||||||
|
- N3 parse error on single quote within single quotes
|
||||||
|
- RGDA1 graph canonicalization sometimes still collapses distinct BNodes
|
||||||
|
- Accept header should use a q parameter
|
||||||
|
- Incompatibility with Python3: unichr
|
||||||
|
- namespace.py include colon in ALLOWED_NAME_CHARS
|
||||||
|
- namespace.py fix compute_qname missing namespaces
|
||||||
|
- RDFa parsing Error! __init__() got an unexpected keyword argument 'encoding'
|
||||||
|
- Bugfix: term.Literal.__add__
|
||||||
|
- Microdata to rdf second edition bak
|
||||||
|
|
||||||
|
* Enhanced Features:
|
||||||
|
- Register additional serializer plugins for SPARQL mime types.
|
||||||
|
- Allows RDF terms introduced by JSON-LD 1.1
|
||||||
|
- make SPARQLConnector work with DBpedia
|
||||||
|
- ClosedNamespace returns right exception for way of access
|
||||||
|
- Not adding all namespaces for n3 serializer
|
||||||
|
- Adds basic support of xsd:duration
|
||||||
|
- Add possibility to set authority and basepath to skolemize graph
|
||||||
|
- Change notation3 list realization to non-recursive function.
|
||||||
|
- Suppress warning for not using custom encoding.
|
||||||
|
- Add support to parsing large xml inputs
|
||||||
|
- improve hash efficiency by directly using str/unicode hash
|
||||||
|
- Added the csvw prefix to the RDFa initial context.
|
||||||
|
- syncing changes from pyMicrodata
|
||||||
|
- Microdata parser: updated the parser to the latest version of the microdata->rdf note
|
||||||
|
- Literal.toPython() support for xsd:hexBinary
|
||||||
|
|
||||||
|
* SPARQL Fixes:
|
||||||
|
- Total order patch patch
|
||||||
|
- use <<= instead of deprecated <<
|
||||||
|
- RDF Literal "1"^^xsd:boolean should not coerce to True
|
||||||
|
- Makes NOW() return an UTC date
|
||||||
|
- NOW() SPARQL should return an xsd:dateTime with a timezone
|
||||||
|
- fix property paths bug
|
||||||
|
- MulPath: correct behaviour of n3()
|
||||||
|
- Literal total ordering
|
||||||
|
- Remove SPARQLWrapper dependency
|
||||||
|
- made UNION faster by not preventing duplicates
|
||||||
|
- added a hook to add custom functions to SPARQL
|
||||||
|
- Use <<= instead of deprecated << in SPARQL parser
|
||||||
|
- Custom FILTER function for SPARQL engine
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 14 14:40:41 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
Mon Oct 14 14:40:41 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rdflib
|
# spec file for package python-rdflib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
|
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: python-rdflib
|
Name: python-rdflib
|
||||||
Version: 4.2.2
|
Version: 5.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python library for working with RDF
|
Summary: A Python library for working with RDF
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -35,12 +35,15 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-2to3
|
BuildRequires: python3-2to3
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
|
BuildRequires: python3-sphinxcontrib-apidoc
|
||||||
Requires: python-SPARQLWrapper
|
Requires: python-SPARQLWrapper
|
||||||
Requires: python-flake8
|
Requires: python-flake8
|
||||||
Requires: python-html5lib
|
Requires: python-html5lib
|
||||||
Requires: python-isodate
|
Requires: python-isodate
|
||||||
Requires: python-pyparsing
|
Requires: python-pyparsing
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module SPARQLWrapper}
|
BuildRequires: %{python_module SPARQLWrapper}
|
||||||
@@ -74,13 +77,18 @@ find rdflib -name "*.py" | xargs sed -i '1 { /^#!/ d }'
|
|||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
pushd docs
|
pushd docs
|
||||||
make %{?_smp_mflags} html
|
%make_build html
|
||||||
# Remove hidden file
|
# Remove hidden file
|
||||||
rm -r _build/html/.buildinfo
|
rm -r _build/html/.buildinfo
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/rdfs2dot
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/rdfpipe
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/rdfgraphisomorphism
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/rdf2dot
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/csv2rdf
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%fdupes docs/_build/html
|
%fdupes docs/_build/html
|
||||||
@@ -90,14 +98,28 @@ popd
|
|||||||
%python_exec setup.py -q test
|
%python_exec setup.py -q test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%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}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.md CONTRIBUTORS README.md
|
%doc CHANGELOG.md CONTRIBUTORS README.md
|
||||||
%python3_only %{_bindir}/csv2rdf
|
%python_alternative %{_bindir}/csv2rdf
|
||||||
%python3_only %{_bindir}/rdf2dot
|
%python_alternative %{_bindir}/rdf2dot
|
||||||
%python3_only %{_bindir}/rdfgraphisomorphism
|
%python_alternative %{_bindir}/rdfgraphisomorphism
|
||||||
%python3_only %{_bindir}/rdfpipe
|
%python_alternative %{_bindir}/rdfpipe
|
||||||
%python3_only %{_bindir}/rdfs2dot
|
%python_alternative %{_bindir}/rdfs2dot
|
||||||
%{python_sitelib}/rdflib/
|
%{python_sitelib}/rdflib/
|
||||||
%{python_sitelib}/rdflib-%{version}-py*.egg-info
|
%{python_sitelib}/rdflib-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:da1df14552555c5c7715d8ce71c08f404c988c58a1ecd38552d0da4fc261280d
|
|
||||||
size 905094
|
|
3
rdflib-5.0.0.tar.gz
Normal file
3
rdflib-5.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:78149dd49d385efec3b3adfbd61c87afaf1281c30d3fcaf1b323b34f603fb155
|
||||||
|
size 818586
|
Reference in New Issue
Block a user