From 78851001ab1c25108c31beddcc3fbe84b01da703 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 13 May 2025 03:14:56 +0000 Subject: automatic import of python-dependency-groups --- .gitignore | 1 + python-dependency-groups.spec | 59 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+) create mode 100644 python-dependency-groups.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1f62ae0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dependency_groups-1.3.0.tar.gz 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 - 1.3.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..ba71c93 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c462ff25709929dbca9e2b1222be6b3b dependency_groups-1.3.0.tar.gz -- cgit v1.2.3