rpms/python-cherrypy/devel python-cherrypy-regression-test.patch, NONE, 1.1 python-cherrypy-tutorial-doc.patch, NONE, 1.1 python-cherrypy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Wed Apr 6 09:53:03 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/python-cherrypy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26435/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-cherrypy-regression-test.patch 
	python-cherrypy-tutorial-doc.patch python-cherrypy.spec 
Log Message:
auto-import python-cherrypy-2.0.0-0.1.b on branch devel from python-cherrypy-2.0.0-0.1.b.src.rpm

python-cherrypy-regression-test.patch:

--- NEW FILE python-cherrypy-regression-test.patch ---
--- CherryPy-2.0.0b/cherrypy/test/test.py-orig	2005-03-20 20:24:17.437466584 +0100
+++ CherryPy-2.0.0b/cherrypy/test/test.py	2005-03-20 20:23:39.860179200 +0100
@@ -186,4 +186,4 @@
 #    - test hidden classes
 #    ...
 
-raw_input('hit enter')
+sys.exit(len(failedList))

python-cherrypy-tutorial-doc.patch:

--- NEW FILE python-cherrypy-tutorial-doc.patch ---
# Do not build tutorial and test
--- CherryPy-2.0.0b/setup.py-orig	2005-03-20 20:16:11.392356672 +0100
+++ CherryPy-2.0.0b/setup.py	2005-03-20 20:16:27.167958416 +0100
@@ -22,7 +22,7 @@
       author_email="team at cherrypy.org",
       url="http://www.cherrypy.org",
       license="BSD",
-      packages=["cherrypy", "cherrypy.lib", "cherrypy.lib.filter", "cherrypy.tutorial", "cherrypy.test"],
+      packages=["cherrypy", "cherrypy.lib", "cherrypy.lib.filter"],
       download_url="http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload"
 )
 


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

Name:           python-cherrypy
Version:        2.0.0
Release:        0.1.b
Summary:        A pythonic, object-oriented web development framework
Group:          Development/Libraries
License:        BSD
URL:            http://www.cherrypy.org/
Source0:        http://dl.sf.net/cherrypy/CherryPy-2.0.0b.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0:         python-cherrypy-tutorial-doc.patch
Patch1:         python-cherrypy-regression-test.patch

BuildArch:      noarch
Requires:       python-abi = %{pyver}

%description
CherryPy allows developers to build web applications in much the same way 
they would build any other object-oriented Python program. This usually 
results in smaller source code developed in less time.

%prep
%setup -q -n CherryPy-2.0.0b
%patch0 -p1 
%patch1 -p1


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build

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

%check
cd cherrypy/test
%{__python} test.py

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGELOG.txt CHERRYPYTEAM.txt README.txt
%doc cherrypy/tutorial
%dir %{python_sitelib}/cherrypy
%dir %{python_sitelib}/cherrypy/lib
%dir %{python_sitelib}/cherrypy/lib/filter
%{python_sitelib}/cherrypy/*.py
%{python_sitelib}/cherrypy/*.pyc
%ghost %{python_sitelib}/cherrypy/*.pyo
%{python_sitelib}/cherrypy/lib/*.py
%{python_sitelib}/cherrypy/lib/*.pyc
%ghost %{python_sitelib}/cherrypy/lib/*.pyo
%{python_sitelib}/cherrypy/lib/filter/*.py
%{python_sitelib}/cherrypy/lib/filter/*.pyc
%ghost %{python_sitelib}/cherrypy/lib/filter/*.pyo

%changelog
* Wed Mar 23 2005 Gijs Hollestelle <gijs[AT]gewis.nl> 2.0.0-0.1.b
- Initial Fedora Package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-cherrypy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Apr 2005 09:51:45 -0000	1.1
+++ .cvsignore	6 Apr 2005 09:53:01 -0000	1.2
@@ -0,0 +1 @@
+CherryPy-2.0.0b.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-cherrypy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Apr 2005 09:51:45 -0000	1.1
+++ sources	6 Apr 2005 09:53:01 -0000	1.2
@@ -0,0 +1 @@
+1a7822256854f67ab1b3def7923d9920  CherryPy-2.0.0b.tar.gz




More information about the fedora-extras-commits mailing list