Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 755247 Details for
Bug 969413
Please provide python3 build
Home
New
Search
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.rh90 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 enable py3 builds as well
python-fixtures-py3.patch (text/plain), 2.57 KB, created by
Matthias Runge
on 2013-05-31 12:24:45 UTC
(
hide
)
Description:
patch to enable py3 builds as well
Filename:
MIME Type:
Creator:
Matthias Runge
Created:
2013-05-31 12:24:45 UTC
Size:
2.57 KB
patch
obsolete
>diff --git a/python-fixtures.spec b/python-fixtures.spec >index 4caeddb..ba77273 100644 >--- a/python-fixtures.spec >+++ b/python-fixtures.spec >@@ -1,9 +1,13 @@ >-# Created by pyp2rpm-0.5.2 > %global pypi_name fixtures >+%if 0%{?fedora} > 12 || 0%{?rhel} > 6 >+%global with_python3 1 >+%else >+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} >+%endif > > Name: python-%{pypi_name} > Version: 0.3.12 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Fixtures, reusable state for writing clean tests and more > > License: ASL 2.0 or BSD >@@ -22,16 +26,47 @@ make it easy to write your own fixtures using the fixtures contract. > Glue code is provided that makes using fixtures that meet the Fixtures > contract in unittest compatible test cases easy and straight forward. > >+%if 0%{?with_python3} >+%package -n python3-%{pypi_name} >+Summary: Fixtures, reusable state for writing clean tests and more >+BuildArch: noarch >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+Requires: python3-testtools >+ >+%description -n python3-%{pypi_name} >+Fixtures defines a Python contract for reusable state / support logic, >+primarily for unit testing. Helper and adaption logic is included to >+make it easy to write your own fixtures using the fixtures contract. >+Glue code is provided that makes using fixtures that meet the Fixtures >+contract in unittest compatible test cases easy and straight forward. >+ >+%endif >+ > > %prep > %setup -q -n %{pypi_name}-%{version} > >+%if 0%{?with_python3} >+cp -a . %{py3dir} >+%endif >+ > > %build > %{__python} setup.py build >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif # with_python3 > > > %install >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install --skip-build --root %{buildroot} >+popd >+%endif > %{__python} setup.py install --skip-build --root %{buildroot} > > >@@ -40,7 +75,17 @@ contract in unittest compatible test cases easy and straight forward. > %{python_sitelib}/%{pypi_name} > %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info > >+%if 0%{?with_python3} >+%files -n python3-%{pypi_name} >+%doc README GOALS NEWS Apache-2.0 BSD COPYING >+%{python3_sitelib}/%{pypi_name} >+%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >+%endif >+ > %changelog >+* Fri May 31 2013 Matthias Runge <mrunge@redhat.com> - 0.3.12-3 >+- enable python3 >+ > * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.12-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild >
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 969413
: 755247