diff options
Diffstat (limited to 'python-dependency-groups.spec')
-rw-r--r-- | python-dependency-groups.spec | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/python-dependency-groups.spec b/python-dependency-groups.spec new file mode 100644 index 0000000..481d944 --- /dev/null +++ b/python-dependency-groups.spec @@ -0,0 +1,59 @@ +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 +# 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 |