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 830698 Details for
Bug 1036155
add python3-requests-oauthlib subpackage
[?]
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]
git commit adding python3 subpackage
0001-added-python3-subpackage.patch (text/plain), 2.88 KB, created by
Jakub Dorňák
on 2013-11-29 15:26:49 UTC
(
hide
)
Description:
git commit adding python3 subpackage
Filename:
MIME Type:
Creator:
Jakub Dorňák
Created:
2013-11-29 15:26:49 UTC
Size:
2.88 KB
patch
obsolete
>From 7843e82777f33311a91e7f2e2f5d118f606812f6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jakub=20Dor=C5=88=C3=A1k?= <jdornak@redhat.com> >Date: Fri, 29 Nov 2013 16:24:27 +0100 >Subject: [PATCH] added python3 subpackage > >--- > python-requests-oauthlib.spec | 54 ++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 53 insertions(+), 1 deletion(-) > >diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec >index 08b12c3..3a54193 100644 >--- a/python-requests-oauthlib.spec >+++ b/python-requests-oauthlib.spec >@@ -1,9 +1,11 @@ >+%bcond_without python3 >+ > %global distname requests-oauthlib > %global modname requests_oauthlib > > Name: python-requests-oauthlib > Version: 0.4.0 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: OAuthlib authentication support for Requests. > > Group: Development/Libraries >@@ -21,24 +23,64 @@ BuildRequires: python-mock > BuildRequires: python-oauthlib > BuildRequires: python-requests > >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+ >+BuildRequires: python3-oauthlib >+BuildRequires: python3-requests >+%endif >+ >+ > Requires: python-oauthlib > Requires: python-requests > > %description > This project provides first-class OAuth library support for python-request. > >+%if 0%{?with_python3} >+%package -n python3-%{distname} >+Summary: OAuthlib authentication support for Requests. >+Group: Development/Libraries >+ >+Requires: python3-oauthlib >+Requires: python3-requests >+ >+%description -n python3-%{distname} >+This project provides first-class OAuth library support for python-request. >+%endif >+ > %prep > %setup -q -n %{distname}-%{version} > > # Remove bundled egg-info in case it exists > rm -rf %{distname}.egg-info > >+%if 0%{?with_python3} >+cp -a . %{py3dir} >+%endif >+ >+ > %build > %{__python2} setup.py build > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif >+ >+ > %install > %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install -O1 --skip-build --root=%{buildroot} >+popd >+%endif >+ >+ > # Upstream doesn't actually ship the tests with the tarball. > # https://github.com/requests/requests-oauthlib/pull/91 > #%%check >@@ -49,7 +91,17 @@ rm -rf %{distname}.egg-info > %{python2_sitelib}/%{modname}/ > %{python2_sitelib}/%{modname}-%{version}* > >+%if 0%{?with_python3} >+%files -n python3-%{distname} >+%doc README.rst LICENSE HISTORY.rst requirements.txt AUTHORS.rst >+%{python3_sitelib}/%{modname}/ >+%{python3_sitelib}/%{modname}-%{version}* >+%endif >+ > %changelog >+* Fri Nov 29 2013 Jakub DorÅák <jdornak@redhat.com> - 0.4.0-3 >+- added python3 subpackage >+ > * Fri Nov 01 2013 Ralph Bean <rbean@redhat.com> - 0.4.0-2 > - Modernized the python2 rpm macros as per review feedback. > >-- >1.8.4.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 1036155
: 830698