summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-07 10:42:00 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-07 10:42:00 +0000
commit3263d6aacf4095b0de629054763e169dd7c35862 (patch)
tree3a2d17e0284360f0aac5b9f2b99b457a2d2d801f /dev-python
parent43ab5e22d4b68f818f6d03e2ff87d6b21a4f6142 (diff)
downloadbaldeagleos-repo-3263d6aacf4095b0de629054763e169dd7c35862.tar.gz
baldeagleos-repo-3263d6aacf4095b0de629054763e169dd7c35862.tar.xz
baldeagleos-repo-3263d6aacf4095b0de629054763e169dd7c35862.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fs/fs-2.4.16.ebuild13
-rw-r--r--dev-python/loky/loky-3.1.0.ebuild2
-rw-r--r--dev-python/nbconvert/nbconvert-7.0.0.ebuild2
-rw-r--r--dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild4
-rw-r--r--dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild11
-rw-r--r--dev-python/pytest-services/pytest-services-2.2.1-r1.ebuild4
-rw-r--r--dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild4
7 files changed, 20 insertions, 20 deletions
diff --git a/dev-python/fs/fs-2.4.16.ebuild b/dev-python/fs/fs-2.4.16.ebuild
index af398f524e25..47d4eab82396 100644
--- a/dev-python/fs/fs-2.4.16.ebuild
+++ b/dev-python/fs/fs-2.4.16.ebuild
@@ -36,15 +36,10 @@ BDEPEND="
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme dev-python/recommonmark
distutils_enable_tests pytest
-python_test() {
- local EPYTEST_IGNORE=(
- # TODO: fails at teardown due to unfreed resources
- tests/test_ftpfs.py
- )
-
- # pytest-xvfb causes test failures due to a zombie Xvfb process
- epytest -p no:xvfb
-}
+EPYTEST_IGNORE=(
+ # TODO: fails at teardown due to unfreed resources
+ tests/test_ftpfs.py
+)
pkg_postinst() {
optfeature "S3 support" dev-python/boto
diff --git a/dev-python/loky/loky-3.1.0.ebuild b/dev-python/loky/loky-3.1.0.ebuild
index db10a36ec39a..75d90a16fcf9 100644
--- a/dev-python/loky/loky-3.1.0.ebuild
+++ b/dev-python/loky/loky-3.1.0.ebuild
@@ -37,5 +37,5 @@ python_test() {
)
# high memory test needs a lot of memory + is broken on 32-bit platforms
- epytest --skip-high-memory -p no:xvfb
+ epytest --skip-high-memory
}
diff --git a/dev-python/nbconvert/nbconvert-7.0.0.ebuild b/dev-python/nbconvert/nbconvert-7.0.0.ebuild
index cd68d1fb7814..996ba65e4082 100644
--- a/dev-python/nbconvert/nbconvert-7.0.0.ebuild
+++ b/dev-python/nbconvert/nbconvert-7.0.0.ebuild
@@ -83,7 +83,7 @@ python_test() {
nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor
)
- nonfatal epytest -p no:xvfb --pyargs nbconvert || die
+ nonfatal epytest --pyargs nbconvert || die
}
pkg_postinst() {
diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild
index 8dd038409a17..ad1a33c97125 100644
--- a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild
@@ -37,7 +37,7 @@ python_test() {
# so we need to run them separately and not pass any args to pytest
pytest ${PN}/test/test_misc.py || die "Tests failed with ${EPYTHON}"
# Some of these tests tend to fail
- local skipped_tests=(
+ local EPYTEST_DESELECT=(
# Those tests are run separately
pyftpdlib/test/test_misc.py
# https://github.com/giampaolo/pyftpdlib/issues/471
@@ -70,7 +70,7 @@ python_test() {
local -x TZ=UTC+1
# Skips some shoddy tests plus increases timeouts
local -x TRAVIS=1
- epytest -p no:xvfb ${skipped_tests[@]/#/--deselect }
+ epytest
}
python_install_all() {
diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
index 16219f7644da..adab82470d4b 100644
--- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
+++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
@@ -10,13 +10,18 @@ inherit distutils-r1 multiprocessing
TEST_DATA_TAG=test-data-8
DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy"
-HOMEPAGE="https://www.pyqtgraph.org/ https://pypi.org/project/pyqtgraph/"
+HOMEPAGE="
+ https://www.pyqtgraph.org/
+ https://github.com/pyqtgraph/pyqtgraph/
+ https://pypi.org/project/pyqtgraph/
+"
SRC_URI="
https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz
test? (
https://github.com/pyqtgraph/test-data/archive/${TEST_DATA_TAG}.tar.gz
-> ${PN}-${TEST_DATA_TAG}.tar.gz
- )"
+ )
+"
S=${WORKDIR}/${PN}-${P}
LICENSE="MIT"
@@ -68,7 +73,7 @@ python_test() {
'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]'
)
- epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+ epytest -p xvfb -n "$(makeopts_jobs)"
}
src_test() {
diff --git a/dev-python/pytest-services/pytest-services-2.2.1-r1.ebuild b/dev-python/pytest-services/pytest-services-2.2.1-r1.ebuild
index df57d713822d..c792678aa20d 100644
--- a/dev-python/pytest-services/pytest-services-2.2.1-r1.ebuild
+++ b/dev-python/pytest-services/pytest-services-2.2.1-r1.ebuild
@@ -44,7 +44,3 @@ PATCHES=(
"${FILESDIR}/pytest-services-2.0.1-no-mysql.patch"
"${FILESDIR}/pytest-services-2.0.1-lockdir.patch"
)
-
-python_test() {
- epytest -p no:xvfb
-}
diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
index 4716b74847d8..920eea039c22 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -23,3 +23,7 @@ RDEPEND="
"
distutils_enable_tests pytest
+
+python_test() {
+ epytest -p xvfb
+}