rpms/python-repoze-what-pylons/F-10 python-repoze-what-pylons-setuptools.patch, NONE, 1.1 python-repoze-what-pylons.spec, NONE, 1.1 sources, 1.1, 1.2

Tom Callaway spot at fedoraproject.org
Thu Jul 23 14:09:13 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/python-repoze-what-pylons/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5579/F-10

Modified Files:
	sources 
Added Files:
	python-repoze-what-pylons-setuptools.patch 
	python-repoze-what-pylons.spec 
Log Message:
initial branching

python-repoze-what-pylons-setuptools.patch:
 setup.py |    3 ---
 1 file changed, 3 deletions(-)

--- NEW FILE python-repoze-what-pylons-setuptools.patch ---
--- setup.py.orig	2009-06-05 07:40:56.000000000 -0400
+++ setup.py	2009-06-05 07:41:01.000000000 -0400
@@ -15,9 +15,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-pylons.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:		python-repoze-what-pylons
Version:	1.0
Release:	3%{?dist}
Summary:	A plugin providing utilities for Pylons applications using repoze.what
Group:		Development/Languages
License:	BSD
URL:		http://code.gustavonarea.net/repoze.what-pylons/
Source0:	http://pypi.python.org/packages/source/r/repoze.what-pylons/repoze.what-pylons-%{version}.tar.gz
Patch0:		%{name}-setuptools.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	python-devel, python-setuptools-devel
Requires:	python-repoze-what >= 1.0.4
Requires:	python-pylons >= 0.9.7
Requires:	python-decorator >= 3.0

%description
This plugin provides optional and handy utilities for Pylons applications 
using repoze.what. Some of the features of the plugin include:
* The utilities are ready to use: There’s nothing additional to be configured 
  before using.
* 100% documented. Each component is documented along with code samples.
* The test suite has a coverage of 100% and it will never decrease – if it 
  ever does, report it as a bug!
* TurboGears 2 is officially supported as well.

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

%build
%{__python} setup.py build

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

%check
# Can't do tests due to circular dependencies
# PYTHONPATH=$(pwd) nosetests

%clean
rm -rf %{buildroot}

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

%changelog
* Wed Jul 01 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0-3
- fix rpmlint issues

* Fri Jun 05 2009 Luke Macken <lmacken at redhat.com> - 1.0-2
- Add a patch to ensure we use our own setuptools.

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


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-what-pylons/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	23 Jul 2009 13:36:23 -0000	1.1
+++ sources	23 Jul 2009 14:08:42 -0000	1.2
@@ -0,0 +1 @@
+6799d2a9f58deb6a8d9bc2b3129601e8  repoze.what-pylons-1.0.tar.gz




More information about the fedora-extras-commits mailing list