commit: 8170ef64ed18bd80e99defc770ca9898067e9859
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jun 4 10:39:33 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jun 4 13:13:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8170ef64
dev-python/hunter: drop 3.3.8
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/hunter/Manifest | 1 -
.../remove-setuptools_scm-upper-constraint.patch | 15 -----
dev-python/hunter/hunter-3.3.8.ebuild | 76 ----------------------
3 files changed, 92 deletions(-)
diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 1cbe63eef..b4d24e07b 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-DIST hunter-3.3.8.tar.gz 536260 BLAKE2B
cdb048798dd831229f3c3ff784b16f94ee45c54bc35eb29e9b228f2736c103dbc39357df82476a2b25310501d33be67474f85c2f5a97a61baca20c8dfc5a725f
SHA512
4d715893c805afb5ca709f8c8ce20fbf5ec8540a06c7536862d941a5a4f45b0721f8cd3aa2eeb79c072152d243f4d0ce949431defbdc8c17831f744c3f7ff58a
DIST hunter-3.4.3.tar.gz 538017 BLAKE2B
92ad2b653d0285059ea2f005c6ba9564f357e1ea438a0fe30087f88efa202aaa504bad65985a88484cf7178c24432ac44705098dabc2667328c71e0ee38f718c
SHA512
921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7
diff --git
a/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch
b/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch
deleted file mode 100644
index 5e831b906..000000000
--- a/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -163,10 +163,10 @@
- ':platform_system != "Windows"': ['manhole >= 1.5'],
- },
- setup_requires=[
-- 'setuptools_scm>=3.3.1,!=4.0.0,<6.0',
-+ 'setuptools_scm>=3.3.1',
- 'cython',
- ] if Cython else [
-- 'setuptools_scm>=3.3.1,!=4.0.0,<6.0',
-+ 'setuptools_scm>=3.3.1',
- ],
- entry_points={
- 'console_scripts': [
diff --git a/dev-python/hunter/hunter-3.3.8.ebuild
b/dev-python/hunter/hunter-3.3.8.ebuild
deleted file mode 100644
index c232f819e..000000000
--- a/dev-python/hunter/hunter-3.3.8.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Hunter is a flexible code tracing toolkit"
-HOMEPAGE="
- https://github.com/ionelmc/python-hunter
- https://pypi.org/project/hunter/
-"
-SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
-S="${WORKDIR}/python-${P}"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
-DEPEND="dev-python/cython[${PYTHON_USEDEP}]"
-BDEPEND="
- >=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
- test? (
- dev-python/aspectlib[${PYTHON_USEDEP}]
- dev-python/ipdb[${PYTHON_USEDEP}]
- dev-python/manhole[${PYTHON_USEDEP}]
- dev-python/process-tests[${PYTHON_USEDEP}]
- dev-python/pytest-benchmark[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- )
-"
-
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
-PATCHES=( "${FILESDIR}/remove-setuptools_scm-upper-constraint.patch" )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
-
-python_compile() {
- # native extension build fails with python3.10
- # https://github.com/ionelmc/python-hunter/issues/104
- if [[ ${EPYTHON} == python3.10 ]]; then
- SETUPPY_NOEXT="yes" distutils-r1_python_compile
- return
- fi
-
- distutils-r1_python_compile
- if use test; then
- "${EPYTHON}" tests/setup.py build_ext --force --inplace || die
- fi
-}
-
-python_test() {
- local PUREPYTHONHUNTER
- local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
- local epytest_args=(
- --deselect tests/test_remote.py::test_gdb
- --deselect tests/test_remote.py::test_gdb_clean_exit
- --deselect tests/test_remote.py::test_manhole
- --deselect tests/test_remote.py::test_manhole_clean_exit
- )
-
- if [[ ${EPYTHON} == python3.10 ]]; then
- epytest_args+=(
- --deselect tests/test_cookbook.py::test_probe
- --deselect tests/test_tracer.py::test_perf_filter[pure]
- --deselect tests/test_tracer.py::test_perf_stdlib[pure]
- --deselect tests/test_tracer.py::test_perf_actions[pure]
- --deselect tests/test_tracer.py::test_proper_backend
- )
- PUREPYTHONHUNTER="yes"
- fi
-
- epytest "${epytest_args[@]}"
-}