rpms/python-yadis/devel python-yadis-1.0.1-silencepyflakes.patch, NONE, 1.1 python-yadis.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Sat Jan 13 22:36:31 UTC 2007
Author: jcollie
Update of /cvs/extras/rpms/python-yadis/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32675/devel
Modified Files:
.cvsignore sources
Added Files:
python-yadis-1.0.1-silencepyflakes.patch python-yadis.spec
Log Message:
auto-import python-yadis-1.1.0-1 on branch devel from python-yadis-1.1.0-1.src.rpm
python-yadis-1.0.1-silencepyflakes.patch:
--- NEW FILE python-yadis-1.0.1-silencepyflakes.patch ---
--- yadis/etxrd.py.orig 2006-12-07 13:12:55.000000000 -0600
+++ yadis/etxrd.py 2006-12-07 13:13:14.000000000 -0600
@@ -20,13 +20,8 @@
from elementtree.ElementTree import ElementTree
-# Use expat if it's present. Otherwise, use xmllib
-try:
- from xml.parsers.expat import ExpatError as XMLError
- from elementtree.ElementTree import XMLTreeBuilder
-except ImportError:
- from elementtree.SimpleXMLTreeBuilder import TreeBuilder as XMLTreeBuilder
- from xmllib import Error as XMLError
+from xml.parsers.expat import ExpatError as XMLError
+from elementtree.ElementTree import XMLTreeBuilder
class XRDSError(Exception):
"""An error with the XRDS document."""
--- NEW FILE python-yadis.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-yadis
Version: 1.1.0
Release: 1%{?dist}
Summary: Relying party support for the Yadis service discovery protocol
Group: Development/Languages
License: LGPL
URL: http://www.openidenabled.com/yadis/libraries/python
Source0: http://www.openidenabled.com/resources/downloads/python-openid/python-yadis-%{version}.tar.gz
Patch0: python-yadis-1.0.1-silencepyflakes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: epydoc
BuildRequires: PyXML
BuildRequires: python-urljr
BuildRequires: python-elementtree
BuildRequires: pyflakes
Requires: PyXML
Requires: python-urljr
Requires: python-elementtree
%description
This code implements relying party support for the Yadis[1] service
discovery protocol. The protocol was developed for use by
decentralized URL-based identity systems, but is useful for
advertising services provided by or on behalf of a certain URL.
To learn more about Yadis, see http://www.openidenabled.com/yadis
The JanRain Python OpenID library[2] uses this library for discovery
of OpenID service endpoints. See that library for an example of
library usage.
1. http://yadis.org/
2. http://www.openidenabled.com/openid/libraries/python/
%prep
%setup0 -q
%patch0 -p0
# remove examples/apache/.htaccess - the same content is available in
# examples/apache/htaccess.txt
rm examples/apache/.htaccess
%build
%{__python} setup.py build
%check
sh admin/runtests
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc doc examples README
%{python_sitelib}/*
%changelog
* Sat Jan 13 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.1.0-1
- Update to 1.1.0
* Tue Dec 5 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.0.1-1
- First version for Fedora Extras
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-yadis/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 13 Jan 2007 22:35:29 -0000 1.1
+++ .cvsignore 13 Jan 2007 22:36:01 -0000 1.2
@@ -0,0 +1 @@
+python-yadis-1.1.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-yadis/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Jan 2007 22:35:29 -0000 1.1
+++ sources 13 Jan 2007 22:36:01 -0000 1.2
@@ -0,0 +1 @@
+dce07b08a54f28dfe17ed6601175409c python-yadis-1.1.0.tar.gz
More information about the scm-commits
mailing list