[packages/python3-id] - new

qboosh qboosh at pld-linux.org
Sun Dec 7 14:14:36 CET 2025


commit 03d419155b8edca641e064958e9ccebae84d85c2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 7 14:14:43 2025 +0100

    - new

 python3-id.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/python3-id.spec b/python3-id.spec
new file mode 100644
index 0000000..71061cd
--- /dev/null
+++ b/python3-id.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	A tool for generating OIDC identities
+Summary(pl.UTF-8):	Narzędzie do generowania tożsamości OIDC
+Name:		python3-id
+Version:	1.5.0
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/id/
+Source0:	https://files.pythonhosted.org/packages/source/i/id/id-%{version}.tar.gz
+# Source0-md5:	0dfa778f2fc740c95abd990209aa0036
+URL:		https://pypi.org/project/id/
+BuildRequires:	python3-build
+BuildRequires:	python3-flit_core >= 3.2
+BuildRequires:	python3-flit_core < 4
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.8
+%if %{with tests}
+BuildRequires:	python3-pretend
+BuildRequires:	python3-pytest
+BuildRequires:	python3-requests
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.8
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+id is a Python tool for generating OIDC identities. It can
+automatically detect and produce OIDC credentials on a number of
+environments, including GitHub Actions, GitLab pipelines and Google
+Cloud.
+
+%description -l pl.UTF-8
+id to narzędzie Pythona do generowania tożsamości OIDC. Potrafi
+automatycznie wykryć i utworzyć dane uwierzytelniające OIDC w wielu
+środowiskach, w tym GitHub Actions, GitLab Pipelines i Google Cloud.
+
+%prep
+%setup -q -n id-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{py3_sitescriptdir}/id
+%{py3_sitescriptdir}/id-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-id.git/commitdiff/03d419155b8edca641e064958e9ccebae84d85c2



More information about the pld-cvs-commit mailing list