public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2020-03-29 13:21 Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-03-29 13:21 UTC (permalink / raw
  To: gentoo-commits

commit:     853d6212365a0203373062f8b7e97290e551fa15
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 29 09:19:07 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 29 09:29:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=853d6212

dev-python/hunter: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hunter/Manifest            |  1 +
 dev-python/hunter/hunter-3.1.3.ebuild | 40 +++++++++++++++++++
 dev-python/hunter/metadata.xml        | 73 +++++++++++++++++++++++++++++++++++
 3 files changed, 114 insertions(+)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
new file mode 100644
index 0000000..18d2364
--- /dev/null
+++ b/dev-python/hunter/Manifest
@@ -0,0 +1 @@
+DIST hunter-3.1.3.tar.gz 422149 BLAKE2B 2834b3daa6be461b78d468aa331a587a476b7109f5ff9c70b27bb51b26f6a390d2074425f4d98ddc692d4e11f1ee14a77f5066650e82687ebaa586051afab4c8 SHA512 ea9cc935240526d2942568073cecfb2bef32d7caedd0b370850b208a56c652bf356ba0e5675281946419aafd966cbff148490f6f4439d0d808335a3e831adbf7

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild b/dev-python/hunter/hunter-3.1.3.ebuild
new file mode 100644
index 0000000..ed9012f
--- /dev/null
+++ b/dev-python/hunter/hunter-3.1.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+
+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"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-python/colorama[${PYTHON_USEDEP}]
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/aspectlib[${PYTHON_USEDEP}]
+		dev-python/manhole[${PYTHON_USEDEP}]
+		dev-python/process-tests[${PYTHON_USEDEP}]
+		dev-python/pytest-benchmark[${PYTHON_USEDEP}]
+		dev-python/pytest-travis-fold[${PYTHON_USEDEP}]
+	)
+"
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"

