Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
Date: Tue, 25 May 2021 23:08:04
Message-Id: 1621939054.e11925b21b5bcc849e5d095f93d8fb40d39bf76b.lanodan@gentoo
1 commit: e11925b21b5bcc849e5d095f93d8fb40d39bf76b
2 Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Tue May 25 08:41:29 2021 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Tue May 25 10:37:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e11925b2
7
8 dev-python/hunter: support python 3.9, drop 3.3.2
9
10 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/hunter/Manifest | 1 -
13 dev-python/hunter/hunter-3.3.2.ebuild | 70 -----------------------------------
14 dev-python/hunter/hunter-3.3.3.ebuild | 2 +-
15 3 files changed, 1 insertion(+), 72 deletions(-)
16
17 diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
18 index c07b8acdf..35e192ec6 100644
19 --- a/dev-python/hunter/Manifest
20 +++ b/dev-python/hunter/Manifest
21 @@ -1,2 +1 @@
22 -DIST hunter-3.3.2.tar.gz 535119 BLAKE2B 25551f04d0b2dafa6875c5c5660d2c57417bdc113960ec2b8d224c88a6b9d08b38bfbbb2deb516e7a36704164318137f5675409850c2eeff2c486a819731c756 SHA512 e3b5e7a3729074cf52a7a209e6f54a1319b3e94ff50abe4e6d8f00f3953720e3c2380de066c2a0a4e56c7a348fdd947425ae19c8907bd420d10ffb271bc07516
23 DIST hunter-3.3.3.tar.gz 535662 BLAKE2B f2aa247eec34de982ab56430a0517c483609edc72d3d366a725dabf28ff6621a49411dd41a7ae16846960bb22ec4a7dc1cdb2b528a620e9eac9dc26dabec6213 SHA512 661b0f33653a6175f2172e45386c822552464a06129e2f5c8d4b88f6142a4aecc69bd657dc98ef7ffbb3d93cde537aa3a2e5f68bbced6f03b6514d39cfb99df4
24
25 diff --git a/dev-python/hunter/hunter-3.3.2.ebuild b/dev-python/hunter/hunter-3.3.2.ebuild
26 deleted file mode 100644
27 index 51a71d901..000000000
28 --- a/dev-python/hunter/hunter-3.3.2.ebuild
29 +++ /dev/null
30 @@ -1,70 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{7,8} )
37 -
38 -DISTUTILS_USE_SETUPTOOLS=rdepend
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Hunter is a flexible code tracing toolkit"
43 -HOMEPAGE="
44 - https://github.com/ionelmc/python-hunter
45 - https://pypi.org/project/hunter
46 -"
47 -SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="BSD-2"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86"
52 -
53 -RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
54 -DEPEND="
55 - ${RDEPEND}
56 - test? (
57 - dev-python/aspectlib[${PYTHON_USEDEP}]
58 - dev-python/manhole[${PYTHON_USEDEP}]
59 - dev-python/pytest-benchmark[${PYTHON_USEDEP}]
60 - dev-python/process-tests[${PYTHON_USEDEP}]
61 - )
62 -"
63 -BDEPEND="
64 - dev-python/cython[${PYTHON_USEDEP}]
65 - >=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
66 -"
67 -
68 -S="${WORKDIR}/python-${P}"
69 -
70 -distutils_enable_tests pytest
71 -distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
72 -
73 -python_prepare_all() {
74 - # all tests in this file fail
75 - rm tests/test_remote.py || die
76 -
77 - sed 's/setuptools_scm>=3.3.1,!=4.0.0,<6.0/setuptools_scm>=3.3.1/' \
78 - -i setup.py || die
79 -
80 - distutils-r1_python_prepare_all
81 -}
82 -
83 -python_compile() {
84 - distutils-r1_python_compile
85 -
86 - if use test; then
87 - "${EPYTHON}" tests/setup.py build_ext --force --inplace || die
88 - fi
89 -}
90 -
91 -python_test() {
92 - local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
93 - epytest --ignore=src \
94 - --deselect tests/test_integration.py::test_pth_activation \
95 - --deselect tests/test_integration.py::test_pth_sample4 \
96 - --deselect tests/test_integration.py::test_pth_sample2 \
97 - --deselect tests/test_integration.py::test_depth_limit_subprocess[depth_lt=2] \
98 - --deselect tests/test_integration.py::test_depth_limit_subprocess[depth_lt=3] \
99 - --deselect tests/test_integration.py::test_depth_limit_subprocess[depth_lt=4]
100 -}
101
102 diff --git a/dev-python/hunter/hunter-3.3.3.ebuild b/dev-python/hunter/hunter-3.3.3.ebuild
103 index 66200e1ea..3e6eef36f 100644
104 --- a/dev-python/hunter/hunter-3.3.3.ebuild
105 +++ b/dev-python/hunter/hunter-3.3.3.ebuild
106 @@ -3,7 +3,7 @@
107
108 EAPI=7
109
110 -PYTHON_COMPAT=( python3_{7,8} )
111 +PYTHON_COMPAT=( python3_{7..9} )
112
113 DISTUTILS_USE_SETUPTOOLS=rdepend