%global pypi_name debugpy %global pypi_version 1.8.20 Name: python-%{pypi_name} Version: 1.8.20 Release: 1.20260327190541252447.main%{?dist} Summary: An implementation of the Debug Adapter Protocol for Python License: MIT URL: https://github.com/microsoft/debugpy Source0: debugpy-1.8.20.tar.gz BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: gcc BuildRequires: gcc-c++ # For building Cython extensions BuildRequires: python3-cython %description debugpy is an implementation of the Debug Adapter Protocol for Python 3. It enables debugging Python applications through a standardized protocol, allowing various IDEs and editors to connect and control execution. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} debugpy is an implementation of the Debug Adapter Protocol for Python 3. It enables debugging Python applications through a standardized protocol, allowing various IDEs and editors to connect and control execution. %prep %autosetup -n debugpy-1.8.20 %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %{_bindir}/debugpy %{_bindir}/debugpy-adapter %changelog * Fri Mar 27 2026 Packit - 1.8.20-1.20260327190541252447.main - Development snapshot (748ef6f7) * Thu Mar 26 2026 Bruno - 1.8.20-1 - Initial package for Fedora, CentOS Stream, and EPEL