diff --git a/dev-python/hunter/metadata.xml b/dev-python/hunter/metadata.xml
new file mode 100644
index 0000000..0fd2af6
--- /dev/null
+++ b/dev-python/hunter/metadata.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription>
+Hunter is a flexible code tracing toolkit, not for measuring coverage, but for debugging, logging, inspection and other nefarious purposes. It has a simple Python API, a convenient terminal API and a CLI tool to attach to processes.
+Design notes
+
+Hunter doesn't do everything. As a design goal of this library some things are made intentionally austere and verbose (to avoid complexity, confusion and inconsistency). This has few consequences:
+
+    There are Operators but there's no negation operator. Instead you're expected to negate a Query object, eg: ~Q(module='re').
+    There are no specialized operators or filters - all filters behave exactly the same. For example:
+        No filter for packages. You're expected to filter by module with an operator.
+        No filter for arguments, return values or variables. You're expected to write your own filter function and deal with the problems of poking into objects.
+    Layering is minimal. There's are some helpers that do some argument processing and conversions to save you some typing but that's about it.
+    The library doesn't try to hide the mechanics of tracing in Python - it's 1:1 regarding what Python sends to a trace function if you'd be using sys.settrace.
+    Doesn't have any storage. You are expected to redirect output to a file.
+
+You should look at it like it's a tool to help you understand and debug big applications, or a framework ridding you of the boring parts of settrace, not something that helps you learn Python.
+FAQ
+Why not Smiley?
+
+There's some obvious overlap with smiley but there are few fundamental differences:
+
+    Complexity. Smiley is simply over-engineered:
+        It uses IPC and a SQL database.
+        It has a webserver. Lots of dependencies.
+        It uses threads. Side-effects and subtle bugs are introduced in your code.
+        It records everything. Tries to dump any variable. Often fails and stops working.
+
+    Why do you need all that just to debug some stuff in a terminal? Simply put, it's a nice idea but the design choices work against you when you're already neck-deep into debugging your own code. In my experience Smiley has been very buggy and unreliable. Your mileage may vary of course.
+
+    Tracing long running code. This will make Smiley record lots of data, making it unusable.
+
+    Now because Smiley records everything, you'd think it's better suited for short programs. But alas, if your program runs quickly then it's pointless to record the execution. You can just run it again.
+
+    It seems there's only one situation where it's reasonable to use Smiley: tracing io-bound apps remotely. Those apps don't execute lots of code, they just wait on network so Smiley's storage won't blow out of proportion and tracing overhead might be acceptable.
+
+    Use-cases. It seems to me Smiley's purpose is not really debugging code, but more of a "non interactive monitoring" tool.
+
+In contrast, Hunter is very simple:
+
+    Few dependencies.
+
+    Low overhead (tracing/filtering code has an optional Cython extension).
+
+    No storage. This simplifies lots of things.
+
+    The only cost is that you might need to run the code multiple times to get the filtering/actions right. This means Hunter is not really suited for "post-mortem" debugging. If you can't reproduce the problem anymore then Hunter won't be of much help.
+
+Why not pytrace?
+
+Pytrace is another tracer tool. It seems quite similar to Smiley - it uses a sqlite database for the events, threads and IPC, thus it's reasonable to expect the same kind of problems.
+Why not PySnooper or snoop?
+
+snoop is a refined version of PySnooper. Both are more suited to tracing small programs or functions as the output is more verbose and less suited to the needs of tracing a big application where Hunter provides more flexible setup, filtering capabilities, speed and brevity.
+Why not coverage?
+
+For purposes of debugging coverage is a great tool but only as far as "debugging by looking at what code is (not) run". Checking branch coverage is good but it will only get you as far.
+
+From the other perspective, you'd be wondering if you could use Hunter to measure coverage-like things. You could do it but for that purpose Hunter is very "rough": it has no builtin storage. You'd have to implement your own storage. You can do it but it wouldn't give you any advantage over making your own tracer if you don't need to "pre-filter" whatever you're recording.
+
+In other words, filtering events is the main selling point of Hunter - it's fast (cython implementation) and the query API is flexible enough.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">python-hyper/hyper-h2</remote-id>
+    <remote-id type="pypi">h2</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
  2020-03-29 13:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-03-29 13:21 ` Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-03-29 13:21 UTC (permalink / raw
  To: gentoo-commits

commit:     c8d765c23c399e7b194530423a6df7fa4c2565a7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 29 11:50:56 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 29 11:50:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8d765c2

dev-python/hunter: fix tests

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/hunter/hunter-3.1.3.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild b/dev-python/hunter/hunter-3.1.3.ebuild
index ed9012f..a60f883 100644
--- a/dev-python/hunter/hunter-3.1.3.ebuild
+++ b/dev-python/hunter/hunter-3.1.3.ebuild
@@ -5,6 +5,8 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_6 )
 
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1
 
 DESCRIPTION="Hunter is a flexible code tracing toolkit"
@@ -36,5 +38,14 @@ BDEPEND="
 	>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
 "
 
+S="${WORKDIR}/python-${P}"
+
 distutils_enable_tests pytest
 distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
+
+python_prepare_all() {
+	# all tests in this file fail
+	rm tests/test_remote.py || die
+
+	distutils-r1_python_prepare_all
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2020-04-02 10:12 Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-04-02 10:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b269002bdda2f35152b9cc4e1d4baae826474eaf
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr  1 20:17:57 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr  1 20:55:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b269002b

dev-python/hunter: restrict tests

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hunter/hunter-3.1.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild b/dev-python/hunter/hunter-3.1.3.ebuild
index a60f883..9861087 100644
--- a/dev-python/hunter/hunter-3.1.3.ebuild
+++ b/dev-python/hunter/hunter-3.1.3.ebuild
@@ -20,6 +20,9 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+#https://github.com/ionelmc/python-hunter/issues/82
+RESTRICT="test"
+
 RDEPEND="
 	dev-python/colorama[${PYTHON_USEDEP}]
 "


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2020-04-03 21:37 Haelwenn Monnier
  0 siblings, 0 replies; 18+ messages in thread
From: Haelwenn Monnier @ 2020-04-03 21:37 UTC (permalink / raw
  To: gentoo-commits

commit:     0c30766dafb917f53349a583d85b1e1f752c8824
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr  2 22:26:18 2020 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Apr  2 23:04:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c30766d

dev-python/hunter: enable tests

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hunter/hunter-3.1.3.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild b/dev-python/hunter/hunter-3.1.3.ebuild
index 9861087..8fa39f7 100644
--- a/dev-python/hunter/hunter-3.1.3.ebuild
+++ b/dev-python/hunter/hunter-3.1.3.ebuild
@@ -20,9 +20,6 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-#https://github.com/ionelmc/python-hunter/issues/82
-RESTRICT="test"
-
 RDEPEND="
 	dev-python/colorama[${PYTHON_USEDEP}]
 "
@@ -30,6 +27,7 @@ DEPEND="
 	${RDEPEND}
 	test? (
 		dev-python/aspectlib[${PYTHON_USEDEP}]
+		dev-python/hunter[${PYTHON_USEDEP}]
 		dev-python/manhole[${PYTHON_USEDEP}]
 		dev-python/process-tests[${PYTHON_USEDEP}]
 		dev-python/pytest-benchmark[${PYTHON_USEDEP}]


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2020-06-09 16:37 Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-06-09 16:37 UTC (permalink / raw
  To: gentoo-commits

commit:     bab86a22e1725e5e9940e56740c434d420db5b67
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jun  9 14:00:38 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jun  9 14:00:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bab86a22

dev-python/hunter: add py3_7,8

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/hunter/hunter-3.1.3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild b/dev-python/hunter/hunter-3.1.3.ebuild
index 8fa39f7..b779c85 100644
--- a/dev-python/hunter/hunter-3.1.3.ebuild
+++ b/dev-python/hunter/hunter-3.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
@@ -29,9 +29,8 @@ DEPEND="
 		dev-python/aspectlib[${PYTHON_USEDEP}]
 		dev-python/hunter[${PYTHON_USEDEP}]
 		dev-python/manhole[${PYTHON_USEDEP}]
-		dev-python/process-tests[${PYTHON_USEDEP}]
 		dev-python/pytest-benchmark[${PYTHON_USEDEP}]
-		dev-python/pytest-travis-fold[${PYTHON_USEDEP}]
+		dev-python/process-tests[${PYTHON_USEDEP}]
 	)
 "
 BDEPEND="


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2020-09-24 13:01 Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     51ea36817f92d74e62a149f94694586d0de4dcc6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Sep 24 11:52:50 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Sep 24 11:52:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51ea3681

dev-python/hunter: drop py3.6

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/hunter/hunter-3.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild b/dev-python/hunter/hunter-3.1.3.ebuild
index b779c852..86af5071 100644
--- a/dev-python/hunter/hunter-3.1.3.ebuild
+++ b/dev-python/hunter/hunter-3.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2020-12-04 15:00 Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2020-12-04 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     7a7ffe976dd9dcafa3c7d30d3c327e6f41047c26
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Fri Dec  4 05:07:10 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Dec  4 05:07:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a7ffe97

dev-python/hunter: bump to 3.3.1

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 dev-python/hunter/Manifest            |  1 +
 dev-python/hunter/hunter-3.3.1.ebuild | 49 +++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 18d23646..a814d24e 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1,2 @@
 DIST hunter-3.1.3.tar.gz 422149 BLAKE2B 2834b3daa6be461b78d468aa331a587a476b7109f5ff9c70b27bb51b26f6a390d2074425f4d98ddc692d4e11f1ee14a77f5066650e82687ebaa586051afab4c8 SHA512 ea9cc935240526d2942568073cecfb2bef32d7caedd0b370850b208a56c652bf356ba0e5675281946419aafd966cbff148490f6f4439d0d808335a3e831adbf7
+DIST hunter-3.3.1.tar.gz 533218 BLAKE2B 9ad62c4c5649b3389a480732a3f6939f54fe39f25362e5f796d78ab8286d6aada326035882d81a09c985765c4acc6283e1bd6665c473ca3edb9a84a6f2b301e6 SHA512 8ac5d2f993bc7c75adae532d4bff5a905c7ec84d32389fcfabb4c5ca3d511a73dc84725d5a450be7d1281e006ec049a5b43c01a79890e0b00302b6b7df291d55

diff --git a/dev-python/hunter/hunter-3.3.1.ebuild b/dev-python/hunter/hunter-3.3.1.ebuild
new file mode 100644
index 00000000..952cd2f0
--- /dev/null
+++ b/dev-python/hunter/hunter-3.3.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/aspectlib[${PYTHON_USEDEP}]
+		dev-python/hunter[${PYTHON_USEDEP}]
+		dev-python/manhole[${PYTHON_USEDEP}]
+		dev-python/pytest-benchmark[${PYTHON_USEDEP}]
+		dev-python/process-tests[${PYTHON_USEDEP}]
+	)
+"
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}/python-${P}"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
+
+python_prepare_all() {
+	# all tests in this file fail
+	rm tests/test_remote.py || die
+
+	distutils-r1_python_prepare_all
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2021-05-25 23:07 Haelwenn Monnier
  0 siblings, 0 replies; 18+ messages in thread
From: Haelwenn Monnier @ 2021-05-25 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e11925b21b5bcc849e5d095f93d8fb40d39bf76b
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 25 08:41:29 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue May 25 10:37:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e11925b2

dev-python/hunter: support python 3.9, drop 3.3.2

Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hunter/Manifest            |  1 -
 dev-python/hunter/hunter-3.3.2.ebuild | 70 -----------------------------------
 dev-python/hunter/hunter-3.3.3.ebuild |  2 +-
 3 files changed, 1 insertion(+), 72 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index c07b8acdf..35e192ec6 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-DIST hunter-3.3.2.tar.gz 535119 BLAKE2B 25551f04d0b2dafa6875c5c5660d2c57417bdc113960ec2b8d224c88a6b9d08b38bfbbb2deb516e7a36704164318137f5675409850c2eeff2c486a819731c756 SHA512 e3b5e7a3729074cf52a7a209e6f54a1319b3e94ff50abe4e6d8f00f3953720e3c2380de066c2a0a4e56c7a348fdd947425ae19c8907bd420d10ffb271bc07516
 DIST hunter-3.3.3.tar.gz 535662 BLAKE2B f2aa247eec34de982ab56430a0517c483609edc72d3d366a725dabf28ff6621a49411dd41a7ae16846960bb22ec4a7dc1cdb2b528a620e9eac9dc26dabec6213 SHA512 661b0f33653a6175f2172e45386c822552464a06129e2f5c8d4b88f6142a4aecc69bd657dc98ef7ffbb3d93cde537aa3a2e5f68bbced6f03b6514d39cfb99df4

diff --git a/dev-python/hunter/hunter-3.3.2.ebuild b/dev-python/hunter/hunter-3.3.2.ebuild
deleted file mode 100644
index 51a71d901..000000000
--- a/dev-python/hunter/hunter-3.3.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
-DEPEND="
-	${RDEPEND}
-	test? (
-		dev-python/aspectlib[${PYTHON_USEDEP}]
-		dev-python/manhole[${PYTHON_USEDEP}]
-		dev-python/pytest-benchmark[${PYTHON_USEDEP}]
-		dev-python/process-tests[${PYTHON_USEDEP}]
-	)
-"
-BDEPEND="
-	dev-python/cython[${PYTHON_USEDEP}]
-	>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
-"
-
-S="${WORKDIR}/python-${P}"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
-
-python_prepare_all() {
-	# all tests in this file fail
-	rm tests/test_remote.py || die
-
-	sed 's/setuptools_scm>=3.3.1,!=4.0.0,<6.0/setuptools_scm>=3.3.1/' \
-		-i setup.py || die
-
-	distutils-r1_python_prepare_all
-}
-
-python_compile() {
-	distutils-r1_python_compile
-
-	if use test; then
-		"${EPYTHON}" tests/setup.py build_ext --force --inplace || die
-	fi
-}
-
-python_test() {
-	local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
-	epytest --ignore=src \
-		--deselect tests/test_integration.py::test_pth_activation \
-		--deselect tests/test_integration.py::test_pth_sample4 \
-		--deselect tests/test_integration.py::test_pth_sample2 \
-		--deselect tests/test_integration.py::test_depth_limit_subprocess[depth_lt=2] \
-		--deselect tests/test_integration.py::test_depth_limit_subprocess[depth_lt=3] \
-		--deselect tests/test_integration.py::test_depth_limit_subprocess[depth_lt=4]
-}

diff --git a/dev-python/hunter/hunter-3.3.3.ebuild b/dev-python/hunter/hunter-3.3.3.ebuild
index 66200e1ea..3e6eef36f 100644
--- a/dev-python/hunter/hunter-3.3.3.ebuild
+++ b/dev-python/hunter/hunter-3.3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2021-06-15  7:11 Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2021-06-15  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     4230bcbaec4a4610273930cc7bff687ad5a3e6d5
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 22:48:48 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jun 14 23:09:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4230bcba

dev-python/hunter: drop 3.3.3

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hunter/Manifest            |  1 -
 dev-python/hunter/hunter-3.3.3.ebuild | 63 -----------------------------------
 2 files changed, 64 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 97a75678d..ec461da4b 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-DIST hunter-3.3.3.tar.gz 535662 BLAKE2B f2aa247eec34de982ab56430a0517c483609edc72d3d366a725dabf28ff6621a49411dd41a7ae16846960bb22ec4a7dc1cdb2b528a620e9eac9dc26dabec6213 SHA512 661b0f33653a6175f2172e45386c822552464a06129e2f5c8d4b88f6142a4aecc69bd657dc98ef7ffbb3d93cde537aa3a2e5f68bbced6f03b6514d39cfb99df4
 DIST hunter-3.3.4.tar.gz 535981 BLAKE2B c3d9f3a6cd77c830d3430a1bf55bfd89c4bf69402d6e17489116a13d483afd1e9fe7ba396a200385d27a5c76557f5856ec468a23735a526283d2db0d160cfcae SHA512 d51b55207118a26a48d12b97fc164c9b4a14e9d590bf3d85c0677ddf4354dbf800fec4757186a575e5062e297cfb86ee9185e6beff7ad45695e6dc5cba4ac324

diff --git a/dev-python/hunter/hunter-3.3.3.ebuild b/dev-python/hunter/hunter-3.3.3.ebuild
deleted file mode 100644
index 3e6eef36f..000000000
--- a/dev-python/hunter/hunter-3.3.3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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="
-	${RDEPEND}
-	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}]
-	)
-"
-BDEPEND="
-	dev-python/cython[${PYTHON_USEDEP}]
-	>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
-"
-
-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_prepare_all() {
-	# all tests in this file fail
-	rm tests/test_remote.py || die
-
-	distutils-r1_python_prepare_all
-}
-
-python_compile() {
-	distutils-r1_python_compile
-
-	if use test; then
-		"${EPYTHON}" tests/setup.py build_ext --force --inplace || die
-	fi
-}
-
-python_test() {
-	local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
-	epytest
-}


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2021-06-28 10:59 Florian Schmaus
  0 siblings, 0 replies; 18+ messages in thread
From: Florian Schmaus @ 2021-06-28 10:59 UTC (permalink / raw
  To: gentoo-commits

commit:     d8282f5c5f11f605e4f8ad56487551aff7ab471e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 27 23:06:03 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jun 27 23:06:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8282f5c

dev-python/hunter: add 3.3.8, drop 3.3.4

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hunter/Manifest                         |  2 +-
 .../{hunter-3.3.4.ebuild => hunter-3.3.8.ebuild}   | 23 +++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 41b967bb8..8fff7a232 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1,2 @@
-DIST hunter-3.3.4.tar.gz 535981 BLAKE2B c3d9f3a6cd77c830d3430a1bf55bfd89c4bf69402d6e17489116a13d483afd1e9fe7ba396a200385d27a5c76557f5856ec468a23735a526283d2db0d160cfcae SHA512 d51b55207118a26a48d12b97fc164c9b4a14e9d590bf3d85c0677ddf4354dbf800fec4757186a575e5062e297cfb86ee9185e6beff7ad45695e6dc5cba4ac324
 DIST hunter-3.3.5.tar.gz 536004 BLAKE2B 2851449ab6c9e3b71a546f5464eda272053060bdc6fb2d75f3e746c4d103b25c2ecfbfd0449521a98fe12851d62044bb0f3bc9d083e1496f861679eff827eafc SHA512 7c8700ae010bc58c4fefb1f6a343ee4bb375e55c2ddf3ab6a7d9f94102f1bafa50d3723985031a7633be2928a8b47a2bad2c3a7676df6d6a1dee2e38dbf6c02d
+DIST hunter-3.3.8.tar.gz 536260 BLAKE2B cdb048798dd831229f3c3ff784b16f94ee45c54bc35eb29e9b228f2736c103dbc39357df82476a2b25310501d33be67474f85c2f5a97a61baca20c8dfc5a725f SHA512 4d715893c805afb5ca709f8c8ce20fbf5ec8540a06c7536862d941a5a4f45b0721f8cd3aa2eeb79c072152d243f4d0ce949431defbdc8c17831f744c3f7ff58a

diff --git a/dev-python/hunter/hunter-3.3.4.ebuild b/dev-python/hunter/hunter-3.3.8.ebuild
similarity index 72%
rename from dev-python/hunter/hunter-3.3.4.ebuild
rename to dev-python/hunter/hunter-3.3.8.ebuild
index fea16decc..54715337c 100644
--- a/dev-python/hunter/hunter-3.3.4.ebuild
+++ b/dev-python/hunter/hunter-3.3.8.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8..9} )
 
 inherit distutils-r1
 
@@ -51,13 +51,14 @@ python_compile() {
 
 python_test() {
 	local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
-	epytest -vv \
-		--deselect tests/test_integration.py::test_pid_prefix[True-CodePrinter] \
-		--deselect tests/test_integration.py::test_pid_prefix[False-CodePrinter] \
-		--deselect tests/test_integration.py::test_pid_prefix[True-CallPrinter] \
-		--deselect tests/test_integration.py::test_pid_prefix[False-CallPrinter] \
-		--deselect tests/test_remote.py::test_manhole \
-		--deselect tests/test_remote.py::test_manhole_clean_exit \
-		--deselect tests/test_tracer.py::test_perf_stdlib[cython] \
-		|| die
+#	epytest -vv \
+#		--deselect tests/test_integration.py::test_pid_prefix[True-CodePrinter] \
+#		--deselect tests/test_integration.py::test_pid_prefix[False-CodePrinter] \
+#		--deselect tests/test_integration.py::test_pid_prefix[True-CallPrinter] \
+#		--deselect tests/test_integration.py::test_pid_prefix[False-CallPrinter] \
+#		--deselect tests/test_remote.py::test_manhole \
+#		--deselect tests/test_remote.py::test_manhole_clean_exit \
+#		--deselect tests/test_tracer.py::test_perf_stdlib[cython] \
+#		|| die
+	epytest -vv || die
 }


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2021-06-28 13:56 Florian Schmaus
  0 siblings, 0 replies; 18+ messages in thread
From: Florian Schmaus @ 2021-06-28 13:56 UTC (permalink / raw
  To: gentoo-commits

commit:     013b4b2f04d6f57ae1e0f603a70675ff7ec67918
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 28 13:28:03 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 13:34:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=013b4b2f

dev-python/hunter: deselect manhole tests

Closes: https://bugs.gentoo.org/799026
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hunter/hunter-3.3.8.ebuild | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/dev-python/hunter/hunter-3.3.8.ebuild b/dev-python/hunter/hunter-3.3.8.ebuild
index 54715337c..99d13170b 100644
--- a/dev-python/hunter/hunter-3.3.8.ebuild
+++ b/dev-python/hunter/hunter-3.3.8.ebuild
@@ -51,14 +51,8 @@ python_compile() {
 
 python_test() {
 	local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
-#	epytest -vv \
-#		--deselect tests/test_integration.py::test_pid_prefix[True-CodePrinter] \
-#		--deselect tests/test_integration.py::test_pid_prefix[False-CodePrinter] \
-#		--deselect tests/test_integration.py::test_pid_prefix[True-CallPrinter] \
-#		--deselect tests/test_integration.py::test_pid_prefix[False-CallPrinter] \
-#		--deselect tests/test_remote.py::test_manhole \
-#		--deselect tests/test_remote.py::test_manhole_clean_exit \
-#		--deselect tests/test_tracer.py::test_perf_stdlib[cython] \
-#		|| die
-	epytest -vv || die
+	epytest -vv \
+		--deselect tests/test_remote.py::test_manhole \
+		--deselect tests/test_remote.py::test_manhole_clean_exit \
+		|| die
 }


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2021-08-16 19:04 Jian Lin
  0 siblings, 0 replies; 18+ messages in thread
From: Jian Lin @ 2021-08-16 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     8a1819e778795b1b3ba55b1e360ccb5becac688d
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug 13 20:02:24 2021 +0000
Commit:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
CommitDate: Sat Aug 14 01:53:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a1819e7

dev-python/hunter: drop 3.3.5

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hunter/Manifest            |  1 -
 dev-python/hunter/hunter-3.3.5.ebuild | 63 -----------------------------------
 2 files changed, 64 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 8fff7a232..8d0386983 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-DIST hunter-3.3.5.tar.gz 536004 BLAKE2B 2851449ab6c9e3b71a546f5464eda272053060bdc6fb2d75f3e746c4d103b25c2ecfbfd0449521a98fe12851d62044bb0f3bc9d083e1496f861679eff827eafc SHA512 7c8700ae010bc58c4fefb1f6a343ee4bb375e55c2ddf3ab6a7d9f94102f1bafa50d3723985031a7633be2928a8b47a2bad2c3a7676df6d6a1dee2e38dbf6c02d
 DIST hunter-3.3.8.tar.gz 536260 BLAKE2B cdb048798dd831229f3c3ff784b16f94ee45c54bc35eb29e9b228f2736c103dbc39357df82476a2b25310501d33be67474f85c2f5a97a61baca20c8dfc5a725f SHA512 4d715893c805afb5ca709f8c8ce20fbf5ec8540a06c7536862d941a5a4f45b0721f8cd3aa2eeb79c072152d243f4d0ce949431defbdc8c17831f744c3f7ff58a

diff --git a/dev-python/hunter/hunter-3.3.5.ebuild b/dev-python/hunter/hunter-3.3.5.ebuild
deleted file mode 100644
index fea16decc..000000000
--- a/dev-python/hunter/hunter-3.3.5.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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="
-	${RDEPEND}
-	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}]
-	)
-"
-BDEPEND="
-	dev-python/cython[${PYTHON_USEDEP}]
-	>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
-"
-
-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() {
-	distutils-r1_python_compile
-
-	if use test; then
-		"${EPYTHON}" tests/setup.py build_ext --force --inplace || die
-	fi
-}
-
-python_test() {
-	local -x PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}"
-	epytest -vv \
-		--deselect tests/test_integration.py::test_pid_prefix[True-CodePrinter] \
-		--deselect tests/test_integration.py::test_pid_prefix[False-CodePrinter] \
-		--deselect tests/test_integration.py::test_pid_prefix[True-CallPrinter] \
-		--deselect tests/test_integration.py::test_pid_prefix[False-CallPrinter] \
-		--deselect tests/test_remote.py::test_manhole \
-		--deselect tests/test_remote.py::test_manhole_clean_exit \
-		--deselect tests/test_tracer.py::test_perf_stdlib[cython] \
-		|| die
-}


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2021-08-16 19:04 Jian Lin
  0 siblings, 0 replies; 18+ messages in thread
From: Jian Lin @ 2021-08-16 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     8c19db27656daaf85510e72cb69c845e6974c863
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug 13 23:42:57 2021 +0000
Commit:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
CommitDate: Sat Aug 14 01:59:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c19db27

dev-python/hunter: enable py3.10

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hunter/hunter-3.3.8.ebuild | 46 ++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 14 deletions(-)

diff --git a/dev-python/hunter/hunter-3.3.8.ebuild b/dev-python/hunter/hunter-3.3.8.ebuild
index 99d13170b..c2252fc8c 100644
--- a/dev-python/hunter/hunter-3.3.8.ebuild
+++ b/dev-python/hunter/hunter-3.3.8.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=8
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{8..9} )
-
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Hunter is a flexible code tracing toolkit"
@@ -20,8 +18,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
-DEPEND="
-	${RDEPEND}
+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}]
@@ -31,28 +30,47 @@ DEPEND="
 		dev-python/six[${PYTHON_USEDEP}]
 	)
 "
-BDEPEND="
-	dev-python/cython[${PYTHON_USEDEP}]
-	>=dev-python/setuptools_scm-3.3.1[${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() {
-	distutils-r1_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}"
-	epytest -vv \
-		--deselect tests/test_remote.py::test_manhole \
-		--deselect tests/test_remote.py::test_manhole_clean_exit \
-		|| die
+	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[@]}"
 }


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/
@ 2022-09-26 10:05 Andrew Ammerlaan
  2022-09-26 10:05 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Ammerlaan @ 2022-09-26 10:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9a808e6d3e72469573e8c660cc9a1177b1dff5d1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 26 09:55:02 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 26 10:05:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a808e6d

dev-python/hunter: quote S var

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/hunter/hunter-3.4.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hunter/hunter-3.4.3-r1.ebuild b/dev-python/hunter/hunter-3.4.3-r1.ebuild
index 363ef79d0..30e6d8c0a 100644
--- a/dev-python/hunter/hunter-3.4.3-r1.ebuild
+++ b/dev-python/hunter/hunter-3.4.3-r1.ebuild
@@ -53,7 +53,7 @@ distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
 
 src_unpack() {
 	default
-	cp -a ${S} tests_package || die
+	cp -a "${S}" tests_package || die
 	mv -f tests_package/tests/setup.py tests_package || die
 }
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
  2022-09-26 10:05 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/ Andrew Ammerlaan
@ 2022-09-26 10:05 ` Andrew Ammerlaan
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2022-09-26 10:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9a808e6d3e72469573e8c660cc9a1177b1dff5d1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 26 09:55:02 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 26 10:05:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a808e6d

