rpms/python-repoze-what/devel import.log, NONE, 1.1 python-repoze-what-setup.patch, NONE, 1.1 python-repoze-what.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Luke Macken lmacken at fedoraproject.org
Thu May 28 21:26:10 UTC 2009


Author: lmacken

Update of /cvs/pkgs/rpms/python-repoze-what/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7250/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-repoze-what-setup.patch 
	python-repoze-what.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
python-repoze-what-1_0_8-1_fc10:HEAD:python-repoze-what-1.0.8-1.fc10.src.rpm:1243531387

python-repoze-what-setup.patch:

--- NEW FILE python-repoze-what-setup.patch ---
--- setup.py.orig	2009-02-09 12:15:10.000000000 -0500
+++ setup.py	2009-02-09 12:15:33.000000000 -0500
@@ -17,9 +17,6 @@
 
 import os
 
-from ez_setup import use_setuptools
-use_setuptools()
-
 from setuptools import setup, find_packages
 
 here = os.path.abspath(os.path.dirname(__file__))


--- NEW FILE python-repoze-what.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-repoze-what
Version:        1.0.8
Release:        1%{?dist}
Summary:        Authorization for WSGI applications

Group:          Development/Languages
License:        BSD
URL:            http://pypi.python.org/pypi/repoze.what
Source0:        http://pypi.python.org/packages/source/r/repoze.what/repoze.what-%{version}.tar.gz
Patch0:         %{name}-setup.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python-setuptools-devel

# For building documentation
BuildRequires:  python-sphinx

# For the test suite
#BuildRequires:  python-nose python-zope-interface python-repoze-who
#BuildRequires:  python-repoze-who-plugins-testutil

Requires:       python-repoze-who
Requires:       python-paste

%description
`repoze.what` is an `authorization framework` for WSGI applications,
based on `repoze.who` (which deals with `authentication`).

On the one hand, it enables an authorization system based on the groups to
which the `authenticated or anonymous` user belongs and the permissions granted
to such groups by loading these groups and permissions into the request on the
way in to the downstream WSGI application.

And on the other hand, it enables you to manage your groups and permissions
from the application itself or another program, under a backend-independent
API. For example, it would be easy for you to switch from one back-end to
another, and even use this framework to migrate the data.

It's highly extensible, so it's very unlikely that it will get in your way.
Among other things, you can extend it to check for many other conditions (such
as checking that the user comes from a given country, based on her IP address,
for example).

%package docs
Summary: Documentation for repoze.what
Requires: %{name}-%{version}

%description docs
This package contains documentation for the repoze.who module.

%prep
%setup -q -n repoze.what-%{version}
%patch0 -b .setup


%build
%{__python} setup.py build
%{__make} -C docs html


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

# Needs repoze.who-testutil
#%check
#PYTHONPATH=`pwd` nosetests

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README.txt
%{python_sitelib}/

%files docs
%doc docs/


%changelog
* Thu May 21 2009 Luke Macken <lmacken at redhat.com> - 1.0.8-1
- Update to 1.0.8
- Create a docs subpackage for the compiled Sphinx documentation.

* Mon Feb 09 2009 Luke Macken <lmacken at redhat.com> - 1.0.4-1
- Update to 1.0.4
- Fix the URL

* Tue Jan 06 2009 Luke Macken <lmacken at redhat.com> - 1.0-0.1.rc2.r2927
- Update to 1.0rc2-r2927

* Tue Oct 21 2008 Luke Macken <lmacken at redhat.com> - 1.0-0.1.rc1.r2803
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-what/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	27 May 2009 19:56:51 -0000	1.1
+++ .cvsignore	28 May 2009 21:25:39 -0000	1.2
@@ -0,0 +1 @@
+repoze.what-1.0.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-what/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 May 2009 19:56:51 -0000	1.1
+++ sources	28 May 2009 21:25:40 -0000	1.2
@@ -0,0 +1 @@
+2e9659f4d23711f41017cd4a26d76848  repoze.what-1.0.8.tar.gz




More information about the scm-commits mailing list