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 928073 Details for
Bug 1131278
support for python 3
[?]
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]
spec file patch
0001-Add-support-for-Python-3.patch (text/plain), 2.46 KB, created by
Jan Včelák
on 2014-08-18 21:18:31 UTC
(
hide
)
Description:
spec file patch
Filename:
MIME Type:
Creator:
Jan Včelák
Created:
2014-08-18 21:18:31 UTC
Size:
2.46 KB
patch
obsolete
>From b8fd25c63f4f3db9d276bf92a0553ebec6a24478 Mon Sep 17 00:00:00 2001 >From: Jan Vcelak <jvcelak@fedoraproject.org> >Date: Mon, 18 Aug 2014 23:16:21 +0200 >Subject: [PATCH] Add support for Python 3 > >--- > python-xtermcolor.spec | 38 +++++++++++++++++++++++++++++++------- > 1 file changed, 31 insertions(+), 7 deletions(-) > >diff --git a/python-xtermcolor.spec b/python-xtermcolor.spec >index 2d6ff70..7314e79 100644 >--- a/python-xtermcolor.spec >+++ b/python-xtermcolor.spec >@@ -3,7 +3,7 @@ > > Name: python-%{pypi_name} > Version: 1.2.1 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Python module for colorizing output with xterm 256 color support > > License: MIT >@@ -22,6 +22,16 @@ BuildRequires: python-setuptools > Python module for colorizing output with xterm 256 color support. > > >+%package -n python3-xtermcolor >+Summary: Python module for colorizing output with xterm 256 color support >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+ >+ >+%description -n python3-xtermcolor >+Python module for colorizing output with xterm 256 color support. >+ >+ > %prep > %setup -q -n %{pypi_name}-%{version} > # Remove bundled egg-info >@@ -32,23 +42,37 @@ sed -i '/distribute_setup/d' setup.py > > > %build >-%{__python} setup.py build >+%{__python2} setup.py build >+%{__python3} setup.py build > > > %install >-%{__python} setup.py install --skip-build --root %{buildroot} >+%{__python2} setup.py install --skip-build --root %{buildroot} >+%{__python3} setup.py install --skip-build --root %{buildroot} >+ >+# remove file used for generation of setup.py >+for sitelib in %{python2_sitelib} %{python3_sitelib}; do >+ rm -f %{buildroot}${sitelib}/%{pypi_name}/distribute_setup.py* >+done > > > %files > %doc LICENSE README >+%{python2_sitelib}/%{pypi_name} >+%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >+ >+ >+%files -n python3-xtermcolor >+%doc LICENSE README > %{_bindir}/xtermcolor >-%{python_sitelib}/%{pypi_name} >-# exclude file used for generation of setup.py >-%exclude %{python_sitelib}/%{pypi_name}/distribute_setup.py* >-%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >+%{python3_sitelib}/%{pypi_name} >+%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info > > > %changelog >+* Mon Aug 18 2014 Jan Vcelak <jvcelak@fedoraproject.org> 1.2.1-3 >+- Add python3-xtermcolor subpackage >+ > * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >-- >1.9.3 >
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 1131278
: 928073