1 |
commit: 260d6e1e6ecd594fbc3ab66158405f20d5bfd01d |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 16 18:48:49 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 16 18:50:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260d6e1e |
7 |
|
8 |
dev-python/debugpy: add 1.6.3 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/debugpy/Manifest | 1 + |
13 |
dev-python/debugpy/debugpy-1.6.3.ebuild | 43 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/debugpy/Manifest b/dev-python/debugpy/Manifest |
17 |
index b76ab1bf672d..a2f2d0d904cc 100644 |
18 |
--- a/dev-python/debugpy/Manifest |
19 |
+++ b/dev-python/debugpy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST debugpy-1.6.2.gh.tar.gz 6684477 BLAKE2B ab1bdf394d3447ba347db149e5c4c36820df6df24c5d0984fe862419a490cea21b240322d76644bc9ebadbdf9a6d6c8709ae28452828d42b45d65edd2d2e58cb SHA512 64ecd9f8290588358abcff538f2c68025f14efc38ac5b406f32cd40a580aab90e0b2f145de90ca81943872c70969d6294ac51b3151bc4e03f18370ddfbb9ac6c |
22 |
+DIST debugpy-1.6.3.gh.tar.gz 6697583 BLAKE2B 38138be3294615e78995575c8f8ad1f990733be90cfaf76197c714e84f179086501417cc2d64627d3a8ecd0fa451e14e3229bd14d02353bc7512e288e8d4f092 SHA512 c055351351f6705b7bbab93ec07abba09027f1f2a52d90a242f51b4eb6fec19821fbb251b8c8e80587d1333faa4c6d7cab5dead938e9739c5c45013af8ee46a7 |
23 |
|
24 |
diff --git a/dev-python/debugpy/debugpy-1.6.3.ebuild b/dev-python/debugpy/debugpy-1.6.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..87982f97e4bb |
27 |
--- /dev/null |
28 |
+++ b/dev-python/debugpy/debugpy-1.6.3.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..11} ) |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="An implementation of the Debug Adapter Protocol for Python" |
40 |
+HOMEPAGE="https://github.com/microsoft/debugpy/ https://pypi.org/project/debugpy/" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/microsoft/${PN}/archive/v${PV}.tar.gz |
43 |
+ -> ${P}.gh.tar.gz |
44 |
+" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
49 |
+ |
50 |
+# This is completely broken |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+RDEPEND="dev-python/pydevd[${PYTHON_USEDEP}]" |
54 |
+BDEPEND="test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}/${PN}-1.6.1-unbundle-pydevd.patch" |
58 |
+) |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_prepare_all() { |
63 |
+ # Drop unnecessary and unrecognized option |
64 |
+ # __main__.py: error: unrecognized arguments: -n8 |
65 |
+ # Do not timeout |
66 |
+ sed -e '/addopts/d' -e '/timeout/d' -i pytest.ini || die |
67 |
+ |
68 |
+ # Unbundle dev-python/pydevd |
69 |
+ rm -r src/debugpy/_vendored tests/tests/test_vendoring.py || die |
70 |
+ |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |