[packages/python-requestsexceptions] - updated to 1.4.0

qboosh qboosh at pld-linux.org
Mon Feb 12 21:04:03 CET 2024


commit b65eaa88a2f0367119d5fdf1192cf634b3307154
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 12 20:52:19 2024 +0100

    - updated to 1.4.0

 python-requestsexceptions.spec | 65 +++++++++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 26 deletions(-)
---
diff --git a/python-requestsexceptions.spec b/python-requestsexceptions.spec
index 3326fee..d6f9905 100644
--- a/python-requestsexceptions.spec
+++ b/python-requestsexceptions.spec
@@ -1,69 +1,84 @@
 #
 # Conditional build:
-%bcond_with	tests	# do perform "make test" (tricky python-hacking dependency)
+%bcond_with	doc	# Sphinx documentation (not included in sdist)
+%bcond_with	tests	# unit tests (not included in sdist)
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
 
 Summary:	Import exceptions from potentially bundled packages in requests
+Summary(pl.UTF-8):	Importowanie wyjątków z pakietów potencjalnie załączonych do requests
 Name:		python-requestsexceptions
-Version:	1.3.0
-Release:	7
-License:	Apache
+Version:	1.4.0
+Release:	1
+License:	Apache v2.0
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/r/requestsexceptions/requestsexceptions-%{version}.tar.gz
-# Source0-md5:	85c9a2c5c5ecbd2deb0a491613fbdd12
-URL:		https://pypi.python.org/pypi/requestsexceptions
+# Source0-md5:	f43b246ccd7d5b618e6f0dc946a6c3f3
+URL:		https://pypi.org/project/requestsexceptions/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
+BuildRequires:	python-modules >= 1:2.7
 BuildRequires:	python-pbr >= 2.0.0
 BuildRequires:	python-setuptools
-%if %{with tests}
-BuildRequires:	python-hacking >= 0.12.0
-BuildConflicts:	python-hacking = 0.13.0
-BuildConflicts:	python-hacking >= 0.14
-%endif
 %endif
 %if %{with python3}
+BuildRequires:	python3-modules >= 1:3.5
 BuildRequires:	python3-pbr >= 2.0.0
 BuildRequires:	python3-setuptools
-%if %{with tests}
-BuildRequires:	python3-hacking >= 0.12.0
-BuildConflicts:	python3-hacking = 0.13.0
-BuildConflicts:	python3-hacking >= 0.14
-%endif
 %endif
-Requires:	python-modules
+Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Import exceptions from potentially bundled packages in requests.
 
-The python requests library bundles the urllib3 library, however, some
+The Python requests library bundles the urllib3 library, however, some
 software distributions modify requests to remove the bundled library.
-This makes some operations, such as supressing the “insecure platform
-warning” messages that urllib emits difficult. This is a simple
+This makes some operations, such as supressing the "insecure platform
+warning" messages that urllib emits difficult. This is a simple
 library to find the correct path to exceptions in the requests library
 regardless of whether they are bundled.
 
 %description -l pl.UTF-8
+Importowanie wyjątków z pakietów potencjalnie załączonych do requests.
+
+Biblioteka Pythona requests załącza bibliotekę urllib3, jednak
+niektóre dystrybucje oprogramowania modyfikują requests, aby usunąć
+załączoną bibliotekę. To powoduje, że niektóre operacje, takie jak
+pomijanie komunikatów "insecure platform warning" z urllib są
+utrudnione. requestsexceptions to prosta biblioteka znajdująca ścieżki
+do wyjątków w bibliotece requests niezależnie od tego, czy są
+załączone.
 
 %package -n python3-requestsexceptions
 Summary:	Import exceptions from potentially bundled packages in requests
+Summary(pl.UTF-8):	Importowanie wyjątków z pakietów potencjalnie załączonych do requests
 Group:		Libraries/Python
-Requires:	python3-modules
+Requires:	python3-modules >= 1:3.5
 
 %description -n python3-requestsexceptions
 Import exceptions from potentially bundled packages in requests.
 
 The python requests library bundles the urllib3 library, however, some
 software distributions modify requests to remove the bundled library.
-This makes some operations, such as supressing the “insecure platform
-warning” messages that urllib emits difficult. This is a simple
+This makes some operations, such as supressing the "insecure platform
+warning" messages that urllib emits difficult. This is a simple
 library to find the correct path to exceptions in the requests library
 regardless of whether they are bundled.
 
+%description -n python3-requestsexceptions -l pl.UTF-8
+Importowanie wyjątków z pakietów potencjalnie załączonych do requests.
+
+Biblioteka Pythona requests załącza bibliotekę urllib3, jednak
+niektóre dystrybucje oprogramowania modyfikują requests, aby usunąć
+załączoną bibliotekę. To powoduje, że niektóre operacje, takie jak
+pomijanie komunikatów "insecure platform warning" z urllib są
+utrudnione. requestsexceptions to prosta biblioteka znajdująca ścieżki
+do wyjątków w bibliotece requests niezależnie od tego, czy są
+załączone.
+
 %prep
 %setup -q -n requestsexceptions-%{version}
 
@@ -77,9 +92,7 @@ regardless of whether they are bundled.
 %endif
 
 %if %{with doc}
-cd docs
-%{__make} -j1 html
-rm -rf _build/html/_sources
+%{__make} -C doc html
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-requestsexceptions.git/commitdiff/b65eaa88a2f0367119d5fdf1192cf634b3307154



More information about the pld-cvs-commit mailing list