summaryrefslogtreecommitdiff
path: root/python-id.spec
blob: 7ea9ea830f8a78eed37ad47bf13b62c520017970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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-setuptools
BuildRequires:  python3-pip
BuildRequires:  python3-wheel
BuildRequires:  python3-hatchling
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