1 |
commit: 8170ef64ed18bd80e99defc770ca9898067e9859 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jun 4 10:39:33 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Jun 4 13:13:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8170ef64 |
7 |
|
8 |
dev-python/hunter: drop 3.3.8 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/hunter/Manifest | 1 - |
13 |
.../remove-setuptools_scm-upper-constraint.patch | 15 ----- |
14 |
dev-python/hunter/hunter-3.3.8.ebuild | 76 ---------------------- |
15 |
3 files changed, 92 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest |
18 |
index 1cbe63eef..b4d24e07b 100644 |
19 |
--- a/dev-python/hunter/Manifest |
20 |
+++ b/dev-python/hunter/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST hunter-3.3.8.tar.gz 536260 BLAKE2B cdb048798dd831229f3c3ff784b16f94ee45c54bc35eb29e9b228f2736c103dbc39357df82476a2b25310501d33be67474f85c2f5a97a61baca20c8dfc5a725f SHA512 4d715893c805afb5ca709f8c8ce20fbf5ec8540a06c7536862d941a5a4f45b0721f8cd3aa2eeb79c072152d243f4d0ce949431defbdc8c17831f744c3f7ff58a |
23 |
DIST hunter-3.4.3.tar.gz 538017 BLAKE2B 92ad2b653d0285059ea2f005c6ba9564f357e1ea438a0fe30087f88efa202aaa504bad65985a88484cf7178c24432ac44705098dabc2667328c71e0ee38f718c SHA512 921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7 |
24 |
|
25 |
diff --git a/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch b/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch |
26 |
deleted file mode 100644 |
27 |
index 5e831b906..000000000 |
28 |
--- a/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch |
29 |
+++ /dev/null |
30 |
@@ -1,15 +0,0 @@ |
31 |
---- a/setup.py |
32 |
-+++ b/setup.py |
33 |
-@@ -163,10 +163,10 @@ |
34 |
- ':platform_system != "Windows"': ['manhole >= 1.5'], |
35 |
- }, |
36 |
- setup_requires=[ |
37 |
-- 'setuptools_scm>=3.3.1,!=4.0.0,<6.0', |
38 |
-+ 'setuptools_scm>=3.3.1', |
39 |
- 'cython', |
40 |
- ] if Cython else [ |
41 |
-- 'setuptools_scm>=3.3.1,!=4.0.0,<6.0', |
42 |
-+ 'setuptools_scm>=3.3.1', |
43 |
- ], |
44 |
- entry_points={ |
45 |
- 'console_scripts': [ |
46 |
|
47 |
diff --git a/dev-python/hunter/hunter-3.3.8.ebuild b/dev-python/hunter/hunter-3.3.8.ebuild |
48 |
deleted file mode 100644 |
49 |
index c232f819e..000000000 |
50 |
--- a/dev-python/hunter/hunter-3.3.8.ebuild |
51 |
+++ /dev/null |
52 |
@@ -1,76 +0,0 @@ |
53 |
-# Copyright 1999-2021 Gentoo Authors |
54 |
-# Distributed under the terms of the GNU General Public License v2 |
55 |
- |
56 |
-EAPI=8 |
57 |
- |
58 |
-PYTHON_COMPAT=( python3_{8..10} ) |
59 |
-inherit distutils-r1 |
60 |
- |
61 |
-DESCRIPTION="Hunter is a flexible code tracing toolkit" |
62 |
-HOMEPAGE=" |
63 |
- https://github.com/ionelmc/python-hunter |
64 |
- https://pypi.org/project/hunter/ |
65 |
-" |
66 |
-SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
67 |
-S="${WORKDIR}/python-${P}" |
68 |
-LICENSE="BSD-2" |
69 |
-SLOT="0" |
70 |
-KEYWORDS="~amd64 ~x86" |
71 |
- |
72 |
-RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]" |
73 |
-DEPEND="dev-python/cython[${PYTHON_USEDEP}]" |
74 |
-BDEPEND=" |
75 |
- >=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}] |
76 |
- test? ( |
77 |
- dev-python/aspectlib[${PYTHON_USEDEP}] |
78 |
- dev-python/ipdb[${PYTHON_USEDEP}] |
79 |
- dev-python/manhole[${PYTHON_USEDEP}] |
80 |
- dev-python/process-tests[${PYTHON_USEDEP}] |
81 |
- dev-python/pytest-benchmark[${PYTHON_USEDEP}] |
82 |
- dev-python/six[${PYTHON_USEDEP}] |
83 |
- ) |
84 |
-" |
85 |
- |
86 |
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) |
87 |
-PATCHES=( "${FILESDIR}/remove-setuptools_scm-upper-constraint.patch" ) |
88 |
- |
89 |
-distutils_enable_tests pytest |
90 |
-distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2" |
91 |
- |
92 |
-python_compile() { |
93 |
- # native extension build fails with python3.10 |
94 |
- # https://github.com/ionelmc/python-hunter/issues/104 |
95 |
- if [[ ${EPYTHON} == python3.10 ]]; then |
96 |
- SETUPPY_NOEXT="yes" distutils-r1_python_compile |
97 |
- return |
98 |
- fi |
99 |
- |
100 |
- distutils-r1_python_compile |
101 |
- if use test; then |
102 |
- "${EPYTHON}" tests/setup.py build_ext --force --inplace || die |
103 |
- fi |
104 |
-} |
105 |
- |
106 |
-python_test() { |
107 |
- local PUREPYTHONHUNTER |
108 |
- local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}" |
109 |
- local epytest_args=( |
110 |
- --deselect tests/test_remote.py::test_gdb |
111 |
- --deselect tests/test_remote.py::test_gdb_clean_exit |
112 |
- --deselect tests/test_remote.py::test_manhole |
113 |
- --deselect tests/test_remote.py::test_manhole_clean_exit |
114 |
- ) |
115 |
- |
116 |
- if [[ ${EPYTHON} == python3.10 ]]; then |
117 |
- epytest_args+=( |
118 |
- --deselect tests/test_cookbook.py::test_probe |
119 |
- --deselect tests/test_tracer.py::test_perf_filter[pure] |
120 |
- --deselect tests/test_tracer.py::test_perf_stdlib[pure] |
121 |
- --deselect tests/test_tracer.py::test_perf_actions[pure] |
122 |
- --deselect tests/test_tracer.py::test_proper_backend |
123 |
- ) |
124 |
- PUREPYTHONHUNTER="yes" |
125 |
- fi |
126 |
- |
127 |
- epytest "${epytest_args[@]}" |
128 |
-} |