dev-python/hunter: quote S var

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/hunter/hunter-3.4.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hunter/hunter-3.4.3-r1.ebuild b/dev-python/hunter/hunter-3.4.3-r1.ebuild
index 363ef79d0..30e6d8c0a 100644
--- a/dev-python/hunter/hunter-3.4.3-r1.ebuild
+++ b/dev-python/hunter/hunter-3.4.3-r1.ebuild
@@ -53,7 +53,7 @@ distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
 
 src_unpack() {
 	default
-	cp -a ${S} tests_package || die
+	cp -a "${S}" tests_package || die
 	mv -f tests_package/tests/setup.py tests_package || die
 }
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2022-11-04 14:38 Arthur Zamarin
  0 siblings, 0 replies; 18+ messages in thread
From: Arthur Zamarin @ 2022-11-04 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     d380582573c1ef57c582d019470e488f3f9ab712
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Nov  3 06:51:43 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 07:37:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3805825

dev-python/hunter: add 3.5.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hunter/Manifest            |  1 +
 dev-python/hunter/hunter-3.5.1.ebuild | 70 +++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 817554ec7..efb297676 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1,2 @@
 DIST hunter-3.4.3.gh.tar.gz 538017 BLAKE2B 92ad2b653d0285059ea2f005c6ba9564f357e1ea438a0fe30087f88efa202aaa504bad65985a88484cf7178c24432ac44705098dabc2667328c71e0ee38f718c SHA512 921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7
