-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpython3-debugpy.spec
More file actions
50 lines (39 loc) · 1.32 KB
/
python3-debugpy.spec
File metadata and controls
50 lines (39 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%global pypi_name debugpy
%global pypi_version 1.8.20
Name: python3-%{pypi_name}
Version: %{pypi_version}
Release: 1%{?dist}
Summary: An implementation of the Debug Adapter Protocol for Python
License: MIT
URL: https://github.com/microsoft/debugpy
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-pip
BuildRequires: python3-setuptools
%if 0%{?rhel} && 0%{?rhel} < 11
BuildRequires: python3-wheel
%endif
BuildRequires: gcc
BuildRequires: gcc-c++
# For building Cython extensions
BuildRequires: python3-cython
%{?python_provide:%python_provide python3-%{pypi_name}}
%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.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%files -f %{pyproject_files}
%doc README.md
%{_bindir}/debugpy
%{_bindir}/debugpy-adapter
%changelog
* Thu Mar 26 2026 Bruno <bciconel@redhat.com> - 1.8.20-1
- Initial package for Fedora, CentOS Stream, and EPEL