Accepting request 1131030 from devel:languages:python
- remove python 3.6 support as the version update to 1.8.0 dropped it - Update to version 1.6.3 * Look for the correct pthread library. - enable testsuite (multibuild) OBS-URL: https://build.opensuse.org/request/show/1131030 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=13
This commit is contained in:
commit
2d0bf79304
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 5 17:14:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- remove python 3.6 support as the version update to 1.8.0 dropped
|
||||||
|
it
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 20 09:17:20 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Mon Nov 20 09:17:20 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -25,12 +25,8 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
# Python 2 and 3.6 are officially supported, but debugpy is in openSUSE for ipykernel 6 which is for Python >= 3.7.
|
%{?sle15_python_module_pythons}
|
||||||
# Skip Py2 in Leap and Py36 in TW in order to save resources.
|
Name: python-debugpy%{psuffix}
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
%define modname debugpy
|
|
||||||
Name: python-%{modname}%{psuffix}
|
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An implementation of the Debug Adapter Protocol for Python
|
Summary: An implementation of the Debug Adapter Protocol for Python
|
||||||
@ -38,15 +34,15 @@ License: MIT
|
|||||||
URL: https://github.com/microsoft/debugpy/
|
URL: https://github.com/microsoft/debugpy/
|
||||||
Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz
|
Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel >= 3.8}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module %{modname} = %{version}}
|
|
||||||
BuildRequires: %{python_module Django}
|
BuildRequires: %{python_module Django}
|
||||||
BuildRequires: %{python_module Flask}
|
BuildRequires: %{python_module Flask}
|
||||||
|
BuildRequires: %{python_module debugpy = %{version}}
|
||||||
BuildRequires: %{python_module gevent}
|
BuildRequires: %{python_module gevent}
|
||||||
BuildRequires: %{python_module greenlet}
|
BuildRequires: %{python_module greenlet}
|
||||||
BuildRequires: %{python_module psutil}
|
BuildRequires: %{python_module psutil}
|
||||||
@ -62,7 +58,7 @@ BuildRequires: gdb
|
|||||||
debugpy is an implementation of the Debug Adapter Protocol for Python.
|
debugpy is an implementation of the Debug Adapter Protocol for Python.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{modname}-%{version}
|
%autosetup -p1 -n debugpy-%{version}
|
||||||
|
|
||||||
# don't remove vendored pydevd: upstream's intention is to always bundle it. Development happens in debugpy anyway
|
# don't remove vendored pydevd: upstream's intention is to always bundle it. Development happens in debugpy anyway
|
||||||
|
|
||||||
@ -129,8 +125,8 @@ donttest="$donttest or test_attach_pid_client"
|
|||||||
|
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitearch}/%{modname}
|
%{python_sitearch}/debugpy
|
||||||
%{python_sitearch}/%{modname}-%{version}*-info
|
%{python_sitearch}/debugpy-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user