dev-python/debugpy: add 1.8.6
Closes: #4003 Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
522bf67f3a
commit
48cb0a6c50
@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 2267 Ebuilds in total, 2253 of them have in total 2292 (43 different) licenses assigned.
|
||||
There are 2268 Ebuilds in total, 2254 of them have in total 2293 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1285|
|
||||
|MIT|1286|
|
||||
|Apache-2.0|526|
|
||||
|GPL-3|144|
|
||||
|BSD|124|
|
||||
|
@ -1,6 +1,8 @@
|
||||
AUX debugpy-1.8.0-unbundle-pydevd.patch 1480 BLAKE2B 6694cbb68e8e5793f22fedc9351875810c86c1add4299bbb5360dedc24bcbdbb0128163cc11dab3effc611dbe5ef43ea45e9504914f6c55f4f66b76b9da0b804 SHA512 553ce357019e561e50770bf747adc33ac037cf5aa9fc08c44ce9c1cb87ecba28b7c632adb5b743c38067c1bb6b97f1d239ad8dee404332bc8028be44afd018ce
|
||||
DIST debugpy-1.8.0.gh.tar.gz 6760323 BLAKE2B 99c4188c0b0383dc4dcbdd86c4d35e6eb973ca32ba56b757adea9668b161f20f17b436e0dc019790b1e85586387fc848712143c5e3d3814e2522850d97a4048e SHA512 f9e47371ca854c12811d1c0984f063b1ad5cac2bea769f91a67f9fa125cfcbeccbecafca9b9d5ea16a4ed8a1c123f34db3ba19efe1567b93a86cbd325239b355
|
||||
DIST debugpy-1.8.1.gh.tar.gz 6900806 BLAKE2B 5f9151a1a8d679c2f81d8eb1ce62b9e1f8a8cfeea7301e2f15113b95543e48ac971681c20bdc9bb9b85376be2b23cddbffe988f68b8f23cd0214905d11598905 SHA512 0eacee36904ee991a68da539b60768811606bbf57076efd07ffe2ee6a24e8a5e4cf86cd30ed948136466af71d1fb63b14f60334ffe94cf8c626b449a731ca0d8
|
||||
EBUILD debugpy-1.8.0.ebuild 1019 BLAKE2B 3bcf2f8004ec890b9990ff9c8f7caa30a073b47f81a0576340f03abcfe99e44d3599398af7c0104976714fe55a7bf722187d5a7f6b0533df73dacc168a5c5ebe SHA512 a37ba3c19e6df3aaf90fcc5d8dc6f45ef54badc6601557fe42d21bf08d211542b2cbd4cd3e10ae06f8d16581e76457ca16a9a30430ff253d6d976d9e6a3ebcc9
|
||||
EBUILD debugpy-1.8.1.ebuild 1907 BLAKE2B 7a544586710dd9043fb2fb59746da75031b28c7e365bb4d13340e4e1b7824b209c82535157b4bcd87861162567aca24285a793157f04b78d380eb610a6f53e42 SHA512 2e981f9ad89833ddcbdabeaaef7235bb61f70982f64f4cdbb37f2d4a05be8be6b018169bdc1ffa163e26222c8a43a386d5050af5e2aa4a4be590d0872097d937
|
||||
DIST debugpy-1.8.6.gh.tar.gz 7297999 BLAKE2B 8c8b3cb37ab797be705c6af46be7bed44f46e02e2d0c672e730a1a4e4054d95d4892f2c39dd558c0c779f790e4b81d308aca443fd5da567dd080356092ca00b8 SHA512 2f948f4f565cbba183331ef755b0d1fef9b732e8f2b23aa6fe2e87ecd51845d2dd7a2764e70646f9010e9d8bd75264161008503b11fa47e78328de149694135b
|
||||
EBUILD debugpy-1.8.0.ebuild 1019 BLAKE2B deb9d1d8bc5b7a0f70fb997dd467caff85227096a0d625a14781f42019d480f77ba182b6a4d950fc63622252bc20fb863233174b58ecded6ef6fd5f2d14a3274 SHA512 3183f23240b642a21fe8ba426bd2951137a8581b92508f1bd54b24c40f67bc7d7523b06498b38b0b1c78f141aba98096f75a5f1f5e205207d3685a9f228b60ec
|
||||
EBUILD debugpy-1.8.1.ebuild 1907 BLAKE2B 3a46eefe5544fce3dd3126e23433328eb7b993547d60b02c0e185e468d17e032cada2ed7b04dcc549dfaf7e659efb4dac6d746ce480da1dc41b13908dbc24625 SHA512 2573c96800909b018cac1677f29bbdca66ea1f91fa57d1685b7d15e2b90d32b3cf630e92b289e396bd23892f52f7c2cfaef1f2b644192f29fc5c5258bd5be40c
|
||||
EBUILD debugpy-1.8.6.ebuild 1907 BLAKE2B 3a46eefe5544fce3dd3126e23433328eb7b993547d60b02c0e185e468d17e032cada2ed7b04dcc549dfaf7e659efb4dac6d746ce480da1dc41b13908dbc24625 SHA512 2573c96800909b018cac1677f29bbdca66ea1f91fa57d1685b7d15e2b90d32b3cf630e92b289e396bd23892f52f7c2cfaef1f2b644192f29fc5c5258bd5be40c
|
||||
MISC metadata.xml 522 BLAKE2B 9c9cf443d38c8de3516a488f67f81b68759d11283efd464dba3fe27191f2b66cdd622d32465c0820152bda74e92b6c8e3ade57c92a40d61dbbc7587df50f2c60 SHA512 f5a601e50c25ca8105b3a2307bb3b183db6a85644d7bf7e67c036ac2807006a77c9856b9058c96590cd7c1041890d2a9863d0ec0991c75cc462c1cd7df6d8b39
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
|
79
dev-python/debugpy/debugpy-1.8.6.ebuild
Normal file
79
dev-python/debugpy/debugpy-1.8.6.ebuild
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="An implementation of the Debug Adapter Protocol for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/microsoft/debugpy/
|
||||
https://pypi.org/project/debugpy/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/microsoft/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pydevd[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Unbundle dev-python/pydevd
|
||||
rm -r src/debugpy/_vendored/pydevd || die
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.8.0-unbundle-pydevd.patch"
|
||||
)
|
||||
|
||||
# Drop unnecessary and unrecognized option
|
||||
# __main__.py: error: unrecognized arguments: -n8
|
||||
# Do not timeout
|
||||
sed -e '/addopts/d' -e '/timeout/d' -i pytest.ini || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/debugpy/test_gevent.py::test_gevent
|
||||
tests/debugpy/test_run.py::test_custom_python_args
|
||||
tests/tests/test_timeline.py::test_occurrences
|
||||
# TODO: random regressions
|
||||
tests/debugpy/test_flask.py::test_flask_breakpoint_multiproc
|
||||
tests/debugpy/test_exception.py::test_raise_exception_options
|
||||
tests/debugpy/test_exception.py::test_vsc_exception_options_raise_without_except
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
tests/tests/test_vendoring.py
|
||||
)
|
||||
|
||||
case ${EPYTHON} in
|
||||
python3.12)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/debugpy/test_flask.py
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest -p timeout -p xdist -n "$(makeopts_jobs)" --dist=worksteal \
|
||||
-k "not attach_pid"
|
||||
}
|
Loading…
Reference in New Issue
Block a user