Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 868133 Details for
Bug 1070074
New upstream release: 4.1
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Update python-rdflib SPEC for RDFLib 4.1.0 release
0001-Update-for-RDFLib-4.1.0.patch (text/plain), 5.55 KB, created by
Dan Scott
on 2014-02-26 18:01:37 UTC
(
hide
)
Description:
Update python-rdflib SPEC for RDFLib 4.1.0 release
Filename:
MIME Type:
Creator:
Dan Scott
Created:
2014-02-26 18:01:37 UTC
Size:
5.55 KB
patch
obsolete
>From b36b1dd879662c621f6e4035c525cd699642ae1d Mon Sep 17 00:00:00 2001 >From: Dan Scott <dan@coffeecode.net> >Date: Wed, 26 Feb 2014 12:07:38 -0500 >Subject: [PATCH] Update for RDFLib 4.1.0 > >Update the SPEC to reflect RDFLib 4.1.0. Includes a patch (as >submitted to upstream) to skip one test, similar to how other >tests are skipped for the same condition. > >NOTE: The rdfpipe executable is now shipped as part of RDFLib >core, so the current spec as it stands will conflict with >python-rdfextras (which also ships rdfpipe) until >python-rdfextras can be converted into an empty package that >simply requires python-rdflib and then dropped entirely. > >Signed-off-by: Dan Scott <dan@coffeecode.net> >--- > python-rdflib-skip-SPARQLStore-test.patch | 33 ++++++++++++++++++++++++ > python-rdflib.spec | 43 ++++++++++++++++++++++++++----- > 2 files changed, 69 insertions(+), 7 deletions(-) > create mode 100644 python-rdflib-skip-SPARQLStore-test.patch > >diff --git a/python-rdflib-skip-SPARQLStore-test.patch b/python-rdflib-skip-SPARQLStore-test.patch >new file mode 100644 >index 0000000..e3833ce >--- /dev/null >+++ b/python-rdflib-skip-SPARQLStore-test.patch >@@ -0,0 +1,33 @@ >+From 9f7aefae6f21c70a936a9667299dda894b1b5d0e Mon Sep 17 00:00:00 2001 >+From: Dan Scott <dan@coffeecode.net> >+Date: Wed, 26 Feb 2014 11:25:22 -0500 >+Subject: [PATCH] Skip SPARQLStore test if SPARQLStore is not installed >+ >+Trying to package RDFLib 4.1.0 on Fedora, I ran into a blocker with this test. >+SPARQLStore is not yet packaged for Fedora, and unlike other tests which are >+skipped if SPARQLStore is not installed, this one throws a fatal error. So >+let's skip it like the others. >+ >+Signed-off-by: Dan Scott <dan@coffeecode.net> >+--- >+ test/test_core_sparqlstore.py | 6 ++++++ >+ 1 file changed, 6 insertions(+) >+ >+diff --git a/test/test_core_sparqlstore.py b/test/test_core_sparqlstore.py >+index a85fb8f..e7f0c09 100644 >+--- a/test/test_core_sparqlstore.py >++++ b/test/test_core_sparqlstore.py >+@@ -1,4 +1,10 @@ >+ import unittest >++try: >++ import SPARQLWrapper >++except ImportError: >++ from nose.exc import SkipTest >++ raise SkipTest("SPARQLWrapper not installed") >++ >+ from rdflib.graph import Graph >+ >+ >+-- >+1.8.5.3 >+ >diff --git a/python-rdflib.spec b/python-rdflib.spec >index 1b5b6fd..6a82397 100644 >--- a/python-rdflib.spec >+++ b/python-rdflib.spec >@@ -1,20 +1,24 @@ > %define run_tests 1 > > Name: python-rdflib >-Version: 3.2.3 >-Release: 6%{?dist} >+Version: 4.1.0 >+Release: 1%{?dist} > Summary: Python library for working with RDF > > Group: Development/Languages > License: BSD >-URL: http://code.google.com/p/rdflib/ >+URL: https://github.com/RDFLib/rdflib > Source0: http://pypi.python.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz >+Patch1: python-rdflib-skip-SPARQLStore-test.patch > BuildArch: noarch > > BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) > Requires: python-isodate >+Requires: pyparsing > >+BuildRequires: python-html5lib > BuildRequires: python-isodate >+BuildRequires: pyparsing > BuildRequires: python-devel > BuildRequires: python-setuptools > >@@ -26,13 +30,18 @@ BuildRequires: python-nose >= 0.9.2 > RDFLib is a Python library for working with RDF, a simple yet powerful > language for representing information. > >-The library contains parsers and serializers for RDF/XML, N3, NTriples, >-Turtle, TriX and RDFa. The library presents a Graph interface which can >-be backed by any one of a number of store implementations, including >-memory, MySQL, Redland, SQLite, Sleepycat, ZODB and SQLObject. >+The library contains parsers and serializers for RDF/XML, N3, >+NTriples, Turtle, TriX, RDFa and Microdata. The library presents >+a Graph interface which can be backed by any one of a number of >+Store implementations. The core rdflib includes store >+implementations for in memory storage, persistent storage on top >+of the Berkeley DB, and a wrapper for remote SPARQL endpoints. >+ >+A SPARQL 1.1 engine is also included. > > %prep > %setup -q -n rdflib-%{version} >+%patch1 -p1 > find -name "*.pyc" -delete > > sed -i -e 's|_sn_gen=bnode_uuid()|_sn_gen=bnode_uuid|' test/test_bnode_ncname.py >@@ -57,6 +66,20 @@ chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/ntriples.py > # __main__ parses the file given on the command line: > chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/notation3.py > >+# __main__ parses the file or URI given on the command line: >+chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/tools/rdfpipe.py >+ >+# __main__ runs a test (well, it's something) >+chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/extras/infixowl.py >+ >+# sed these headers out as they include no __main__ >+for lib in $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/extras/describer.py \ >+ $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/pyRdfa/extras/httpheader.py \ >+ $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/structureddata.py; do >+ sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new && >+ touch -r $lib $lib.new && >+ mv $lib.new $lib >+done > > %check > %if %{run_tests} >@@ -73,8 +96,14 @@ rm -rf $RPM_BUILD_ROOT > %defattr(-,root,root,-) > %doc LICENSE > %{python_sitelib}/* >+%{_bindir}/* > > %changelog >+* Thu Dec 12 2013 Dan Scott <dan@coffeecode.net> - 4.1.0-1 >+- Update for 4.1.0 release >+- Support for TRiG, microdata parsers, and HTML structured data >+- Patch to skip SPARQLStore test per upstream https://github.com/RDFLib/rdflib/pull/359 >+ > * Thu Dec 12 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.3-6 > - Remove BR of python-setuptools-devel > >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1070074
:
868120
|
868133
|
868157
|
868159
|
869736
|
869936
|
869937
|
869938
|
869939
|
870443