Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 699651 Details for
Bug 912863
Package python3 subpackage for python-webtest
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to add a python3 subpackage
0001-Added-python3-subpackage.patch (text/plain), 3.14 KB, created by
Ralph Bean
on 2013-02-19 21:16:46 UTC
(
hide
)
Description:
Patch to add a python3 subpackage
Filename:
MIME Type:
Creator:
Ralph Bean
Created:
2013-02-19 21:16:46 UTC
Size:
3.14 KB
patch
obsolete
>From 522d35d4e26d6567dbecb967fed8753eee338dc8 Mon Sep 17 00:00:00 2001 >From: Ralph Bean <rbean@redhat.com> >Date: Tue, 19 Feb 2013 16:16:10 -0500 >Subject: [PATCH] Added python3 subpackage > >--- > python-webtest.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 63 insertions(+), 5 deletions(-) > >diff --git a/python-webtest.spec b/python-webtest.spec >index 8cfd8da..5d15671 100644 >--- a/python-webtest.spec >+++ b/python-webtest.spec >@@ -1,8 +1,12 @@ > %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} > >+%if 0%{?fedora} > 12 >+%global with_python3 1 >+%endif >+ > Name: python-webtest > Version: 1.3.4 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: Helper to test WSGI applications > > Group: Development/Languages >@@ -16,6 +20,15 @@ BuildRequires: python-setuptools > BuildRequires: python-nose > BuildRequires: python-webob > BuildRequires: python-dtopt >+ >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+BuildRequires: python3-nose >+BuildRequires: python3-webob1.2 >+BuildRequires: python3-dtopt >+%endif >+ > Requires: python-webob > > %description >@@ -25,35 +38,80 @@ requests to that application, without starting up an HTTP server. > This provides convenient full-stack testing of applications written > with any WSGI-compatible framework. > >+%if 0%{?with_python3} >+%package -n python3-webtest >+Summary: Helper to test WSGI applications >+Group: Development/Languages >+ >+Requires: python3-webtest >+ >+%description -n python3-webtest >+WebTest wraps any WSGI application and makes it easy to send test >+requests to that application, without starting up an HTTP server. >+ >+This provides convenient full-stack testing of applications written >+with any WSGI-compatible framework. >+%endif >+ >+ > %prep > %setup -q -n WebTest-%{version} > >+# Remove bundled egg info if it exists. >+rm -rf *.egg-info >+ >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a . %{py3dir} >+%endif > > %build > %{__python} setup.py build > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif > > %install > %{__rm} -rf %{buildroot} >-%{__python} setup.py install --skip-build --root %{buildroot} >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install -O1 --skip-build --root %{buildroot} >+popd >+%endif >+ >+%{__python} setup.py install -O1 --skip-build --root %{buildroot} > >- > %clean > %{__rm} -rf %{buildroot} > >- > %check > PYTHONPATH=$(pwd) %{__python} setup.py test > >+%if 0%{?with_python3} >+pushd %{py3dir} >+PYTHONPATH=$(pwd) %{__python3} setup.py test >+popd >+%endif > > %files >-%defattr(-,root,root,-) > %doc docs/* > %{python_sitelib}/webtest > %{python_sitelib}/*.egg-info > >+%if 0%{?with_python3} >+%files -n python3-webtest >+%doc docs/* >+%{python3_sitelib}/webtest >+%{python3_sitelib}/*.egg-info >+%endif > > %changelog >+* Tue Feb 19 2013 Ralph Bean <rbean@redhat.com> - 1.3.4-4 >+- Added python3 subpackage >+ > * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild > >-- >1.8.1.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912863
: 699651