+DIST hunter-3.5.1.gh.tar.gz 543137 BLAKE2B a06966f78fd442231c08e2aafe57702f7cc16e5db6aa9a1da7288e4a3a05ff9db3dfc49352641610ade31cb967996c3add64f07ddf637f46e5d269e9d0363a9f SHA512 2c302fa8b88c07be5361f11d8c250c5673be9dc691df9e966959eed45eaf0a8499ae8a6381256d83ab7219c818ed981628fb3299ef5d17d7b1d95c43a2fc63a7

diff --git a/dev-python/hunter/hunter-3.5.1.ebuild b/dev-python/hunter/hunter-3.5.1.ebuild
new file mode 100644
index 000000000..73d1df298
--- /dev/null
+++ b/dev-python/hunter/hunter-3.5.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+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}.gh.tar.gz"
+S="${WORKDIR}/python-${P}"
+TEST_S="${S}_test"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	>=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}]
+		sys-devel/gdb
+	)
+"
+
+DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+
+EPYTEST_DESELECT=(
+	tests/test_tracer.py::test_source_cython
+	tests/test_tracer.py::test_fullsource_cython
+
+	# too unstable
+	tests/test_remote.py
+)
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+	">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
+
+src_unpack() {
+	default
+
+	cp -a "${S}" "${TEST_S}" || die
+	mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die
+}
+
+python_test() {
+	local TEST_ROOT="${BUILD_DIR}"/test
+	cp -a "${BUILD_DIR}/install" "${TEST_ROOT}" || die
+
+	cd "${TEST_S}" || die
+	distutils_pep517_install "${TEST_ROOT}"
+
+	local -x PATH="${TEST_ROOT}/usr/bin:${PATH}"
+	local -x PYTHONPATH="${S}/tests:${PYTHONPATH}"
+
+	cd "${T}" || die
+	epytest "${S}"/tests
+}


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
  2024-04-15  9:26 [gentoo-commits] repo/proj/guru:dev " Julien Roy
