Accepting request 83932 from devel:languages:python

- Update to version 3.1.0:
  * Literal.__str__ does not behave like unicode
  * (RDFa Parser) Does not handle application/xhtml+xml
  * RDFa TC #117: Fragment identifiers stripped from BASE
  * Malformed literals produced when rdfa contains newlines
  * Namespaces beginning with _ are invalid
  * Turtle Files with a UTF-8 BOM fail to parse
  * ClosedNamespace.__str__ returns URIRef not str
  * IOMemory does not override open
  * Timestamps with microseconds *and* "Z" timezone are not parsed
  * DateTime literals with offsets fail to convert to Python
  * Timestamps with timezone information are not parsed
  * problem with unicode literals in rdflib.compare.graph_diff
  * Sleepycat Store broken with create=False
  * Would be useful if Graph.query could propagate kwargs to a
    plugin processor
  * Graph.connected exception when passed empty graph
  * Not compatible with Python 2.4
  * Support Python's set operations on Graph
  * NT output encoding to utf-8 broken as it goes through
    _xmlcharrefreplace
  * Store SPARQL Support
- Fix non-executable bits rpmlint issue

OBS-URL: https://build.opensuse.org/request/show/83932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=3
This commit is contained in:
Sascha Peilicke 2011-09-21 15:21:52 +00:00 committed by Git OBS Bridge
parent b0cbe38009
commit 0590c9234c
4 changed files with 47 additions and 21 deletions

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Sep 20 14:26:18 UTC 2011 - saschpe@suse.de
- Update to version 3.1.0:
* Literal.__str__ does not behave like unicode
* (RDFa Parser) Does not handle application/xhtml+xml
* RDFa TC #117: Fragment identifiers stripped from BASE
* Malformed literals produced when rdfa contains newlines
* Namespaces beginning with _ are invalid
* Turtle Files with a UTF-8 BOM fail to parse
* ClosedNamespace.__str__ returns URIRef not str
* IOMemory does not override open
* Timestamps with microseconds *and* "Z" timezone are not parsed
* DateTime literals with offsets fail to convert to Python
* Timestamps with timezone information are not parsed
* problem with unicode literals in rdflib.compare.graph_diff
* Sleepycat Store broken with create=False
* Would be useful if Graph.query could propagate kwargs to a
plugin processor
* Graph.connected exception when passed empty graph
* Not compatible with Python 2.4
* Support Python's set operations on Graph
* NT output encoding to utf-8 broken as it goes through
_xmlcharrefreplace
* Store SPARQL Support
- Fix non-executable bits rpmlint issue
-------------------------------------------------------------------
Thu Aug 12 16:59:54 UTC 2010 - jmatejek@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-rdflib (Version 3.0.0)
# spec file for package python-rdflib
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,22 +16,24 @@
#
%define modname rdflib
Name: python-%{modname}
Version: 3.0.0
Release: 1
Name: python-rdflib
Version: 3.1.0
Release: 0
Summary: A Python library for working with RDF
Url: http://rdflib.net/
License: Other License, see package
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
Source: rdflib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
BuildRequires: python-devel pyxml
%if 0%{?suse_version} >= 1120
BuildRequires: python-devel
BuildRequires: python-xml
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%description
RDFLib is a Python library for working with RDF, a simple yet powerful
@ -39,22 +41,19 @@ language for representing information. The library contains an RDF/XML
parser/serializer that conforms to the RDF/XML Syntax Specification (Revised).
The library also contains both in-memory and persistent Graph backends.
Authors:
--------
Daniel Krech <eikeon@eikeon.com>
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n rdflib-%{version}
sed -i "1d" rdflib/plugins/parsers/{ntriples,notation3}.py # Fix non-executable bits
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files -f INSTALLED_FILES
%files
%defattr(-,root,root)
%doc CHANGELOG LICENSE README
%{python_sitelib}/*
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8711b9aaf2b9a9aa5dc426ccdcd842be572262a76410d4356af7ad408ef0761
size 200701

3
rdflib-3.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eafa2a6abfde24f08bc8af0b43084bd30a00d94579bea9993643a8b438098043
size 249824