diff options
author | CoprDistGit <infra@openeuler.org> | 2025-05-13 03:14:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-05-13 03:14:56 +0000 |
commit | 78851001ab1c25108c31beddcc3fbe84b01da703 (patch) | |
tree | 5e3fcdc5cc7728b11348f6e44c383adf6a775bee | |
parent | b347380cd87c29575ee5b3e1ec3168e545d7db06 (diff) |
automatic import of python-dependency-groups
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dependency-groups.spec | 59 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 61 insertions, 0 deletions
@@ -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 <dongxing.wang_a@thundersoft.com> - 1.3.0-1 +- Initial package @@ -0,0 +1 @@ +c462ff25709929dbca9e2b1222be6b3b dependency_groups-1.3.0.tar.gz |