rpms/python-repoze-who-testutil/F-10 LICENSE.txt, NONE, 1.1 python-repoze-who-testutil.spec, NONE, 1.1 sources, 1.1, 1.2

Tom Callaway spot at fedoraproject.org
Wed May 27 15:40:23 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/python-repoze-who-testutil/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4314/F-10

Modified Files:
	sources 
Added Files:
	LICENSE.txt python-repoze-who-testutil.spec 
Log Message:
initial branching


--- NEW FILE LICENSE.txt ---
License

  License

    A copyright notice accompanies this license document that identifies
    the copyright holders.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:

    1.  Redistributions in source code must retain the accompanying
	copyright notice, this list of conditions, and the following
	disclaimer.

    2.  Redistributions in binary form must reproduce the accompanying
	copyright notice, this list of conditions, and the following
	disclaimer in the documentation and/or other materials provided
	with the distribution.

    3.  Names of the copyright holders must not be used to endorse or
	promote products derived from this software without prior
	written permission from the copyright holders.

    4.  If any files are modified, you must cause the modified files to
	carry prominent notices stating that you changed the files and
	the date of any change.

    Disclaimer

      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND
      ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
      TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
      PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
      HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
      EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
      TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
      DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
      ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
      TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
      THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
      SUCH DAMAGE.



--- NEW FILE python-repoze-who-testutil.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global rcver rc1

Name:		python-repoze-who-testutil
Version:	1.0
Release:	0.2.%{rcver}%{?dist}
Summary:	Test utilities for repoze.who-powered applications
Group:		Development/Languages
License:	BSD
URL:		http://code.gustavonarea.net/repoze.who-testutil/
Source0:	http://pypi.python.org/packages/source/r/repoze.who-testutil/repoze.who-testutil-%{version}%{rcver}.tar.gz
Source1:	http://repoze.org/LICENSE.txt
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	python-devel, python-setuptools-devel
# Test suite requirements
# BuildRequires:	python-paste-deploy, python-repoze-who, python-nose, python-coverage
Requires:	python-repoze-who
Requires:	python-zope-interface
Requires:	python-paste-deploy

%description
repoze.who-testutil is a repoze.who plugin which modifies repoze.who‘s 
original middleware to make it easier to forge authentication, without 
bypassing identification (this is, running the metadata providers).
It’s been created in order to ease testing of repoze.who-powered 
applications, in a way independent of the identifiers, authenticators 
and challengers used originally by your application, so that you won’t have 
to update your test suite as your application grows and the authentication 
method changes.

%prep
%setup -q -n repoze.who-testutil-%{version}%{rcver}
cp %{SOURCE1} .

%build
%{__python} setup.py build

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

%check
# Tests are pretty broken. Oh, the irony.
# PYTHONPATH=$(pwd) nosetests

%clean
rm -rf %{buildroot}

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

%changelog
* Wed May 27 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0-0.2.rc1
- include license copy

* Wed May  6 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0-0.1.rc1
- Initial package for Fedora


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-who-testutil/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 May 2009 15:31:27 -0000	1.1
+++ sources	27 May 2009 15:39:53 -0000	1.2
@@ -0,0 +1 @@
+0fccad499ae93257e21c749eebd0fcc4  repoze.who-testutil-1.0rc1.tar.gz




More information about the fedora-extras-commits mailing list