[packages/python3-types-urllib3] - initial, obsolete with urllib3 2+

qboosh qboosh at pld-linux.org
Tue Jan 27 17:04:11 CET 2026


commit 00d59195127efa57716b4b4411a54a8fdbc558ae
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 27 17:04:14 2026 +0100

    - initial, obsolete with urllib3 2+

 python3-types-urllib3.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/python3-types-urllib3.spec b/python3-types-urllib3.spec
new file mode 100644
index 0000000..f473570
--- /dev/null
+++ b/python3-types-urllib3.spec
@@ -0,0 +1,53 @@
+Summary:	Typing stubs for urllib3
+Summary(pl.UTF-8):	Zaślepki typów dla modułu urllib3
+Name:		python3-types-urllib3
+Version:	1.26.25.14
+Release:	0.1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/types-urllib3/
+Source0:	https://files.pythonhosted.org/packages/source/t/types-urllib3/types-urllib3-%{version}.tar.gz
+# Source0-md5:	69f8594b4c188b5ae7ce826375cec45a
+URL:		https://pypi.org/project/types-urllib3/
+BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a PEP 561 type stub package for the urllib3 package. It can be
+used by type-checking tools like mypy, pyright, pytype, PyCharm, etc.
+to check code that uses urllib3.
+
+Obsolete since urllib3 2.0.0.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera zaślepki typów zgodne z PEP 561 dla pakietu
+urllib3. Mogą one być używany przez narzędzia sprawdzające typy, takie
+jak mypy, pyright, pytype, PyCharm itp. do sprawdzania kodu
+wykorzystującego urllib3.
+
+Zbędne od urllib3 w wersji 2.0.0.
+
+%prep
+%setup -q -n types-urllib3-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md 
+%{py3_sitescriptdir}/urllib3-stubs
+%{py3_sitescriptdir}/types_urllib3-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-types-urllib3.git/commitdiff/00d59195127efa57716b4b4411a54a8fdbc558ae



More information about the pld-cvs-commit mailing list