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

2024-04-13 Thread Julien Roy
commit: cd59f6ab243f5021d4e7f4369de79facdad3161c
Author: Henri Gasc  eurecom  fr>
AuthorDate: Fri Apr 12 21:42:08 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 12:31:35 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd59f6ab

dev-python/manhole: update PYTHON_COMPAT for 3.12

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

 dev-python/manhole/files/importlib.patch   | 11 +
 dev-python/manhole/manhole-1.8.0-r1.ebuild | 55 --
 dev-python/manhole/manhole-1.8.0-r2.ebuild | 73 ++
 dev-python/manhole/metadata.xml|  8 ++--
 4 files changed, 88 insertions(+), 59 deletions(-)

diff --git a/dev-python/manhole/files/importlib.patch 
b/dev-python/manhole/files/importlib.patch
new file mode 100644
index 00..e9cb141349
--- /dev/null
+++ b/dev-python/manhole/files/importlib.patch
@@ -0,0 +1,11 @@
+Use importlib as imp is removed in python3.12
+--- a/tests/test_manhole.py
 b/tests/test_manhole.py
+@@ -1,6 +1,6 @@
+ from __future__ import print_function
+ 
+-import imp
++import importlib
+ import os
+ import re
+ import select

diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild 
b/dev-python/manhole/manhole-1.8.0-r1.ebuild
deleted file mode 100644
index a0d3e53599..00
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="Debugging manhole for python application"
-HOMEPAGE="
-   https://github.com/ionelmc/python-manhole
-   https://pypi.org/project/manhole/
-"
-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 ~arm ~arm64 ~x86"
-
-BDEPEND="
-   test? (
-   dev-python/process-tests[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   )
-"
-
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
-
-distutils_enable_tests pytest
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-
-python_test() {
-   local -x PYTHONPATH="${S}/src:${PYTHONPATH}"
-   local EPYTEST_DESELECT=(
-   tests/test_manhole.py::test_connection_handler_exec
-   tests/test_manhole.py::test_non_daemon_connection
-   tests/test_manhole.py::test_daemon_connection
-   tests/test_manhole.py::test_environ_variable_activation
-   tests/test_manhole.py::test_fork_exec
-   tests/test_manhole.py::test_uwsgi
-   tests/test_manhole_cli.py::test_help
-
-   # usually passes but sometimes fails (bug #792225)
-   tests/test_manhole.py::test_stderr_doesnt_deadlock
-   )
-
-   [[ ${EPYTHON} == pypy3 ]] && \
-   EPYTEST_DESELECT+=( tests/test_manhole.py::test_log_fh )
-
-   distutils-r1_python_test
-}

diff --git a/dev-python/manhole/manhole-1.8.0-r2.ebuild 
b/dev-python/manhole/manhole-1.8.0-r2.ebuild
new file mode 100644
index 00..51160ca796
--- /dev/null
+++ b/dev-python/manhole/manhole-1.8.0-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+
+DOCS_BUILDER="sphinx"
+DOCS_DEPEND="dev-python/sphinx-py3doc-enhanced-theme"
+DOCS_DIR="docs"
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Debugging manhole for python application"
+HOMEPAGE="
+   https://github.com/ionelmc/python-manhole
+   https://pypi.org/project/manhole/
+"
+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 ~arm ~arm64 ~x86"
+
+BDEPEND="
+   test? (
+   dev-python/process-tests[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   )
+"
+
+DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+
+PATCHES=(
+   "${FILESDIR}/importlib.patch"
+)
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+   # Need an internet connection
+   tests/test_manhole.py::test_simple
+   tests/test_manhole.py::test_connection_handler_exec
+   tests/test_manhole.py::test_daemon_connection
+   tests/test_manhole.py::test_non_daemon_connection
+   tests/test_manhole.py::test_locals_after_fork
+   tests/test_manhole.py::test_socket_path
+   tests/test_manhole.py::test_with_fork
+   tests/test_manhole.py::test_with_forkpty
+   tests/test_manhole.py::test_oneshot_on_usr2_error
+
+   # Need the python package signalfd
+   tests/test_manhole.py::test_sigprocmask
+   tests/test_manhole.py::test_sigprocmask_negative
+   

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

2021-12-08 Thread Andrew Ammerlaan
commit: 9f2ce690d3f794135872703f85365ffec5c3dc30
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Mon Dec  6 09:18:43 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Dec  6 10:19:45 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9f2ce690

dev-python/manhole: distutils_install_for_testing

Closes: https://bugs.gentoo.org/828022
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/manhole/manhole-1.8.0-r1.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild 
b/dev-python/manhole/manhole-1.8.0-r1.ebuild
index 4497fdc9a..dfdfad7db 100644
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild
@@ -32,26 +32,28 @@ BDEPEND="test? (
 DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
 
 distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
-distutils_enable_tests --install pytest
+distutils_enable_tests pytest
 
 python_test() {
+   distutils_install_for_testing
+
local -x PYTHONPATH="${S}/src:${PYTHONPATH}"
local EPYTEST_DESELECT=(
tests/test_manhole.py::test_connection_handler_exec
tests/test_manhole.py::test_non_daemon_connection
tests/test_manhole.py::test_daemon_connection
+   tests/test_manhole.py::test_environ_variable_activation
tests/test_manhole.py::test_fork_exec
tests/test_manhole.py::test_uwsgi
tests/test_manhole_cli.py::test_help
-   )
 
-   # usually passes but sometimes fails (bug #792225)
-   EPYTEST_DESELECT+=( tests/test_manhole.py::test_stderr_doesnt_deadlock )
+   # usually passes but sometimes fails (bug #792225)
+   tests/test_manhole.py::test_stderr_doesnt_deadlock
+   )
 
if [[ ${EPYTHON} == pypy3 ]]; then
EPYTEST_DESELECT+=(
tests/test_manhole.py::test_log_fh
-   tests/test_manhole.py::test_environ_variable_activation
)
fi
 



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

2021-12-01 Thread Andrew Ammerlaan
commit: a118661fde642e4e47959531082610370c173faa
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Mon Nov 29 08:21:46 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov 29 10:07:44 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a118661f

dev-python/manhole: fix PYTHONPATH for tests

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

 dev-python/manhole/manhole-1.8.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild 
b/dev-python/manhole/manhole-1.8.0-r1.ebuild
index ba33885ff..4497fdc9a 100644
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild
@@ -35,6 +35,7 @@ distutils_enable_sphinx docs 
dev-python/sphinx-py3doc-enhanced-theme
 distutils_enable_tests --install pytest
 
 python_test() {
+   local -x PYTHONPATH="${S}/src:${PYTHONPATH}"
local EPYTEST_DESELECT=(
tests/test_manhole.py::test_connection_handler_exec
tests/test_manhole.py::test_non_daemon_connection



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

2021-10-20 Thread Florian Schmaus
commit: 018db33350b625d15e6d5db517e1cd019afbf80d
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Mon Oct 18 11:45:00 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Oct 18 11:45:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=018db333

dev-python/manhole: correct DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/808699
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/manhole/manhole-1.8.0-r1.ebuild | 43 +++---
 1 file changed, 22 insertions(+), 21 deletions(-)

diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild 
b/dev-python/manhole/manhole-1.8.0-r1.ebuild
index a49107d05..191643bea 100644
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild
@@ -3,18 +3,6 @@
 
 EAPI=8
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
-EPYTEST_DESELECT=(
-   "tests/test_manhole.py::test_non_daemon_connection"
-   "tests/test_manhole.py::test_daemon_connection"
-   "tests/test_manhole.py::test_uwsgi"
-   "tests/test_manhole.py::test_fork_exec"
-   "tests/test_manhole.py::test_connection_handler_exec[str]"
-   "tests/test_manhole.py::test_connection_handler_exec[func]"
-   "tests/test_manhole.py::test_environ_variable_activation"
-   "tests/test_manhole.py::test_stderr_doesnt_deadlock"
-   "tests/test_manhole_cli.py"
-)
 PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1
@@ -25,22 +13,35 @@ HOMEPAGE="
https://pypi.org/project/manhole
 "
 SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/python-${PN}-${PV}"
+S="${WORKDIR}/python-${P}"
 
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
-DEPEND="
-   test? (
-   dev-python/gevent[${PYTHON_USEDEP}]
-   dev-python/process-tests[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/eventlet[${PYTHON_USEDEP}]' 
python3.8 python3.9)
-   )
+BDEPEND="test? (
+   dev-python/gevent[${PYTHON_USEDEP}]
+   dev-python/process-tests[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep \
+   'dev-python/eventlet[${PYTHON_USEDEP}]' \
+   python3.8 python3.9)
+)
 "
 
 DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
 
-distutils_enable_tests --install pytest
 distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
+distutils_enable_tests --install pytest
+
+EPYTEST_DESELECT=(
+   "tests/test_manhole.py::test_non_daemon_connection"
+   "tests/test_manhole.py::test_daemon_connection"
+   "tests/test_manhole.py::test_uwsgi"
+   "tests/test_manhole.py::test_fork_exec"
+   "tests/test_manhole.py::test_connection_handler_exec[str]"
+   "tests/test_manhole.py::test_connection_handler_exec[func]"
+   "tests/test_manhole.py::test_environ_variable_activation"
+   "tests/test_manhole.py::test_stderr_doesnt_deadlock"
+   "tests/test_manhole_cli.py"
+)



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

2021-05-26 Thread Andrew Ammerlaan
commit: f832ad00f4b459af5f6b4bf6bdef2bcdd78f68dc
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed May 26 10:34:48 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed May 26 10:34:48 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f832ad00

dev-python/manhole: skip failing test

Closes: https://bugs.gentoo.org/792225
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/manhole/manhole-1.8.0.ebuild | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev-python/manhole/manhole-1.8.0.ebuild 
b/dev-python/manhole/manhole-1.8.0.ebuild
index f0e68e5ae..e6edae08f 100644
--- a/dev-python/manhole/manhole-1.8.0.ebuild
+++ b/dev-python/manhole/manhole-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND="
+BDEPEND="
test? (
dev-python/eventlet[${PYTHON_USEDEP}]
dev-python/gevent[${PYTHON_USEDEP}]
@@ -32,13 +32,11 @@ DEPEND="
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme \
-   dev-python/sphinxcontrib-napoleon
+distutils_enable_tests --install pytest
+
+distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
 
 python_test() {
-   distutils_install_for_testing
epytest \
--deselect 
tests/test_manhole.py::test_non_daemon_connection \
--deselect 
tests/test_manhole.py::test_daemon_connection \
@@ -47,6 +45,7 @@ python_test() {
--deselect 
tests/test_manhole.py::test_connection_handler_exec[str] \
--deselect 
tests/test_manhole.py::test_connection_handler_exec[func] \
--deselect 
tests/test_manhole.py::test_environ_variable_activation \
+   --deselect 
tests/test_manhole.py::test_stderr_doesnt_deadlock \
--deselect tests/test_manhole_cli.py::test_help
 
 }



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

2021-05-25 Thread Haelwenn Monnier
commit: ad2dc4664e63055a9c0e19b48496bf5db4f38f33
Author: Anna Vyalkova  sysrq  in>
AuthorDate: Tue May 25 08:40:12 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue May 25 10:37:34 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad2dc466

dev-python/manhole: support python 3.9

Signed-off-by: Anna Vyalkova  sysrq.in>

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

diff --git a/dev-python/manhole/manhole-1.8.0.ebuild 
b/dev-python/manhole/manhole-1.8.0.ebuild
index ff8d55f96..f0e68e5ae 100644
--- a/dev-python/manhole/manhole-1.8.0.ebuild
+++ b/dev-python/manhole/manhole-1.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1



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

2020-04-03 Thread Haelwenn Monnier
commit: 1b7418f5ab1d199b4c43a05cb943258cb068e058
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Apr  2 22:48:10 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Thu Apr  2 23:04:10 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b7418f5

dev-python/manhole: disable failing tests

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

 dev-python/manhole/manhole-1.6.0.ebuild | 24 +---
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/dev-python/manhole/manhole-1.6.0.ebuild 
b/dev-python/manhole/manhole-1.6.0.ebuild
index 6a8e3a3..b60509b 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -4,7 +4,6 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_6 )
-
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
@@ -19,12 +18,10 @@ HOMEPAGE="
 SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 LICENSE="BSD-2"
 SLOT="0"
-
+IUSE="test"
+RESTRICT="!test? ( test )"
 KEYWORDS="~amd64 ~x86"
 
-#majority of test works but I can't exclude the failing one easily
-RESTRICT="test"
-
 RDEPEND=""
 DEPEND="
${RDEPEND}
@@ -40,13 +37,18 @@ DEPEND="
 
 S="${WORKDIR}/${MYPN}-${PV}"
 
-#src_prepare() {
-#  #wsgi test require network
-#  rm tests/wsgi.py || die
-#  default
-#}
+python_test() {
+   pytest -vv \
+   --deselect 
tests/test_manhole.py::test_non_daemon_connection \
+   --deselect 
tests/test_manhole.py::test_daemon_connection \
+   --deselect tests/test_manhole.py::test_uwsgi \
+   --deselect tests/test_manhole.py::test_fork_exec \
+   --deselect 
tests/test_manhole.py::test_connection_handler_exec[str] \
+   --deselect 
tests/test_manhole.py::test_connection_handler_exec[func] \
+   --deselect tests/test_manhole_cli.py::test_help
+
+}
 
-distutils_enable_tests pytest
 distutils_enable_sphinx docs \
dev-python/sphinx-py3doc-enhanced-theme \
dev-python/sphinxcontrib-napoleon



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

2020-04-03 Thread Haelwenn Monnier
commit: 32cdad40cc948eca4f4ba21a20fece291757fb3d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Apr  3 10:40:48 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Apr  3 10:40:48 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32cdad40

dev-python/manhole: die if tests fail

also, if you dont want distutils_enable_tests to
overwrite your custom test function just put
distutils_enable_tests before the python_test
function

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

 dev-python/manhole/manhole-1.6.0.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-python/manhole/manhole-1.6.0.ebuild 
b/dev-python/manhole/manhole-1.6.0.ebuild
index b60509b..f452da1 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -16,10 +16,9 @@ HOMEPAGE="
https://pypi.org/project/python-manhole
 "
 SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND=""
@@ -37,6 +36,11 @@ DEPEND="
 
 S="${WORKDIR}/${MYPN}-${PV}"
 
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme \
+   dev-python/sphinxcontrib-napoleon
+
 python_test() {
pytest -vv \
--deselect 
tests/test_manhole.py::test_non_daemon_connection \
@@ -45,10 +49,6 @@ python_test() {
--deselect tests/test_manhole.py::test_fork_exec \
--deselect 
tests/test_manhole.py::test_connection_handler_exec[str] \
--deselect 
tests/test_manhole.py::test_connection_handler_exec[func] \
-   --deselect tests/test_manhole_cli.py::test_help
+   --deselect tests/test_manhole_cli.py::test_help || die
 
 }
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme \
-   dev-python/sphinxcontrib-napoleon



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

2020-04-02 Thread Andrew Ammerlaan
commit: 8dc1108d6fce7333ed6e3970bd0ca2d4609b022d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Apr  1 20:06:46 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr  1 20:55:28 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dc1108d

dev-python/manhole: clarify restrict

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

 dev-python/manhole/manhole-1.6.0.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/manhole/manhole-1.6.0.ebuild 
b/dev-python/manhole/manhole-1.6.0.ebuild
index 24175ba..6a8e3a3 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -22,6 +22,7 @@ SLOT="0"
 
 KEYWORDS="~amd64 ~x86"
 
+#majority of test works but I can't exclude the failing one easily
 RESTRICT="test"
 
 RDEPEND=""
@@ -33,12 +34,18 @@ DEPEND="
dev-python/process-tests[${PYTHON_USEDEP}]
dev-python/pytest-travis-fold[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
-   www-servers/uwsgi[python,python_gevent,${PYTHON_USEDEP}]
)
 "
+#  www-servers/uwsgi[python,python_gevent,${PYTHON_USEDEP}]
 
 S="${WORKDIR}/${MYPN}-${PV}"
 
+#src_prepare() {
+#  #wsgi test require network
+#  rm tests/wsgi.py || die
+#  default
+#}
+
 distutils_enable_tests pytest
 distutils_enable_sphinx docs \
dev-python/sphinx-py3doc-enhanced-theme \