From 673da292773a2f0db480b159753ed92d82fad1bb Mon Sep 17 00:00:00 2001 From: Luke Macken Date: May 27 2009 04:14:41 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..ece8bdb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +repoze.who-1.0.13.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..99357bb --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-repoze-who-1_0_13-1_fc10:HEAD:python-repoze-who-1.0.13-1.fc10.src.rpm:1243382993 diff --git a/python-repoze-who-setup.patch b/python-repoze-who-setup.patch new file mode 100644 index 0000000..adc5b14 --- /dev/null +++ b/python-repoze-who-setup.patch @@ -0,0 +1,12 @@ +--- setup.py.orig 2009-05-06 09:13:27.000000000 -0400 ++++ setup.py 2009-05-06 09:13:34.000000000 -0400 +@@ -14,9 +14,6 @@ + + import os + +-from ez_setup import use_setuptools +-use_setuptools() +- + from setuptools import setup, find_packages + + __version__ = '1.0.13' diff --git a/python-repoze-who.spec b/python-repoze-who.spec new file mode 100644 index 0000000..eaf05a8 --- /dev/null +++ b/python-repoze-who.spec @@ -0,0 +1,61 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-repoze-who +Version: 1.0.13 +Release: 1%{?dist} +Summary: An identification and authentication framework for WSGI + +Group: Development/Languages +License: BSD +URL: http://pypi.python.org/pypi/repoze.who +Source0: http://pypi.python.org/packages/source/r/repoze.who/repoze.who-%{version}.tar.gz +Patch0: %{name}-setup.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python-devel python-setuptools-devel +Requires: python-paste +Requires: python-setuptools +Requires: python-zope-interface + +%description +repoze.who is an identification and authentication framework for arbitrary WSGI +applications. It acts as WSGI middleware. + +repoze.who is inspired by Zope 2's Pluggable Authentication Service (PAS) (but +repoze.who is not dependent on Zope in any way; it is useful for any WSGI +application). It provides no facility for authorization (ensuring whether a +user can or cannot perform the operation implied by the request). This is +considered to be the domain of the WSGI application. + + +%prep +%setup -q -n repoze.who-%{version} +%patch0 -b .setup + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README.txt COPYRIGHT.txt LICENSE.txt +%{python_sitelib}/* + + +%changelog +* Wed May 06 2009 Luke Macken - 1.0.13-1 +- Update to the latest upstream release. + +* Tue Oct 21 2008 Luke Macken - 1.0.7-1 +- Initial package diff --git a/sources b/sources index e69de29..f5e7366 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ac7b302e0baaa4b89b1013d9a72eba86 repoze.who-1.0.13.tar.gz