blob: c2a7b76f0e276271ff875ef14a19a6a52b6314bd (
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
55
56
57
58
59
60
|
Name: python-dependency-groups
Version: 1.3.0
Release: 1
Summary: An implementation of Dependency Groups (PEP 735)
License: MIT
URL: https://pypi.org/project/dependency-groups/
Source: %{pypi_source dependency_groups}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-flit-core
# Upstream test deps contains coverage
BuildRequires: python3-pytest
%global _description %{expand:
An implementation of Dependency Groups (PEP 735).
This is a library which is able to parse dependency groups,
following includes, and provide that data as output.}
%description %_description
%package -n python3-dependency-groups
Summary: %{summary}
%description -n python3-dependency-groups %_description
%prep
%autosetup -p1 -n dependency_groups-%{version}
%build
%pyproject_build
%install
%pyproject_install
%check
%pytest
%files -n python3-dependency-groups
%license LICENSE.txt
%doc README.rst CHANGELOG.rst
%{_bindir}/dependency-groups
%{_bindir}/lint-dependency-groups
%{_bindir}/pip-install-dependency-groups
%{python3_sitelib}/dependency_groups
%{python3_sitelib}/dependency_groups-*.dist-info/
%changelog
* Tue May 13 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.3.0-1
- Initial package
|