forked from pool/python-rdflib
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:
committed by
Git OBS Bridge
parent
b0cbe38009
commit
0590c9234c
@@ -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
|
||||
|
Reference in New Issue
Block a user