* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
2020-03-29 13:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-03-29 13:21 ` Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-03-29 13:21 UTC (permalink / raw
To: gentoo-commits
commit: 753fddeb8ad024ecf4d363ff836e9db1673b38ec
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 29 12:08:02 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 29 12:08:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=753fddeb
dev-python/manhole: tried and failed to get tests working
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/manhole/manhole-1.6.0.ebuild | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.6.0.ebuild
index 37db2bb..24175ba 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_6 )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -17,8 +19,11 @@ HOMEPAGE="
SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
+
KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
RDEPEND=""
DEPEND="
${RDEPEND}
@@ -28,19 +33,12 @@ DEPEND="
dev-python/process-tests[${PYTHON_USEDEP}]
dev-python/pytest-travis-fold[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
- www-servers/uwsgi[${PYTHON_USEDEP}]
+ www-servers/uwsgi[python,python_gevent,${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MYPN}-${PV}"
-python_prepare_all() {
- #no coverage
- #sed -i 's|--cov-report term-missing||' setup.cfg || die
- #sed -i 's|nocover: false|nocover: true|' setup.cfg || die
- distutils-r1_python_prepare_all
-}
-
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-py3doc-enhanced-theme \
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2020-04-02 10:12 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-04-02 10:12 UTC (permalink / raw
To: gentoo-commits
commit: 8dc1108d6fce7333ed6e3970bd0ca2d4609b022d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 1 20:06:46 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 1 20:55:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dc1108d
dev-python/manhole: clarify restrict
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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 \
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2020-04-03 21:37 Haelwenn Monnier
0 siblings, 0 replies; 16+ messages in thread
From: Haelwenn Monnier @ 2020-04-03 21:37 UTC (permalink / raw
To: gentoo-commits
commit: 32cdad40cc948eca4f4ba21a20fece291757fb3d
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Apr 3 10:40:48 2020 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Apr 3 10:40:48 2020 +0000
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 <andrewammerlaan <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2020-04-03 21:37 Haelwenn Monnier
0 siblings, 0 replies; 16+ messages in thread
From: Haelwenn Monnier @ 2020-04-03 21:37 UTC (permalink / raw
To: gentoo-commits
commit: 1b7418f5ab1d199b4c43a05cb943258cb068e058
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 2 22:48:10 2020 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Apr 2 23:04:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b7418f5
dev-python/manhole: disable failing tests
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
2020-06-09 14:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-06-09 16:37 ` Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-06-09 16:37 UTC (permalink / raw
To: gentoo-commits
commit: 2f203bbab71e74a2eb5ed141a4bb2c5659989f0f
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jun 9 13:46:14 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jun 9 13:46:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f203bba
dev-python/manhole: add py3_8
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/manhole/manhole-1.6.0.ebuild | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.6.0.ebuild
index 14321b8..169620c 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -21,18 +21,12 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND=""
-DEPEND="
- ${RDEPEND}
- test? (
+DEPEND="test? (
dev-python/eventlet[${PYTHON_USEDEP}]
dev-python/gevent[${PYTHON_USEDEP}]
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}]
+)"
S="${WORKDIR}/${MYPN}-${PV}"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
2020-06-09 14:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-06-09 16:37 ` Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-06-09 16:37 UTC (permalink / raw
To: gentoo-commits
commit: 3a17225c8fb36d6001694e54326647c3e4eca5d3
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jun 9 13:18:27 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jun 9 13:18:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a17225c
dev-python/manhole: add py3_7
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/manhole/manhole-1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.6.0.ebuild
index f452da1..14321b8 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
2020-09-24 12:17 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-09-24 13:01 ` Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 13:01 UTC (permalink / raw
To: gentoo-commits
commit: 2f15e2d1786744d8a134c0b99d3bf1f029986be0
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Sep 24 11:52:15 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Sep 24 11:52:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f15e2d1
dev-python/manhole: drop py3.6
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/manhole/manhole-1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.6.0.ebuild
index 169620c5..8c035eb8 100644
--- a/dev-python/manhole/manhole-1.6.0.ebuild
+++ b/dev-python/manhole/manhole-1.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2021-05-25 23:07 Haelwenn Monnier
0 siblings, 0 replies; 16+ messages in thread
From: Haelwenn Monnier @ 2021-05-25 23:07 UTC (permalink / raw
To: gentoo-commits
commit: ad2dc4664e63055a9c0e19b48496bf5db4f38f33
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 25 08:40:12 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue May 25 10:37:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad2dc466
dev-python/manhole: support python 3.9
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2021-05-26 13:42 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2021-05-26 13:42 UTC (permalink / raw
To: gentoo-commits
commit: f832ad00f4b459af5f6b4bf6bdef2bcdd78f68dc
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed May 26 10:34:48 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed May 26 10:34:48 2021 +0000
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 <cyber+gentoo <AT> 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
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2021-08-16 19:04 Jian Lin
0 siblings, 0 replies; 16+ messages in thread
From: Jian Lin @ 2021-08-16 19:04 UTC (permalink / raw
To: gentoo-commits
commit: 8a394a3fa8cd59d30225c414bc1f4f23cf96c898
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug 13 20:23:03 2021 +0000
Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
CommitDate: Sat Aug 14 01:54:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a394a3f
dev-python/manhole: bump EAPI and PYTHON_COMPAT
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/manhole/manhole-1.8.0.ebuild | 54 ++++++++++++++++-----------------
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/dev-python/manhole/manhole-1.8.0.ebuild b/dev-python/manhole/manhole-1.8.0.ebuild
index e6edae08f..eae6b4e6c 100644
--- a/dev-python/manhole/manhole-1.8.0.ebuild
+++ b/dev-python/manhole/manhole-1.8.0.ebuild
@@ -1,51 +1,49 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
-
inherit distutils-r1
-MY_PN="python-${PN}"
-
DESCRIPTION="Debugging manhole for python application"
HOMEPAGE="
https://github.com/ionelmc/python-manhole
https://pypi.org/project/manhole
"
-SRC_URI="https://github.com/ionelmc/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/python-${PN}-${PV}"
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="
- test? (
- dev-python/eventlet[${PYTHON_USEDEP}]
- dev-python/gevent[${PYTHON_USEDEP}]
- dev-python/process-tests[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- )
-"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-S="${WORKDIR}/${MY_PN}-${PV}"
+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)
+)"
-distutils_enable_tests --install pytest
+DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+distutils_enable_tests --install pytest
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
python_test() {
- epytest \
- --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.py::test_environ_variable_activation \
- --deselect tests/test_manhole.py::test_stderr_doesnt_deadlock \
- --deselect tests/test_manhole_cli.py::test_help
+ epytest_args=(
+ --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.py::test_environ_variable_activation
+ --deselect tests/test_manhole.py::test_stderr_doesnt_deadlock
+ --deselect tests/test_manhole_cli.py
+ )
+ epytest "${epytest_args[@]}"
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2021-10-20 8:18 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2021-10-20 8:18 UTC (permalink / raw
To: gentoo-commits
commit: 018db33350b625d15e6d5db517e1cd019afbf80d
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Oct 18 11:45:00 2021 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Oct 18 11:45:00 2021 +0000
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 <cyber+gentoo <AT> 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"
+)
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2021-12-01 19:34 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2021-12-01 19:34 UTC (permalink / raw
To: gentoo-commits
commit: a118661fde642e4e47959531082610370c173faa
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Nov 29 08:21:46 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 10:07:44 2021 +0000
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 <cyber+gentoo <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2021-12-08 11:38 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2021-12-08 11:38 UTC (permalink / raw
To: gentoo-commits
commit: 9f2ce690d3f794135872703f85365ffec5c3dc30
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Dec 6 09:18:43 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 6 10:19:45 2021 +0000
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 <cyber+gentoo <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/manhole/
2022-10-17 12:12 [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/ Andrew Ammerlaan
@ 2022-10-17 12:12 ` Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-10-17 12:12 UTC (permalink / raw
To: gentoo-commits
commit: 26216daf5ff6d9ade63f841106d72bb69935ecee
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 12:11:48 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 12:11:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26216daf
dev-python/manhole: disable pypy3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/manhole/manhole-1.8.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild
index c16056549..69081bc29 100644
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
@ 2022-10-17 12:12 Andrew Ammerlaan
2022-10-17 12:12 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
0 siblings, 1 reply; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-10-17 12:12 UTC (permalink / raw
To: gentoo-commits
commit: 26216daf5ff6d9ade63f841106d72bb69935ecee
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 12:11:48 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 12:11:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26216daf
dev-python/manhole: disable pypy3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/manhole/manhole-1.8.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild
index c16056549..69081bc29 100644
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/
2024-05-25 12:41 Julien Roy
@ 2024-05-25 13:01 ` Julien Roy
0 siblings, 0 replies; 16+ messages in thread
From: Julien Roy @ 2024-05-25 13:01 UTC (permalink / raw
To: gentoo-commits
commit: d905a5d6cf6ae6abb286fdec2a788a550ca629ed
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat May 25 12:39:14 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat May 25 12:41:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d905a5d6
dev-python/manhole: disable docs
Docs depend on dev-python/sphinx-py3doc-enhanced-theme
Which was treecleaned from ::gentoo
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-python/manhole/manhole-1.8.0-r2.ebuild | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/dev-python/manhole/manhole-1.8.0-r2.ebuild b/dev-python/manhole/manhole-1.8.0-r2.ebuild
index 51160ca79..10977ce11 100644
--- a/dev-python/manhole/manhole-1.8.0-r2.ebuild
+++ b/dev-python/manhole/manhole-1.8.0-r2.ebuild
@@ -6,11 +6,13 @@ 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"
+# 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="Debugging manhole for python application"
HOMEPAGE="
@@ -31,7 +33,7 @@ BDEPEND="
)
"
-DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
+# DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
PATCHES=(
"${FILESDIR}/importlib.patch"
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2024-05-25 13:01 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 12:12 [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/ Andrew Ammerlaan
2022-10-17 12:12 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2024-05-25 12:41 Julien Roy
2024-05-25 13:01 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2021-12-08 11:38 Andrew Ammerlaan
2021-12-01 19:34 Andrew Ammerlaan
2021-10-20 8:18 Florian Schmaus
2021-08-16 19:04 Jian Lin
2021-05-26 13:42 Andrew Ammerlaan
2021-05-25 23:07 Haelwenn Monnier
2020-09-24 12:17 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 13:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 14:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-09 16:37 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 14:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-09 16:37 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-03 21:37 Haelwenn Monnier
2020-04-03 21:37 Haelwenn Monnier
2020-04-02 10:12 Andrew Ammerlaan
2020-03-29 13:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-29 13:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox