[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: ec43a70b919251b1bcbaa1d005a7535017883d56 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Oct 11 19:06:21 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Oct 11 19:06:21 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ec43a70b sci-visualization/fsleyes-widgets: add 0.12.3 Signed-off-by: Andrew Ammerlaan gentoo.org> .../fsleyes-widgets/fsleyes-widgets-0.12.3.ebuild | 61 ++ 1 file changed, 61 insertions(+) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.3.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.3.ebuild new file mode 100644 index 0..ad56317e4 --- /dev/null +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.3.ebuild @@ -0,0 +1,61 @@ +# 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 virtualx + +MY_P="widgets-${PV}" + +DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" +HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; +SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + =dev-python/numpy-1*[${PYTHON_USEDEP}] + >=dev-python/matplotlib-1.5[${PYTHON_USEDEP}] + >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # assert 0 == 1 + sed -i -e 's:test_FloatSlider_mouse_non_gtk:_&:' \ + -e 's:test_FloatSlider_mouse_gtk:_&:' \ + -e 's:test_SliderSpinPanel_events:_&:' \ + tests/test_floatslider.py || die + + # assert None == 0 + sed -i -e 's:test_notebook_events:_&:' \ + tests/test_notebook.py || die + + # assert 25.0 < 5 + sed -i -e 's:test_RangePanel_events_slider:_&:' \ + -e 's:test_RangeSliderSpinPanel_onchange:_&:' \ + tests/test_rangeslider.py || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + # If this could be set for the eclass, it might fix some of the tests: + # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 + #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" + epytest +}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: 518ff3a9d8b27f6ec4614420a274c59b0aca3fe1 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Oct 11 19:17:24 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Oct 11 19:17:24 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=518ff3a9 sci-visualization/fsleyes-widgets: drop 0.12.2 Signed-off-by: Andrew Ammerlaan gentoo.org> .../fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild | 61 -- 1 file changed, 61 deletions(-) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild deleted file mode 100644 index 4153ca1b8..0 --- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild +++ /dev/null @@ -1,61 +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} ) - -inherit distutils-r1 virtualx - -MY_P="widgets-${PV}" - -DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" -HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; -SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - =dev-python/numpy-1*[${PYTHON_USEDEP}] - >=dev-python/matplotlib-1.5[${PYTHON_USEDEP}] - >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest -distutils_enable_sphinx doc dev-python/sphinx_rtd_theme - -python_prepare_all() { - # do not depend on pytest-cov - sed -i -e '/addopts/d' setup.cfg || die - - # assert 0 == 1 - sed -i -e 's:test_FloatSlider_mouse_non_gtk:_&:' \ - -e 's:test_FloatSlider_mouse_gtk:_&:' \ - -e 's:test_SliderSpinPanel_events:_&:' \ - tests/test_floatslider.py || die - - # assert None == 0 - sed -i -e 's:test_notebook_events:_&:' \ - tests/test_notebook.py || die - - # assert 25.0 < 5 - sed -i -e 's:test_RangePanel_events_slider:_&:' \ - -e 's:test_RangeSliderSpinPanel_onchange:_&:' \ - tests/test_rangeslider.py || die - - distutils-r1_python_prepare_all -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - # If this could be set for the eclass, it might fix some of the tests: - # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 - #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" - epytest || die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: 85f2ed73991c388e33ccd855dd509bd95ee378c8 Author: Sam James gentoo org> AuthorDate: Thu Jul 7 04:34:17 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jul 7 04:54:09 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=85f2ed73 sci-visualization/fsleyes-widgets: enable py3.10 See https://projects.gentoo.org/python/guide/distutils.html#running-tests-with-virtualx re virtx. Signed-off-by: Sam James gentoo.org> sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild index 82a1e587c..4153ca1b8 100644 --- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 virtualx @@ -49,9 +49,13 @@ python_prepare_all() { distutils-r1_python_prepare_all } +src_test() { + virtx distutils-r1_src_test +} + python_test() { # If this could be set for the eclass, it might fix some of the tests: # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" - virtx epytest + epytest || die "Tests failed with ${EPYTHON}" }
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: 43df0040d2daeed6edd9ea6a4f4e4038483d87b6 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jan 24 15:07:37 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jan 24 15:07:37 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=43df0040 sci-visualization/fsleyes-widgets: bump to 0.12.2 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> ...-0.9.0.ebuild => fsleyes-widgets-0.12.2.ebuild} | 20 + .../fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 47 -- 2 files changed, 9 insertions(+), 58 deletions(-) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild similarity index 82% rename from sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild rename to sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild index 4e00e2e47..82a1e587c 100644 --- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 virtualx @@ -12,22 +12,20 @@ MY_P="widgets-${PV}" DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - dev-python/deprecation[${PYTHON_USEDEP}] =dev-python/numpy-1*[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - =dev-python/six-1*[${PYTHON_USEDEP}] - dev-python/wxpython[${PYTHON_USEDEP}] - " - -S="${WORKDIR}/${MY_P}" + >=dev-python/matplotlib-1.5[${PYTHON_USEDEP}] + >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] +" distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme python_prepare_all() { # do not depend on pytest-cov @@ -55,5 +53,5 @@ python_test() { # If this could be set for the eclass, it might fix some of the tests: # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" - virtx pytest --verbose || die + virtx epytest } diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild deleted file mode 100644 index cbae95701..0 --- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit distutils-r1 virtualx - -MY_P="widgets-${PV}" - -DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" -HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; -SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -DEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) - dev-python/setuptools[${PYTHON_USEDEP}] - " -RDEPEND=" - dev-python/deprecation[${PYTHON_USEDEP}] - =dev-python/numpy-1*[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - =dev-python/six-1*[${PYTHON_USEDEP}] - dev-python/wxpython[${PYTHON_USEDEP}] - " - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch" - "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch" -) - -python_test() { - # If this could be set for the eclass, it might fix some of the tests: - # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 - #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" - virtx pytest --verbose || die -}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: 720e1d6139727d6366b8d7ae69aedb5c297f113e Author: Horea Christian chymera eu> AuthorDate: Mon Feb 1 01:48:30 2021 + Commit: Horea Christian gmail com> CommitDate: Mon Feb 1 01:48:30 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=720e1d61 sci-visualization/fsleyes-widgets: keep old versions Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Horea Christian chymera.eu> .../fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 47 ++ 1 file changed, 47 insertions(+) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild new file mode 100644 index 0..eac611cac --- /dev/null +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 virtualx + +MY_P="widgets-${PV}" + +DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" +HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; +SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) + dev-python/setuptools[${PYTHON_USEDEP}] + " +RDEPEND=" + dev-python/deprecation[${PYTHON_USEDEP}] + =dev-python/numpy-1*[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + =dev-python/six-1*[${PYTHON_USEDEP}] + dev-python/wxpython[${PYTHON_USEDEP}] + " + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch" + "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch" +) + +python_test() { + # If this could be set for the eclass, it might fix some of the tests: + # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 + #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" + virtx pytest --verbose || die +}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: 8f6db03089c2cebaf246a16715497539b31032c2 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Jan 20 10:48:33 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Jan 20 10:48:33 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=8f6db030 sci-visualization/fsleyes-widgets: version bump, bump py targets Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> ...s-0.8.4.ebuild => fsleyes-widgets-0.9.0.ebuild} | 38 ++ 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild similarity index 57% rename from sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild rename to sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild index f0561d11f..4e00e2e47 100644 --- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 virtualx @@ -16,14 +16,7 @@ SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}. LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -DEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) - dev-python/setuptools[${PYTHON_USEDEP}] - " RDEPEND=" dev-python/deprecation[${PYTHON_USEDEP}] =dev-python/numpy-1*[${PYTHON_USEDEP}] @@ -34,10 +27,29 @@ RDEPEND=" S="${WORKDIR}/${MY_P}" -PATCHES=( - "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch" - "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch" -) +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # assert 0 == 1 + sed -i -e 's:test_FloatSlider_mouse_non_gtk:_&:' \ + -e 's:test_FloatSlider_mouse_gtk:_&:' \ + -e 's:test_SliderSpinPanel_events:_&:' \ + tests/test_floatslider.py || die + + # assert None == 0 + sed -i -e 's:test_notebook_events:_&:' \ + tests/test_notebook.py || die + + # assert 25.0 < 5 + sed -i -e 's:test_RangePanel_events_slider:_&:' \ + -e 's:test_RangeSliderSpinPanel_onchange:_&:' \ + tests/test_rangeslider.py || die + + distutils-r1_python_prepare_all +} python_test() { # If this could be set for the eclass, it might fix some of the tests:
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/files/
commit: 00b0789b0a02bf34b6992b26052a151d1f295eaa Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Jan 20 10:53:03 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Jan 20 10:53:03 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=00b0789b sci-visualization/fsleyes-widgets: cleanup unused files Package-Manager: Portage-3.0.13, Repoman-3.0.2 Manifest-Sign-Key: A19F636CD4EDBCD1 Signed-off-by: Andrew Ammerlaan riseup.net> .../files/fsleyes-widgets-0.8.4-coverage.patch | 10 .../files/fsleyes-widgets-0.8.4-tests.patch| 69 -- 2 files changed, 79 deletions(-) diff --git a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch deleted file mode 100644 index 6db8c01d8..0 --- a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/setup.cfg b/setup.cfg -index c3ebd936..d678d2df 100644 a/setup.cfg -+++ b/setup.cfg -@@ -9,4 +9,4 @@ ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701 - - [tool:pytest] - testpaths = tests --addopts = -v --cov=fsleyes_widgets -+addopts = -v diff --git a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch deleted file mode 100644 index 20ef1a9ad..0 --- a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff --git a/tests/test_floatslider.py b/tests/test_floatslider.py -index 87a2477..6bbedb7 100644 a/tests/test_floatslider.py -+++ b/tests/test_floatslider.py -@@ -140,8 +140,14 @@ def _test_FloatSlider_changeRange(): - _test_widget_changeRange(slider) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; -+) - def test_FloatSlider_mouse_non_gtk(): - run_with_wx(_test_FloatSlider_mouse) -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; -+) - def test_FloatSlider_mouse_gtk(): - with mock.patch('fsleyes_widgets.floatslider.wx.Platform', '__WXGTK__'): - run_with_wx(_test_FloatSlider_mouse) -@@ -322,7 +328,9 @@ def _test_SliderSpinPanel_show_edit_limits(): - if shouldEv: assert result[0] == expected - else:assert result[0] is None - -- -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; -+) - def test_SliderSpinPanel_events(): - run_with_wx(_test_SliderSpinPanel_events) - def _test_SliderSpinPanel_events(): -diff --git a/tests/test_notebook.py b/tests/test_notebook.py -index a02226c..74e8f63 100644 a/tests/test_notebook.py -+++ b/tests/test_notebook.py -@@ -190,6 +190,9 @@ def _test_enable_disable_show_hide(side, ornt): - assert notebook.GetSelection() == 1 - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; -+) - def test_event(): - nb_run_with_wx(_test_event) - def _test_event(side, ornt): -diff --git a/tests/test_rangeslider.py b/tests/test_rangeslider.py -index 7ddbed6..51267b3 100644 a/tests/test_rangeslider.py -+++ b/tests/test_rangeslider.py -@@ -103,6 +103,9 @@ def _test_RangePanel_logic_spin(): - _test_RangePanel_logic(panel) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; -+) - def test_RangePanel_events_slider(): - run_with_wx(_test_RangePanel_events_slider) - def _test_RangePanel_events_slider(): -@@ -236,6 +239,9 @@ def _test_RangeSliderSpinPanel_logic(): - _test_RangePanel_logic(panel) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; -+) - def test_RangeSliderSpinPanel_onchange(): - run_with_wx(_test_RangeSliderSpinPanel_onchange) - def _test_RangeSliderSpinPanel_onchange(): -
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
commit: af3ca1acfda72d2f7216750d71dd21730a137bea Author: Horea Christian chymera eu> AuthorDate: Sun Jan 19 17:32:15 2020 + Commit: Horea Christian gmail com> CommitDate: Sun Jan 19 17:32:15 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=af3ca1ac sci-visualization/fsleyes-widgets: updated metadata Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Horea Christian chymera.eu> sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 2 +- sci-visualization/fsleyes-widgets/metadata.xml | 7 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild index b9766ca40..f0561d11f 100644 --- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild @@ -9,7 +9,7 @@ inherit distutils-r1 virtualx MY_P="widgets-${PV}" -DESCRIPTION="The new FSL image viewer, first released with FSL 5.0.10" +DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" diff --git a/sci-visualization/fsleyes-widgets/metadata.xml b/sci-visualization/fsleyes-widgets/metadata.xml index 153c0c611..d90059151 100644 --- a/sci-visualization/fsleyes-widgets/metadata.xml +++ b/sci-visualization/fsleyes-widgets/metadata.xml @@ -10,9 +10,8 @@ Gentoo Science Project - FSLeyes is a viewer for 3D and 4D neuroimaging data. It is intended as a - replacement for the much loved FSLView. FSLeyes offers similar functionality - to FSLView, and aims to improve and expand upon this functionality in many - ways. + The fsleyes-widgets package contains a collection of GUI widgets and + utilities, based on wxPython, which are These widgets are used by + fsleyes-props and FSLeyes.
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/files/, sci-visualization/fsleyes-widgets/
commit: cc082a637bcbb6c289216b62cfaacb24212557b5 Author: Horea Christian chymera eu> AuthorDate: Sun Jan 19 15:20:14 2020 + Commit: Horea Christian gmail com> CommitDate: Sun Jan 19 15:20:14 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=cc082a63 sci-visualization/fsleyes-widgets: new package, required for FSLeyes Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Horea Christian chymera.eu> sci-visualization/fsleyes-widgets/ChangeLog| 7 +++ .../files/fsleyes-widgets-0.8.4-coverage.patch | 10 .../files/fsleyes-widgets-0.8.4-tests.patch| 69 ++ .../fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 47 +++ sci-visualization/fsleyes-widgets/metadata.xml | 18 ++ 5 files changed, 151 insertions(+) diff --git a/sci-visualization/fsleyes-widgets/ChangeLog b/sci-visualization/fsleyes-widgets/ChangeLog new file mode 100644 index 0..14d95538a --- /dev/null +++ b/sci-visualization/fsleyes-widgets/ChangeLog @@ -0,0 +1,7 @@ +*fsleyes-widgets-0.8.4 (16 Jan 2020) + + 16 Jan 2020; + +files/fsleyes-widgets-0.8.4-coverage.patch, + +files/fsleyes-widgets-0.8.4-tests.patch, +fsleyes-widgets-0.8.4.ebuild, + +metadata.xml, -fsleyes-widgets-0.6.5.ebuild, -manifest.xml: + sci-visualization/fsleyes-widgets: version bump 0.8.4 ahead of Gentoo Science diff --git a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch new file mode 100644 index 0..6db8c01d8 --- /dev/null +++ b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch @@ -0,0 +1,10 @@ +diff --git a/setup.cfg b/setup.cfg +index c3ebd936..d678d2df 100644 +--- a/setup.cfg b/setup.cfg +@@ -9,4 +9,4 @@ ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701 + + [tool:pytest] + testpaths = tests +-addopts = -v --cov=fsleyes_widgets ++addopts = -v diff --git a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch new file mode 100644 index 0..20ef1a9ad --- /dev/null +++ b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch @@ -0,0 +1,69 @@ +diff --git a/tests/test_floatslider.py b/tests/test_floatslider.py +index 87a2477..6bbedb7 100644 +--- a/tests/test_floatslider.py b/tests/test_floatslider.py +@@ -140,8 +140,14 @@ def _test_FloatSlider_changeRange(): + _test_widget_changeRange(slider) + + ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; ++) + def test_FloatSlider_mouse_non_gtk(): + run_with_wx(_test_FloatSlider_mouse) ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; ++) + def test_FloatSlider_mouse_gtk(): + with mock.patch('fsleyes_widgets.floatslider.wx.Platform', '__WXGTK__'): + run_with_wx(_test_FloatSlider_mouse) +@@ -322,7 +328,9 @@ def _test_SliderSpinPanel_show_edit_limits(): + if shouldEv: assert result[0] == expected + else:assert result[0] is None + +- ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; ++) + def test_SliderSpinPanel_events(): + run_with_wx(_test_SliderSpinPanel_events) + def _test_SliderSpinPanel_events(): +diff --git a/tests/test_notebook.py b/tests/test_notebook.py +index a02226c..74e8f63 100644 +--- a/tests/test_notebook.py b/tests/test_notebook.py +@@ -190,6 +190,9 @@ def _test_enable_disable_show_hide(side, ornt): + assert notebook.GetSelection() == 1 + + ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; ++) + def test_event(): + nb_run_with_wx(_test_event) + def _test_event(side, ornt): +diff --git a/tests/test_rangeslider.py b/tests/test_rangeslider.py +index 7ddbed6..51267b3 100644 +--- a/tests/test_rangeslider.py b/tests/test_rangeslider.py +@@ -103,6 +103,9 @@ def _test_RangePanel_logic_spin(): + _test_RangePanel_logic(panel) + + ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; ++) + def test_RangePanel_events_slider(): + run_with_wx(_test_RangePanel_events_slider) + def _test_RangePanel_events_slider(): +@@ -236,6 +239,9 @@ def _test_RangeSliderSpinPanel_logic(): + _test_RangePanel_logic(panel) + + ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-widgets/issues/1; ++) + def test_RangeSliderSpinPanel_onchange(): + run_with_wx(_test_RangeSliderSpinPanel_onchange) + def _test_RangeSliderSpinPanel_onchange(): + diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild