[python-webob1.1] Initial import of python-webob1.1 compat package
Luke Macken
lmacken at fedoraproject.org
Tue Apr 2 14:20:57 UTC 2013
commit b2534e01a4b8b20e21be3e51c71c3e91d68b2274
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Apr 2 10:20:43 2013 -0400
Initial import of python-webob1.1 compat package
.gitignore | 1 +
python-webob-1.1.1-deprecation-warning.patch | 11 ++
python-webob1.1.spec | 145 ++++++++++++++++++++++++++
sources | 1 +
4 files changed, 158 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..71bc6c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WebOb-1.1.1.zip
diff --git a/python-webob-1.1.1-deprecation-warning.patch b/python-webob-1.1.1-deprecation-warning.patch
new file mode 100644
index 0000000..7fcab31
--- /dev/null
+++ b/python-webob-1.1.1-deprecation-warning.patch
@@ -0,0 +1,11 @@
+diff -up WebOb-1.1.1/webob/dec.py.bak WebOb-1.1.1/webob/dec.py
+--- WebOb-1.1.1/webob/dec.py.bak 2013-01-09 10:31:50.304990921 +0100
++++ WebOb-1.1.1/webob/dec.py 2013-01-09 10:33:55.159524392 +0100
+@@ -139,7 +139,6 @@ class wsgify(object):
+ start_response = args[0]
+ req = self.RequestClass(environ)
+ req.response = req.ResponseClass()
+- req.response.request = req
+ try:
+ args = self.args
+ if self.middleware_wraps:
diff --git a/python-webob1.1.spec b/python-webob1.1.spec
new file mode 100644
index 0000000..b34619b
--- /dev/null
+++ b/python-webob1.1.spec
@@ -0,0 +1,145 @@
+%{!?py2ver: %global py2ver %(%{__python} -c "import sys ; print sys.version[:3]")}
+
+%global modname webob
+
+Name: python-webob1.1
+Summary: WSGI request and response object
+Version: 1.1.1
+Release: 6%{?dist}
+License: MIT
+Group: System Environment/Libraries
+URL: http://pythonpaste.org/webob/
+Source0: http://pypi.python.org/packages/source/W/WebOb/WebOb-%{version}.zip
+# fix deprecation warning (rhbz#801312)
+Patch0: python-webob-1.1.1-deprecation-warning.patch
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools-devel
+BuildRequires: python-nose
+BuildRequires: python-webtest
+
+%description
+WebOb provides wrappers around the WSGI request environment, and an object to
+help create WSGI responses. The objects map much of the specified behavior of
+HTTP, including header parsing and accessors for other standard parts of the
+environment.
+
+%prep
+%setup -q -n WebOb-%{version}
+%patch0 -p1
+
+# Disable performance_test, which requires repoze.profile, which isn't
+# in Fedora.
+%{__rm} -f tests/performance_test.py
+
+
+%build
+%{__python} setup.py build bdist_egg
+
+
+%install
+%{__mkdir} -p %{buildroot}%{python_sitelib}
+easy_install-%{py2ver} -m --prefix %{buildroot}%{_usr} dist/*.egg
+%{__chmod} 0644 %{buildroot}%{python_sitelib}/WebOb-%{version}-*.egg/%{modname}/*.py
+
+
+%check
+PYTHONPATH=$(pwd) nosetests
+
+
+%files
+%doc docs/*
+%{python_sitelib}/WebOb-%{version}-py%{py2ver}.egg
+
+%changelog
+* Wed Mar 27 2013 Luke Macken <lmacken at redhat.com> - 1.1.1-6
+- Turned into a python-webob1.1 compat package
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Wed Jan 09 2013 Matthias Runge <mrunge at redhat.com> - 1.1.1-4
+- fix deprecation warning (rhbz#801312)
+- minor spec cleanup
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Dec 14 2011 Luke Macken <lmacken at redhat.com> - 1.1.1-1
+- Update to the latest stable release
+- Remove wsgiproxy, tempita, and dtopt from our build requirements
+
+* Wed Aug 17 2011 Nils Philippsen <nils at redhat.com> - 1.0.8-1
+- Update to 1.0.8 for TurboGears 2.1.1 which needs 1.0.7 (#663117)
+
+* Mon Mar 21 2011 Luke Macken <lmacken at redhat.com> - 1.0.5-1
+- Update to 1.0.5, which restores Python 2.4 support
+
+* Thu Feb 24 2011 Luke Macken <lmacken at redhat.com> - 1.0.3-1
+- Update to 1.0.3
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Dec 14 2010 Ricky Zhou <ricky at fedoraproject.org> - 1.0-1
+- Upstream released new version.
+
+* Sun Jul 25 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.9.8-4
+- Reenable tests since python-webtest is now available
+
+* Sun Jul 25 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.9.8-3
+- Disable tests. We need to bootstrap against python-webtest
+
+* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.9.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Wed May 05 2010 Luke Macken <lmacken at redhat.com> - 0.9.8-1
+- Latest upstream release
+- Get the test suite running
+
+* Tue Jan 19 2010 Ricky Zhou <ricky at fedoraproject.org> - 0.9.7.1-1
+- Upstream released new version.
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.6.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Apr 14 2009 Ricky Zhou <ricky at fedoraproject.org> - 0.9.6.1-2
+- Change define to global.
+- Remove unnecessary BuildRequires on python-devel.
+
+* Tue Mar 10 2009 Ricky Zhou <ricky at fedoraproject.org> - 0.9.6.1-1
+- Upstream released new version.
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Tue Jan 06 2009 Luke Macken <lmacken at redhat.com> 0.9.5-1
+- Update to 0.9.5
+
+* Sat Dec 06 2008 Ricky Zhou <ricky at fedoraproject.org> 0.9.4-1
+- Upstream released new version.
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.9.3-3
+- Rebuild for Python 2.6
+
+* Tue Sep 30 2008 Ricky Zhou <ricky at fedoraproject.org> 0.9.3-2
+- Add BuildRequires on python-tempita.
+
+* Tue Sep 30 2008 Ricky Zhou <ricky at fedoraproject.org> 0.9.3-1
+- Upstream released new version.
+
+* Thu Jul 17 2008 Ricky Zhou <ricky at fedoraproject.org> 0.9.2-2
+- Remove conftest from the tests.
+
+* Fri Jun 27 2008 Ricky Zhou <ricky at fedoraproject.org> 0.9.2-1
+- Upstream released new version.
+- Rename to python-webob, as mentioned in the Python package naming
+ guidelines.
+- Clean up spec.
+- Add %%check section.
+
+* Sat Mar 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.9-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..3f19355 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+989155580606c1f5472fced859976b4b WebOb-1.1.1.zip
More information about the scm-commits
mailing list