[packages/python3-types-toml] - new

qboosh qboosh at pld-linux.org
Tue Nov 14 18:15:17 CET 2023


commit cd78b1a6092c5c6d80ff6efc2c3d3f1388ee16d2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 14 17:45:56 2023 +0100

    - new

 python3-types-toml.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/python3-types-toml.spec b/python3-types-toml.spec
new file mode 100644
index 0000000..c7b4f25
--- /dev/null
+++ b/python3-types-toml.spec
@@ -0,0 +1,49 @@
+Summary:	Typing stubs for toml
+Summary(pl.UTF-8):	Zaślepki typów dla modułu toml
+Name:		python3-types-toml
+Version:	0.10.8.7
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/types-toml/
+Source0:	https://files.pythonhosted.org/packages/source/t/types-toml/types-toml-%{version}.tar.gz
+# Source0-md5:	9a35470257ab36a63d6d28449f9f0584
+URL:		https://pypi.org/project/types-toml/
+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 toml package. It can be
+used by type-checking tools like mypy, pyright, pytype, PyCharm, etc.
+to check code that uses toml.
+
+%description -l pl.UTF-8
+Zgodny z PEP 561 pakiet zaślepek typów dla pakietu toml. Może być
+używany przez narzędzia sprawdzające typy, takie jak mypy, pyright,
+pytype, PyCharm itp. do sprawdzania kodu wykorzystującego bibliotekę
+toml.
+
+%prep
+%setup -q -n types-toml-%{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}/toml-stubs
+%{py3_sitescriptdir}/types_toml-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-types-toml.git/commitdiff/cd78b1a6092c5c6d80ff6efc2c3d3f1388ee16d2



More information about the pld-cvs-commit mailing list