@ 2024-04-15  9:34 ` Julien Roy
  0 siblings, 0 replies; 18+ messages in thread
From: Julien Roy @ 2024-04-15  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     2cf608d2208a50b87cb4775f2a542beffff73cb2
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Apr 15 09:22:58 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Apr 15 09:22:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cf608d2

dev-python/hunter: disable py3.10

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/hunter/hunter-3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hunter/hunter-3.6.1.ebuild b/dev-python/hunter/hunter-3.6.1.ebuild
index 806f3ecc01..51d1aa9785 100644
--- a/dev-python/hunter/hunter-3.6.1.ebuild
+++ b/dev-python/hunter/hunter-3.6.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_USE_PEP517=setuptools
 
 DOCS_BUILDER="sphinx"


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/
@ 2024-05-25 13:01 Julien Roy
  0 siblings, 0 replies; 18+ messages in thread
From: Julien Roy @ 2024-05-25 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     2f50324f13d42cee2b3455e42fff3a6db39cbd80
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat May 25 12:39:52 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat May 25 12:41:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f50324f

dev-python/hunter: disable docs

Docs depend on dev-python/sphinx-py3doc-enhanced-theme
Which was treecleaned from ::gentoo

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/hunter/hunter-3.6.1.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-python/hunter/hunter-3.6.1.ebuild b/dev-python/hunter/hunter-3.6.1.ebuild
index 51d1aa978..94327131e 100644
--- a/dev-python/hunter/hunter-3.6.1.ebuild
+++ b/dev-python/hunter/hunter-3.6.1.ebuild
@@ -7,11 +7,13 @@ DISTUTILS_EXT=1
 PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_USE_PEP517=setuptools
 
-DOCS_BUILDER="sphinx"
-DOCS_DEPEND="dev-python/sphinx-py3doc-enhanced-theme"
-DOCS_DIR="docs"
+# Docs depend on dev-python/sphinx-py3doc-enhanced-theme
+# Which was treecleaned from ::gentoo
+# DOCS_BUILDER="sphinx"
+# DOCS_DEPEND="dev-python/sphinx-py3doc-enhanced-theme"
+# DOCS_DIR="docs"
 
-inherit distutils-r1 docs
+inherit distutils-r1 # docs
 
 DESCRIPTION="Hunter is a flexible code tracing toolkit"
 HOMEPAGE="
@@ -37,7 +39,7 @@ BDEPEND="
 	)
 "
 
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+# DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
 
 PATCHES=(
 	# Upstream uses a custom file to define backend as setuptools


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-05-25 13:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-26 10:05 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/ Andrew Ammerlaan
2022-09-26 10:05 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 13:01 Julien Roy
2024-04-15  9:26 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-15  9:34 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2022-11-04 14:38 Arthur Zamarin
2021-08-16 19:04 Jian Lin
2021-08-16 19:04 Jian Lin
2021-06-28 13:56 Florian Schmaus
2021-06-28 10:59 Florian Schmaus
2021-06-15  7:11 Andrew Ammerlaan
2021-05-25 23:07 Haelwenn Monnier
2020-12-04 15:00 Andrew Ammerlaan
2020-09-24 13:01 Andrew Ammerlaan
2020-06-09 16:37 Andrew Ammerlaan
2020-04-03 21:37 Haelwenn Monnier
2020-04-02 10:12 Andrew Ammerlaan
2020-03-29 13:21 Andrew Ammerlaan
2020-03-29 13:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-29 13:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox