Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > fe16537ef77c3dd8222db1d7e477d0ec > files > 2

python-openid-2.2.4-1mdv2010.1.src.rpm

Name:           python-openid
Version:        2.2.4
Release:        %mkrel 1
Summary:        Python OpenID libraries
Group:          Development/Python
License:        Apache License
URL:            http://www.openidenabled.com/python-openid/
Source0:	http://openidenabled.com/files/python-openid/packages/python-openid-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch
BuildRequires:	python-setuptools
BuildRequires:	python-devel
BuildRequires:	twill
%description
The OpenID library with batteries included.

Features of the 2.x.x series include:

 * Refined and easy-to-use API.

 * Extensive documentation.

 * Many storage implemetations including file-based, sqlite,
   postgresql, and mysql.

 * Simple examples to help you get started.

 * Licensed under the Apache Software License.

 * Includes a Simple Registration API

 * Versions 1.x.x supports protocol version 1; versions 2.x.x support
   both major OpenID protocol versions transparently


%prep
%setup -q 
find . -type f | xargs chmod a-x

%build
%{__python} -c 'import setuptools; execfile("setup.py")' build

%check
%{__python} admin/runtests

%install
rm -rf %{buildroot}
%{__python} -c 'import setuptools; execfile("setup.py")' install \
	--skip-build --root %{buildroot} --record=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc background-associations.txt CHANGELOG LICENSE NEWS README doc examples
%{python_sitelib}/*




%changelog
* Thu Mar 25 2010 Michael Scherer <misc@mandriva.org> 2.2.4-1mdv2010.1
+ Revision: 527459
- update to latest version
- add twill for running test
- import python-openid, based on python2.4-openid