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 873323 Details for
Bug 1075410
RFE: python3-colorama
[?]
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-build-python3-subpackage.patch (text/plain), 2.68 KB, created by
Pete Travis
on 2014-03-12 04:37:22 UTC
(
hide
)
Description:
spec file patch
Filename:
MIME Type:
Creator:
Pete Travis
Created:
2014-03-12 04:37:22 UTC
Size:
2.68 KB
patch
obsolete
>From e8b6e30fece76e4783ac8cbc39f9a34305093d5e Mon Sep 17 00:00:00 2001 >From: Pete Travis <immanetize@fedoraproject.org> >Date: Tue, 11 Mar 2014 22:34:16 -0600 >Subject: [PATCH] build python3 subpackage > >--- > python-colorama.spec | 47 ++++++++++++++++++++++++++++++++++++++++++----- > 1 file changed, 42 insertions(+), 5 deletions(-) > >diff --git a/python-colorama.spec b/python-colorama.spec >index 2650afe..2a82d86 100644 >--- a/python-colorama.spec >+++ b/python-colorama.spec >@@ -1,8 +1,9 @@ > %global pypi_name colorama >+%global with_python3 1 > > Name: python-%{pypi_name} > Version: 0.2.7 >-Release: 1%{?dist} >+Release: 2%{?dist} > Summary: Cross-platform colored terminal text > > License: BSD >@@ -24,6 +25,22 @@ It also provides some shortcuts to help generate ANSI sequences, and works fine > in conjunction with any other ANSI sequence generation library, such as > Termcolor. > >+%if 0%{?with_python3} >+%package -n python3-%{pypi_name} >+BuildRequires: python3-devel >+Summary: Cross-platform colored terminal text >+ >+%description -n python3-%{pypi_name} >+Makes ANSI escape character sequences, for producing colored >+terminal text and cursor positioning, work under MS Windows. >+ >+ANSI escape character sequences have long been used to produce colored terminal >+text and cursor positioning on Unix and Macs. Colorama makes this work on >+Windows, too. >+It also provides some shortcuts to help generate ANSI sequences, and works fine >+in conjunction with any other ANSI sequence generation library, such as >+Termcolor. >+%endif > > %prep > %setup -q -n %{pypi_name}-%{version} >@@ -34,19 +51,39 @@ sed -i 's/\r//' README.txt > > > %build >-%{__python} setup.py build >+%if 0%{?with_python3} >+%{__python3} setup.py build >+mv build build3 >+%endif > >+%{__python2} setup.py build >+mv build build2 > > %install >-%{__python} setup.py install --skip-build --root %{buildroot} >+%if 0%{with_python3} >+mv build3 build >+%{__python3} setup.py install --skip-build --root %{buildroot} >+rm -rf build >+%endif >+ >+mv build2 build >+%{__python2} setup.py install --skip-build --root %{buildroot} > > > %files > %doc README.txt LICENSE.txt >-%{python_sitelib}/%{pypi_name} >-%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >+%{python2_sitelib}/%{pypi_name} >+%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info >+ >+%files -n python3-%{pypi_name} >+%doc README.txt LICENSE.txt >+%{python3_sitelib}/%{pypi_name} >+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info > > %changelog >+* Tue Mar 11 2014 Pete Travis <immanetize@fedoraproject.org> 0.2.7-2 >+- Adding python3 subpackage >+ > * Mon Sep 30 2013 Matthias Rugne <mrunge@redhat.com> - 0.2.7-1 > - uddate to 0.2.7 (rhbz#1010924) > >-- >1.8.1.4 >
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 1075410
: 873323