diff --git a/dependency_groups-1.3.0.tar.gz b/dependency_groups-1.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c99ab326a83e79d6f57827d089d8b19b7ba252b3 Binary files /dev/null and b/dependency_groups-1.3.0.tar.gz differ diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..28f1af9e4d8a042d4ca45f932a30471f41fd6ba9 --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +dependency_groups-1.3.0.tar.gz +python-dependency-groups.spec diff --git a/python-dependency-groups.spec b/python-dependency-groups.spec new file mode 100644 index 0000000000000000000000000000000000000000..c2a7b76f0e276271ff875ef14a19a6a52b6314bd --- /dev/null +++ b/python-dependency-groups.spec @@ -0,0 +1,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 - 1.3.0-1 +- Initial package diff --git a/python-dependency-groups.src.rpm b/python-dependency-groups.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..5120746b0537afd94a40495e8aa5e47e0d83d476 Binary files /dev/null and b/python-dependency-groups.src.rpm differ