]> git.pld-linux.org Git - packages/python-requestsexceptions.git/commitdiff
- updated to 1.4.0 master auto/th/python-requestsexceptions-1.4.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 12 Feb 2024 19:52:19 +0000 (20:52 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 12 Feb 2024 19:52:19 +0000 (20:52 +0100)
python-requestsexceptions.spec

index 3326feec88d8244c60135516cae72351f1fce50a..d6f99055eabfcb741e2478b899b6d519ba2433a0 100644 (file)
@@ -1,69 +1,84 @@
 #
 # Conditional build:
 #
 # 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
 %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
 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
 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: 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
 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}
 %endif
 %if %{with python3}
+BuildRequires: python3-modules >= 1:3.5
 BuildRequires: python3-pbr >= 2.0.0
 BuildRequires: python3-setuptools
 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
 %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.
 
 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.
 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
 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
 
 %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
 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.
 
 %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.
 
 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}
 
 %prep
 %setup -q -n requestsexceptions-%{version}
 
@@ -77,9 +92,7 @@ regardless of whether they are bundled.
 %endif
 
 %if %{with doc}
 %endif
 
 %if %{with doc}
-cd docs
-%{__make} -j1 html
-rm -rf _build/html/_sources
+%{__make} -C doc html
 %endif
 
 %install
 %endif
 
 %install
This page took 0.442662 seconds and 4 git commands to generate.