summaryrefslogtreecommitdiff
path: root/python-id.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-14 03:46:51 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-14 03:46:51 +0000
commit0484caf4548c1899fa8e6a9b071dfc1944f8beed (patch)
treeedd42ce8cd6c62a6e880d6dd69951c1c4940e7d1 /python-id.spec
parente70f1e4e3e4fce5467ef3b8c5fd5647f4e5c71c9 (diff)
automatic import of python-id
Diffstat (limited to 'python-id.spec')
-rw-r--r--python-id.spec50
1 files changed, 50 insertions, 0 deletions
diff --git a/python-id.spec b/python-id.spec
new file mode 100644
index 0000000..8363f5d
--- /dev/null
+++ b/python-id.spec
@@ -0,0 +1,50 @@
+Name: python-id
+Version: 1.5.0
+Release: 1
+Summary: A tool for generating OIDC identities
+
+License: Apache-2.0
+URL: https://github.com/di/id
+Source: %{pypi_source id}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: python3-pytest
+BuildRequires: python3-pretend
+
+
+%global _description %{expand:
+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 %_description
+
+%package -n python3-id
+Summary: %{summary}
+
+%description -n python3-id %_description
+
+%prep
+%autosetup -p1 -n id-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%check
+%pytest
+
+
+%files -n python3-id
+%license LICENSE
+%doc README.md
+%{python3_sitelib}/id
+%{python3_sitelib}/id-*.dist-info/
+
+
+%changelog
+* Fri Mar 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.5.0-1
+- package init