[packages/python-requests-oauthlib] - disable python3 here, release 2
qboosh
qboosh at pld-linux.org
Sat Apr 18 09:41:02 CEST 2026
commit de75973751d27ffa65b60cc595dc261aebad6012
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 18 09:41:40 2026 +0200
- disable python3 here, release 2
python-requests-oauthlib.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec
index 24d3be8..0a3c67d 100644
--- a/python-requests-oauthlib.spec
+++ b/python-requests-oauthlib.spec
@@ -3,13 +3,14 @@
%bcond_without doc # API documentation
%bcond_without tests # unit tests
%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with python3 # CPython 3.x module (built from python3-requests-oauthlib.spec)
Summary: OAuthlib authentication support for Requests
Summary(pl.UTF-8): Obsługa uwierzytelniania przez OAuthlib dla Requests
Name: python-requests-oauthlib
+# keep 1.3.x here for python2 support (1.4.x are yanked, 2.x python3-only)
Version: 1.3.1
-Release: 1
+Release: 2
License: ISC
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/requests-oauthlib/
@@ -41,7 +42,7 @@ BuildRequires: python3-requests-mock
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-%{?with_doc:BuildRequires: sphinx-pdg}
+%{?with_doc:BuildRequires: sphinx-pdg-2}
Requires: python-modules >= 1:2.7
Obsoletes: python-requests_oauthlib < 0.6.1-3
BuildArch: noarch
@@ -98,7 +99,8 @@ Dokumentacja API biblioteki requests-oauthlib.
%endif
%if %{with doc}
-%{__make} -C docs html
+%{__make} -C docs html \
+ SPHINXBUILD=sphinx-build-2
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-requests-oauthlib.git/commitdiff/de75973751d27ffa65b60cc595dc261aebad6012
More information about the pld-cvs-commit
mailing list