[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2024-05-25 Thread Julien Roy
commit: 2f50324f13d42cee2b3455e42fff3a6db39cbd80
Author: Julien Roy  jroy  ca>
AuthorDate: Sat May 25 12:39:52 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat May 25 12:41:28 2024 +
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  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



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2024-04-15 Thread Julien Roy
commit: 2cf608d2208a50b87cb4775f2a542be73cb2
Author: Julien Roy  jroy  ca>
AuthorDate: Mon Apr 15 09:22:58 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon Apr 15 09:22:58 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cf608d2

dev-python/hunter: disable py3.10

Signed-off-by: Julien Roy  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"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/files/, dev-python/hunter/

2024-04-13 Thread Henri Gasc
commit: c8be5c12bba275191651dcf5ebd6c67c3fc2ac3b
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sat Apr 13 00:01:53 2024 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Sat Apr 13 12:31:35 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8be5c12

dev-python/hunter: add 3.6.1, drop 3.6.0

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/hunter/Manifest|  2 +-
 dev-python/hunter/files/fix_backend.patch | 12 +
 dev-python/hunter/hunter-3.6.0.ebuild | 87 ---
 dev-python/hunter/hunter-3.6.1.ebuild | 77 +++
 dev-python/hunter/metadata.xml| 44 
 5 files changed, 112 insertions(+), 110 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 6d38f0230d..4ab653d99d 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1 @@
-DIST hunter-3.6.0.gh.tar.gz 626304 BLAKE2B 
8cef43f6427863724b6a7f848ee938011b8de2100c12c4f7cd049156733da0076f3d04d74328aeff06edeab6e5d85a9dd564b6281644a1e6172741573f066127
 SHA512 
5b5a6e7e2f26f71ff151d40fe0b660141ff2d2637fa9a226e9a1a4ead5267cf1e851baa0a439a94aa4b537db3fbdc5cd660304f64ad08ee90a115516c3848547
+DIST hunter-3.6.1.gh.tar.gz 626351 BLAKE2B 
077d61faa8348434ca4bb76b4f703ea341d10df0a822cd57575881082c009f3d94f3808642bd569726c20450d42c5d24a95919f099701e31cf44a50cbeb2f0b7
 SHA512 
1215da594c51cfce6341e3193de14a3386de4d28f0e0745c11b8bd6ba45d33d91628b8abfb528716968f119fa6ef64e7e2fb9ee222af16bfc8519eda354edd11

diff --git a/dev-python/hunter/files/fix_backend.patch 
b/dev-python/hunter/files/fix_backend.patch
new file mode 100644
index 00..5410ea8f7d
--- /dev/null
+++ b/dev-python/hunter/files/fix_backend.patch
@@ -0,0 +1,12 @@
+Upstream uses custom file as backend
+--- a/pyproject.toml
 b/pyproject.toml
+@@ -4,7 +4,7 @@ requires = [
+ "wheel",
+ "setuptools_scm>=3.3.1,!=4.0.0",
+ ]
+-build-backend = "backend"
++build-backend = "setuptools.build_meta"
+ backend-path = ["build_backend"]
+ 
+ [tool.ruff.per-file-ignores]

diff --git a/dev-python/hunter/hunter-3.6.0.ebuild 
b/dev-python/hunter/hunter-3.6.0.ebuild
deleted file mode 100644
index 06aaf43606..00
--- a/dev-python/hunter/hunter-3.6.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=standalone
-DISTUTILS_EXT=1
-inherit distutils-r1 multiprocessing
-
-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[${PYTHON_USEDEP}]
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   dev-debug/gdb
-   dev-python/aspectlib[${PYTHON_USEDEP}]
-   dev-python/ipdb[${PYTHON_USEDEP}]
-   dev-python/manhole[${PYTHON_USEDEP}]
-   dev-python/process-tests[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   )
-"
-
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
-
-EPYTEST_DESELECT=(
-   # broken
-   #tests/test_tracer.py::test_source_cython
-   tests/test_tracer.py::test_fullsource_cython
-
-   # need pytest-benchmark
-   tests/test_cookbook.py::test_probe
-   tests/test_tracer.py::test_perf_actions
-   tests/test_tracer.py::test_perf_filter
-   tests/test_tracer.py::test_perf_stdlib
-
-   # flaky
-   tests/test_remote.py
-)
-
-distutils_enable_tests pytest
-
-distutils_enable_sphinx docs \
-   ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
-
-src_unpack() {
-   default
-
-   if use test; then
-   cp -a "${S}" "${TEST_S}" || die
-   mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die
-   fi
-}
-
-src_prepare() {
-   find . -name '*.c' -delete || die "removing csources failed"
-   distutils-r1_src_prepare
-}
-
-python_compile() {
-   distutils-r1_python_compile
-
-   if use test; then
-   einfo "  Building tests"
-   cd "${TEST_S}" || die
-   esetup.py build_ext -j $(makeopts_jobs) --inplace
-   fi
-}
-
-python_test() {
-   cd "${TEST_S}"/tests || die
-   epytest
-}

diff --git a/dev-python/hunter/hunter-3.6.1.ebuild 
b/dev-python/hunter/hunter-3.6.1.ebuild
new file mode 100644
index 00..806f3ecc01
--- /dev/null
+++ b/dev-python/hunter/hunter-3.6.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2023-05-02 Thread Anna Vyalkova
commit: c4ec4fd160cfd01a0d4f14dbcf22c5475584d2b7
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue May  2 16:53:08 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Tue May  2 16:53:08 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c4ec4fd1

dev-python/hunter: drop 3.5.1

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/hunter/Manifest|  1 -
 dev-python/hunter/hunter-3.5.1.ebuild | 79 ---
 2 files changed, 80 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 0300942c0..6d38f0230 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-DIST hunter-3.5.1.gh.tar.gz 543137 BLAKE2B 
a06966f78fd442231c08e2aafe57702f7cc16e5db6aa9a1da7288e4a3a05ff9db3dfc49352641610ade31cb967996c3add64f07ddf637f46e5d269e9d0363a9f
 SHA512 
2c302fa8b88c07be5361f11d8c250c5673be9dc691df9e966959eed45eaf0a8499ae8a6381256d83ab7219c818ed981628fb3299ef5d17d7b1d95c43a2fc63a7
 DIST hunter-3.6.0.gh.tar.gz 626304 BLAKE2B 
8cef43f6427863724b6a7f848ee938011b8de2100c12c4f7cd049156733da0076f3d04d74328aeff06edeab6e5d85a9dd564b6281644a1e6172741573f066127
 SHA512 
5b5a6e7e2f26f71ff151d40fe0b660141ff2d2637fa9a226e9a1a4ead5267cf1e851baa0a439a94aa4b537db3fbdc5cd660304f64ad08ee90a115516c3848547

diff --git a/dev-python/hunter/hunter-3.5.1.ebuild 
b/dev-python/hunter/hunter-3.5.1.ebuild
deleted file mode 100644
index c1bc7942d..0
--- a/dev-python/hunter/hunter-3.5.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 multiprocessing
-
-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=(
-   # broken
-   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
-}
-
-src_prepare() {
-   default
-
-   find . -name '*.c' -delete || die "removing csources failed"
-}
-
-python_compile() {
-   distutils-r1_python_compile
-
-   if use test; then
-   einfo "  Building tests"
-   cd "${TEST_S}" || die
-   esetup.py build_ext -j $(makeopts_jobs) --inplace
-   fi
-}
-
-python_test() {
-   cd "${TEST_S}"/tests || die
-   epytest
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2023-04-29 Thread Anna Vyalkova
commit: d781663e9fd797a4c05b040450392a89f5fe3fc6
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Apr 29 06:21:38 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Sat Apr 29 06:21:38 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d781663e

dev-python/hunter: fix prepare

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

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

diff --git a/dev-python/hunter/hunter-3.6.0.ebuild 
b/dev-python/hunter/hunter-3.6.0.ebuild
index 01e701f16..87f640745 100644
--- a/dev-python/hunter/hunter-3.6.0.ebuild
+++ b/dev-python/hunter/hunter-3.6.0.ebuild
@@ -67,8 +67,8 @@ src_unpack() {
 }
 
 src_prepare() {
-   default
find . -name '*.c' -delete || die "removing csources failed"
+   distutils-r1_src_prepare
 }
 
 python_compile() {



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2023-04-28 Thread Anna Vyalkova
commit: 938d9fa398dbd16ddd1f58d96429f73b024e0a7e
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Apr 28 17:46:13 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Fri Apr 28 18:20:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=938d9fa3

dev-python/hunter: disable benchmark tests

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/hunter/hunter-3.6.0.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/hunter/hunter-3.6.0.ebuild 
b/dev-python/hunter/hunter-3.6.0.ebuild
index 1738be5b0..01e701f16 100644
--- a/dev-python/hunter/hunter-3.6.0.ebuild
+++ b/dev-python/hunter/hunter-3.6.0.ebuild
@@ -30,7 +30,6 @@ BDEPEND="
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
)
@@ -43,6 +42,12 @@ EPYTEST_DESELECT=(
#tests/test_tracer.py::test_source_cython
tests/test_tracer.py::test_fullsource_cython
 
+   # need pytest-benchmark
+   tests/test_cookbook.py::test_probe
+   tests/test_tracer.py::test_perf_actions
+   tests/test_tracer.py::test_perf_filter
+   tests/test_tracer.py::test_perf_stdlib
+
# flaky
tests/test_remote.py
 )



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2023-04-26 Thread Anna Vyalkova
commit: 33434b121b71f15fca3df45dbee898cb6c724e54
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Apr 26 19:38:47 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Wed Apr 26 19:39:06 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33434b12

dev-python/hunter: add 3.6.0

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/hunter/Manifest|  1 +
 dev-python/hunter/hunter-3.6.0.ebuild | 82 +++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 7812a3e93..0300942c0 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1,2 @@
 DIST hunter-3.5.1.gh.tar.gz 543137 BLAKE2B 
a06966f78fd442231c08e2aafe57702f7cc16e5db6aa9a1da7288e4a3a05ff9db3dfc49352641610ade31cb967996c3add64f07ddf637f46e5d269e9d0363a9f
 SHA512 
2c302fa8b88c07be5361f11d8c250c5673be9dc691df9e966959eed45eaf0a8499ae8a6381256d83ab7219c818ed981628fb3299ef5d17d7b1d95c43a2fc63a7
+DIST hunter-3.6.0.gh.tar.gz 626304 BLAKE2B 
8cef43f6427863724b6a7f848ee938011b8de2100c12c4f7cd049156733da0076f3d04d74328aeff06edeab6e5d85a9dd564b6281644a1e6172741573f066127
 SHA512 
5b5a6e7e2f26f71ff151d40fe0b660141ff2d2637fa9a226e9a1a4ead5267cf1e851baa0a439a94aa4b537db3fbdc5cd660304f64ad08ee90a115516c3848547

diff --git a/dev-python/hunter/hunter-3.6.0.ebuild 
b/dev-python/hunter/hunter-3.6.0.ebuild
new file mode 100644
index 0..1738be5b0
--- /dev/null
+++ b/dev-python/hunter/hunter-3.6.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=standalone
+DISTUTILS_EXT=1
+inherit distutils-r1 multiprocessing
+
+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[${PYTHON_USEDEP}]
+   dev-python/setuptools-scm[${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=(
+   # broken
+   #tests/test_tracer.py::test_source_cython
+   tests/test_tracer.py::test_fullsource_cython
+
+   # flaky
+   tests/test_remote.py
+)
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+   ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
+
+src_unpack() {
+   default
+
+   if use test; then
+   cp -a "${S}" "${TEST_S}" || die
+   mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die
+   fi
+}
+
+src_prepare() {
+   default
+   find . -name '*.c' -delete || die "removing csources failed"
+}
+
+python_compile() {
+   distutils-r1_python_compile
+
+   if use test; then
+   einfo "  Building tests"
+   cd "${TEST_S}" || die
+   esetup.py build_ext -j $(makeopts_jobs) --inplace
+   fi
+}
+
+python_test() {
+   cd "${TEST_S}"/tests || die
+   epytest
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2023-03-04 Thread Anna Vyalkova
commit: b66871c4e9932ac394bef012b6eaa55e6207a093
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Mar  4 12:05:18 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Sat Mar  4 12:06:40 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b66871c4

dev-python/hunter: drop 3.4.3-r1

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/hunter/Manifest   |  1 -
 dev-python/hunter/hunter-3.4.3-r1.ebuild | 69 
 2 files changed, 70 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index efb297676..7812a3e93 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-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.4.3-r1.ebuild 
b/dev-python/hunter/hunter-3.4.3-r1.ebuild
deleted file mode 100644
index 30e6d8c0a..0
--- a/dev-python/hunter/hunter-3.4.3-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# 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}"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# python-hunter only works if deps are vendored (some .pth stuff)
-#RDEPEND="
-   #>=dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
-   #dev-python/cymem[${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}]
-   dev-python/toml[${PYTHON_USEDEP}]
-   )
-" # toml is an indirect dependency (needed by ipdb)
-
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
-
-EPYTEST_IGNORE=( test_remote.py )
-EPYTEST_DESELECT=(
-   tests/test_tracer.py::test_source_cython
-   tests/test_tracer.py::test_fullsource_cython
-)
-
-distutils_enable_tests pytest
-
-distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
-
-src_unpack() {
-   default
-   cp -a "${S}" tests_package || die
-   mv -f tests_package/tests/setup.py tests_package || die
-}
-
-python_test() {
-   cp -a "${BUILD_DIR}"/{install,test} || die
-   local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
-
-   cd "${WORKDIR}"/tests_package >/dev/null || die
-   distutils_pep517_install "${BUILD_DIR}"/test
-
-   cd ./tests || die
-   epytest
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2022-11-26 Thread Anna Vyalkova
commit: 0b09403554e316434b88c4685b302424540e47ab
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Nov 26 14:14:26 2022 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Sat Nov 26 16:41:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b094035

dev-python/hunter: remove csources

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

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

diff --git a/dev-python/hunter/hunter-3.5.1.ebuild 
b/dev-python/hunter/hunter-3.5.1.ebuild
index 92992aad4..bd9a4510a 100644
--- a/dev-python/hunter/hunter-3.5.1.ebuild
+++ b/dev-python/hunter/hunter-3.5.1.ebuild
@@ -57,6 +57,12 @@ src_unpack() {
mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die
 }
 
+src_prepare() {
+   default
+
+   find . -name '*.c' -delete || die "removing csources failed"
+}
+
 python_compile() {
distutils-r1_python_compile
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2022-11-04 Thread Anna Vyalkova
commit: 61311e2738566bae6cfdc1ab596fb26769295016
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Nov  4 14:45:45 2022 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Fri Nov  4 14:45:45 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61311e27

dev-python/hunter: try to simplify tests

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/hunter/hunter-3.5.1.ebuild | 25 ++---
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/dev-python/hunter/hunter-3.5.1.ebuild 
b/dev-python/hunter/hunter-3.5.1.ebuild
index 73d1df298..92992aad4 100644
--- a/dev-python/hunter/hunter-3.5.1.ebuild
+++ b/dev-python/hunter/hunter-3.5.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit distutils-r1 multiprocessing
 
 DESCRIPTION="Hunter is a flexible code tracing toolkit"
 HOMEPAGE="
@@ -15,6 +15,7 @@ HOMEPAGE="
 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"
@@ -36,6 +37,7 @@ BDEPEND="
 DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
 
 EPYTEST_DESELECT=(
+   # broken
tests/test_tracer.py::test_source_cython
tests/test_tracer.py::test_fullsource_cython
 
@@ -55,16 +57,17 @@ src_unpack() {
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}"
+python_compile() {
+   distutils-r1_python_compile
 
-   local -x PATH="${TEST_ROOT}/usr/bin:${PATH}"
-   local -x PYTHONPATH="${S}/tests:${PYTHONPATH}"
+   if use test; then
+   einfo "  Building tests"
+   cd "${TEST_S}" || die
+   esetup.py build_ext -j $(makeopts_jobs) --inplace
+   fi
+}
 
-   cd "${T}" || die
-   epytest "${S}"/tests
+python_test() {
+   cd "${TEST_S}"/tests || die
+   epytest
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2022-11-03 Thread Anna Vyalkova
commit: d380582573c1ef57c582d019470e488f3f9ab712
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Nov  3 06:51:43 2022 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Thu Nov  3 07:37:11 2022 +
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  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 0..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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

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

dev-python/hunter: quote S var

Signed-off-by: Andrew Ammerlaan  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
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/, dev-python/hunter/files/

2022-06-04 Thread Alessandro Barbieri
commit: 8170ef64ed18bd80e99defc770ca9898067e9859
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Jun  4 10:39:33 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Jun  4 13:13:47 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8170ef64

dev-python/hunter: drop 3.3.8

Signed-off-by: Alessandro Barbieri  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..0
--- 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..0
--- 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
-   )

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2022-06-04 Thread Alessandro Barbieri
commit: b12958f5d09dd4fd43c99db5e45c129a7d13e1af
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Jun  4 10:40:04 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Jun  4 13:13:47 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b12958f5

dev-python/hunter: update SRC_URI

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/hunter/Manifest| 2 +-
 dev-python/hunter/hunter-3.4.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index b4d24e07b..817554ec7 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1 @@
-DIST hunter-3.4.3.tar.gz 538017 BLAKE2B 
92ad2b653d0285059ea2f005c6ba9564f357e1ea438a0fe30087f88efa202aaa504bad65985a88484cf7178c24432ac44705098dabc2667328c71e0ee38f718c
 SHA512 
921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7
+DIST hunter-3.4.3.gh.tar.gz 538017 BLAKE2B 
92ad2b653d0285059ea2f005c6ba9564f357e1ea438a0fe30087f88efa202aaa504bad65985a88484cf7178c24432ac44705098dabc2667328c71e0ee38f718c
 SHA512 
921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7

diff --git a/dev-python/hunter/hunter-3.4.3.ebuild 
b/dev-python/hunter/hunter-3.4.3.ebuild
index d90fdd615..919400ccd 100644
--- a/dev-python/hunter/hunter-3.4.3.ebuild
+++ b/dev-python/hunter/hunter-3.4.3.ebuild
@@ -12,7 +12,7 @@ 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"
+SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 S="${WORKDIR}/python-${P}"
 LICENSE="BSD-2"
 SLOT="0"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2022-03-18 Thread Alessandro Barbieri
commit: 534e6249982db81c8a03ad17ef158f59a1abe6cb
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 18 09:00:37 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 18 09:00:37 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=534e6249

dev-python/hunter: add toml dependency

Bug: https://bugs.gentoo.org/835526
Signed-off-by: Alessandro Barbieri  gmail.com>

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

diff --git a/dev-python/hunter/hunter-3.4.3.ebuild 
b/dev-python/hunter/hunter-3.4.3.ebuild
index 08a454f17..d90fdd615 100644
--- a/dev-python/hunter/hunter-3.4.3.ebuild
+++ b/dev-python/hunter/hunter-3.4.3.ebuild
@@ -23,6 +23,7 @@ DEPEND="
${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
 "
+# toml is an indirect dependency (needed by ipdb)
 BDEPEND="
>=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}]
test? (
@@ -32,6 +33,8 @@ BDEPEND="
dev-python/process-tests[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
+
+   dev-python/toml[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/files/, dev-python/hunter/

2022-03-16 Thread Alessandro Barbieri
commit: 09ac1bfd7fdaec359650dcb27e4c7f41500345a9
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Mar 17 01:10:34 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Thu Mar 17 01:10:34 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09ac1bfd

dev-python/hunter: add 3.4.3

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/hunter/Manifest |  1 +
 .../files/hunter-remove-vendored-colorama.patch| 34 ++
 dev-python/hunter/hunter-3.4.3.ebuild  | 79 ++
 3 files changed, 114 insertions(+)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 8d0386983..1cbe63eef 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1,2 @@
 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/hunter-remove-vendored-colorama.patch 
b/dev-python/hunter/files/hunter-remove-vendored-colorama.patch
new file mode 100644
index 0..1fa6342c0
--- /dev/null
+++ b/dev-python/hunter/files/hunter-remove-vendored-colorama.patch
@@ -0,0 +1,34 @@
+--- a/src/hunter/actions.py
 b/src/hunter/actions.py
+@@ -8,6 +8,8 @@
+ from itertools import islice
+ from os import getpid
+ 
++from colorama import AnsiToWin32
++
+ from . import config
+ from .util import BUILTIN_SYMBOLS
+ from .util import CALL_COLORS
+@@ -22,7 +20,6 @@
+ from .util import frame_iterator
+ from .util import iter_symbols
+ from .util import safe_repr
+-from .vendor.colorama import AnsiToWin32
+ 
+ try:
+ from threading import get_ident
+--- a/src/hunter/util.py
 b/src/hunter/util.py
+@@ -8,9 +8,9 @@
+ from collections import defaultdict
+ from collections import deque
+ 
++from colorama import Back
++from colorama import Fore
++from colorama import Style
+-from .vendor.colorama import Back
+-from .vendor.colorama import Fore
+-from .vendor.colorama import Style
+ 
+ try:
+ import __builtin__ as builtins

diff --git a/dev-python/hunter/hunter-3.4.3.ebuild 
b/dev-python/hunter/hunter-3.4.3.ebuild
new file mode 100644
index 0..08a454f17
--- /dev/null
+++ b/dev-python/hunter/hunter-3.4.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 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"
+
+RDEPEND=">=dev-python/colorama-0.4.4[${PYTHON_USEDEP}]"
+DEPEND="
+   ${RDEPEND}
+   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}/${PN}-remove-vendored-colorama.patch" )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2"
+
+src_prepare() {
+   # remove vendored colorama
+   rm -r src/hunter/vendor || die
+   default
+}
+
+python_compile() {
+   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 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-08-14 Thread Anna Vyalkova
commit: 8c19db27656daaf85510e72cb69c845e6974c863
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Aug 13 23:42:57 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Sat Aug 14 01:59:34 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c19db27

dev-python/hunter: enable py3.10

Signed-off-by: Anna (cybertailor) Vyalkova  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[@]}"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-08-14 Thread Anna Vyalkova
commit: 8a1819e778795b1b3ba55b1e360ccb5becac688d
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Aug 13 20:02:24 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Sat Aug 14 01:53:50 2021 +
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  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..0
--- 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
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-06-28 Thread Alessandro Barbieri
commit: 013b4b2f04d6f57ae1e0f603a70675ff7ec67918
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jun 28 13:28:03 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Jun 28 13:34:13 2021 +
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  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
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-06-27 Thread Alessandro Barbieri
commit: d8282f5c5f11f605e4f8ad56487551aff7ab471e
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Jun 27 23:06:03 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Jun 27 23:06:03 2021 +
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  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
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-06-17 Thread Alessandro Barbieri
commit: 6f2e0ebce3da18f811ec356fec0c8423a110d57f
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Jun 17 15:41:27 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Thu Jun 17 16:01:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f2e0ebc

dev-python/hunter: add 3.3.5

Signed-off-by: Alessandro Barbieri  gmail.com>

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

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index ec461da4b..41b967bb8 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +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

diff --git a/dev-python/hunter/hunter-3.3.5.ebuild 
b/dev-python/hunter/hunter-3.3.5.ebuild
new file mode 100644
index 0..fea16decc
--- /dev/null
+++ b/dev-python/hunter/hunter-3.3.5.ebuild
@@ -0,0 +1,63 @@
+# 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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-06-14 Thread Alessandro Barbieri
commit: 4230bcbaec4a4610273930cc7bff687ad5a3e6d5
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jun 14 22:48:48 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Jun 14 23:09:42 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4230bcba

dev-python/hunter: drop 3.3.3

Signed-off-by: Alessandro Barbieri  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..0
--- 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
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-06-13 Thread Alessandro Barbieri
commit: 714f98c5d4436417f5cf23cc5874080a8b3f0efd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jun 14 02:19:00 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Jun 14 02:27:31 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=714f98c5

dev-python/hunter: add 3.3.4

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/hunter/Manifest|  1 +
 dev-python/hunter/hunter-3.3.4.ebuild | 63 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 35e192ec6..97a75678d 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1,2 @@
 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.4.ebuild 
b/dev-python/hunter/hunter-3.3.4.ebuild
new file mode 100644
index 0..fea16decc
--- /dev/null
+++ b/dev-python/hunter/hunter-3.3.4.ebuild
@@ -0,0 +1,63 @@
+# 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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-05-25 Thread Anna Vyalkova
commit: e11925b21b5bcc849e5d095f93d8fb40d39bf76b
Author: Anna Vyalkova  sysrq  in>
AuthorDate: Tue May 25 08:41:29 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Tue May 25 10:37:34 2021 +
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  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..0
--- 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
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/files/, dev-python/hunter/

2021-05-08 Thread Alessandro Barbieri
commit: dd0bdca51a0ec46dcbd73e91e47c66806e708345
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun May  9 00:15:09 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun May  9 00:16:23 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd0bdca5

dev-python/hunter: new version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/hunter/Manifest |  1 +
 .../remove-setuptools_scm-upper-constraint.patch   | 15 ++
 dev-python/hunter/hunter-3.3.3.ebuild  | 63 ++
 dev-python/hunter/metadata.xml |  4 +-
 4 files changed, 81 insertions(+), 2 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index 4766d81ce..c07b8acdf 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1 +1,2 @@
 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/files/remove-setuptools_scm-upper-constraint.patch 
b/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch
new file mode 100644
index 0..5e831b906
--- /dev/null
+++ b/dev-python/hunter/files/remove-setuptools_scm-upper-constraint.patch
@@ -0,0 +1,15 @@
+--- 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.3.ebuild 
b/dev-python/hunter/hunter-3.3.3.ebuild
new file mode 100644
index 0..66200e1ea
--- /dev/null
+++ b/dev-python/hunter/hunter-3.3.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 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"
+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
+}

diff --git a/dev-python/hunter/metadata.xml b/dev-python/hunter/metadata.xml
index 0d170b8b8..c0ae14636 100644
--- a/dev-python/hunter/metadata.xml
+++ b/dev-python/hunter/metadata.xml
@@ -67,7 +67,7 @@ From the other perspective, you'd be wondering if you could 
use Hunter to measur
 In other words, filtering events is the main selling point of Hunter - it's 
fast (cython implementation) and the query API is flexible enough.
   
   
-python-hyper/hyper-h2
-h2
+ionelmc/python-hunter
+hunter
   
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2021-05-03 Thread Anna Vyalkova
commit: 143550df19c36e5906c8661a57cb0089e7b146af
Author: Anna Vyalkova  sysrq  in>
AuthorDate: Mon May  3 21:54:39 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Mon May  3 23:27:25 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=143550df

dev-python/hunter: fix tests and bump to 3.3.2

Dropped 3.1.3 because there's no way I'm messing with tests in another
one version! >.<

Closes: https://bugs.gentoo.org/787050
Signed-off-by: Anna Vyalkova  sysrq.in>

 dev-python/hunter/Manifest |  3 +-
 dev-python/hunter/hunter-3.1.3.ebuild  | 51 --
 .../{hunter-3.3.1.ebuild => hunter-3.3.2.ebuild}   | 23 +-
 3 files changed, 23 insertions(+), 54 deletions(-)

diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest
index a814d24eb..4766d81ce 100644
--- a/dev-python/hunter/Manifest
+++ b/dev-python/hunter/Manifest
@@ -1,2 +1 @@
-DIST hunter-3.1.3.tar.gz 422149 BLAKE2B 
2834b3daa6be461b78d468aa331a587a476b7109f5ff9c70b27bb51b26f6a390d2074425f4d98ddc692d4e11f1ee14a77f5066650e82687ebaa586051afab4c8
 SHA512 
ea9cc935240526d2942568073cecfb2bef32d7caedd0b370850b208a56c652bf356ba0e5675281946419aafd966cbff148490f6f4439d0d808335a3e831adbf7
-DIST hunter-3.3.1.tar.gz 533218 BLAKE2B 
9ad62c4c5649b3389a480732a3f6939f54fe39f25362e5f796d78ab8286d6aada326035882d81a09c985765c4acc6283e1bd6665c473ca3edb9a84a6f2b301e6
 SHA512 
8ac5d2f993bc7c75adae532d4bff5a905c7ec84d32389fcfabb4c5ca3d511a73dc84725d5a450be7d1281e006ec049a5b43c01a79890e0b00302b6b7df291d55
+DIST hunter-3.3.2.tar.gz 535119 BLAKE2B 
25551f04d0b2dafa6875c5c5660d2c57417bdc113960ec2b8d224c88a6b9d08b38bfbbb2deb516e7a36704164318137f5675409850c2eeff2c486a819731c756
 SHA512 
e3b5e7a3729074cf52a7a209e6f54a1319b3e94ff50abe4e6d8f00f3953720e3c2380de066c2a0a4e56c7a348fdd947425ae19c8907bd420d10ffb271bc07516

diff --git a/dev-python/hunter/hunter-3.1.3.ebuild 
b/dev-python/hunter/hunter-3.1.3.ebuild
deleted file mode 100644
index 86af50715..0
--- a/dev-python/hunter/hunter-3.1.3.ebuild
+++ /dev/null
@@ -1,51 +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/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
-}

diff --git a/dev-python/hunter/hunter-3.3.1.ebuild 
b/dev-python/hunter/hunter-3.3.2.ebuild
similarity index 59%
rename from dev-python/hunter/hunter-3.3.1.ebuild
rename to dev-python/hunter/hunter-3.3.2.ebuild
index 952cd2f05..51a71d901 100644
--- a/dev-python/hunter/hunter-3.3.1.ebuild
+++ b/dev-python/hunter/hunter-3.3.2.ebuild
@@ -25,7 +25,6 @@ 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}]
@@ -45,5 +44,27 @@ 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] 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-12-03 Thread Theo Anderson
commit: 7a7ffe976dd9dcafa3c7d30d3c327e6f41047c26
Author: Theo Anderson  posteo  de>
AuthorDate: Fri Dec  4 05:07:10 2020 +
Commit: Theo Anderson  posteo  de>
CommitDate: Fri Dec  4 05:07:10 2020 +
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  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 ..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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-09-24 Thread Andrew Ammerlaan
commit: 51ea36817f92d74e62a149f94694586d0de4dcc6
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Sep 24 11:52:50 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Sep 24 11:52:50 2020 +
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  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
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-06-09 Thread Andrew Ammerlaan
commit: bab86a22e1725e5e9940e56740c434d420db5b67
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jun  9 14:00:38 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Jun  9 14:00:38 2020 +
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  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="



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-04-02 Thread Alessandro Barbieri
commit: 0c30766dafb917f53349a583d85b1e1f752c8824
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Apr  2 22:26:18 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Thu Apr  2 23:04:10 2020 +
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  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}]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-04-01 Thread Alessandro Barbieri
commit: b269002bdda2f35152b9cc4e1d4baae826474eaf
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Apr  1 20:17:57 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed Apr  1 20:55:28 2020 +
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  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}]
 "



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-03-29 Thread Andrew Ammerlaan
commit: c8d765c23c399e7b194530423a6df7fa4c2565a7
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Mar 29 11:50:56 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Mar 29 11:50:56 2020 +
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  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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/

2020-03-29 Thread Alessandro Barbieri
commit: 853d6212365a0203373062f8b7e97290e551fa15
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 29 09:19:07 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Mar 29 09:29:03 2020 +
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  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 000..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 000..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 000..0fd2af6
--- /dev/null
+++ b/dev-python/hunter/metadata.xml
@@ -0,0 +1,73 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+  
+lssndrbarbi...@gmail.com
+Alessandro Barbieri
+  
+  
+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