[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: db4c43aec55cf6ab2edb4f2e4aabdee3b36415e0 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Oct 11 19:17:36 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Oct 11 19:17:36 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=db4c43ae sci-visualization/fsleyes-props: drop 1.7.3 Signed-off-by: Andrew Ammerlaan gentoo.org> .../fsleyes-props/fsleyes-props-1.7.3.ebuild | 45 -- 1 file changed, 45 deletions(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild deleted file mode 100644 index 3fd2a3e01..0 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild +++ /dev/null @@ -1,45 +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_PN="props" - -DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz; -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] - >=sci-visualization/fsleyes-widgets-0.6[${PYTHON_USEDEP}] - >=dev-python/fslpy-1.4[${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 - - distutils-r1_python_prepare_all -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - epytest || die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: d41d662b5ba3cc219d6e743f2938afa0f65f426c Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Oct 11 19:10:51 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Oct 11 19:16:53 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d41d662b sci-visualization/fsleyes-props: add 1.8.2 Signed-off-by: Andrew Ammerlaan gentoo.org> .../fsleyes-props/fsleyes-props-1.8.2.ebuild | 45 ++ 1 file changed, 45 insertions(+) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild new file mode 100644 index 0..eff42e1bb --- /dev/null +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild @@ -0,0 +1,45 @@ +# 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_PN="props" + +DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz; +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] + >=sci-visualization/fsleyes-widgets-0.6[${PYTHON_USEDEP}] + >=dev-python/fslpy-1.4[${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 + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + epytest || die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: 06c88709bdb95ecc72fc54907fe0ee5f9f61a327 Author: Sam James gentoo org> AuthorDate: Thu Jul 7 04:53:44 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jul 7 04:54:10 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=06c88709 sci-visualization/fsleyes-props: 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-props/fsleyes-props-1.7.3.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild index b3440c6ba..3fd2a3e01 100644 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 virtualx @@ -36,6 +36,10 @@ python_prepare_all() { distutils-r1_python_prepare_all } +src_test() { + virtx distutils-r1_src_test +} + python_test() { - virtx epytest + epytest || die "Tests failed with ${EPYTHON}" }
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: 22ddf83357181f3e4eefb2044537b4733a392b8c Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jan 24 15:08:14 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jan 24 15:08:14 2022 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=22ddf833 sci-visualization/fsleyes-props: bump to 1.7.3 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> .../fsleyes-props/fsleyes-props-1.6.7.ebuild | 46 -- ...ops-1.7.0.ebuild => fsleyes-props-1.7.3.ebuild} | 22 +-- 2 files changed, 10 insertions(+), 58 deletions(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild deleted file mode 100644 index d9983906e..0 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild +++ /dev/null @@ -1,46 +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_PN="props" - -DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.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[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wxpython[${PYTHON_USEDEP}] - sci-visualization/fsleyes-widgets[${PYTHON_USEDEP}] - dev-python/fslpy[${PYTHON_USEDEP}] - " - -S="${WORKDIR}/${MY_PN}-${PV}" - -PATCHES=( - "${FILESDIR}/fsleyes-props-1.6.7-coverage.patch" - "${FILESDIR}/fsleyes-props-1.6.7-tests.patch" -) - -python_test() { - virtx pytest --verbose || die -} diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild similarity index 68% rename from sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild rename to sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild index ea8a11c42..b3440c6ba 100644 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.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,24 +12,22 @@ MY_PN="props" DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz; +S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - dev-python/deprecation[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wxpython[${PYTHON_USEDEP}] - sci-visualization/fsleyes-widgets[${PYTHON_USEDEP}] - dev-python/fslpy[${PYTHON_USEDEP}] - " - -S="${WORKDIR}/${MY_PN}-${PV}" + >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] + >=sci-visualization/fsleyes-widgets-0.6[${PYTHON_USEDEP}] + >=dev-python/fslpy-1.4[${PYTHON_USEDEP}] +" distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme python_prepare_all() { # do not depend on pytest-cov @@ -39,5 +37,5 @@ python_prepare_all() { } python_test() { - virtx pytest --verbose || die + virtx epytest }
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: e3edb6a6b3c72a2cf3a52504e46b33117316e5f1 Author: Horea Christian chymera eu> AuthorDate: Mon Feb 1 01:46:36 2021 + Commit: Horea Christian gmail com> CommitDate: Mon Feb 1 01:46:36 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e3edb6a6 sci-visualization/fsleyes-props: keep old version Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Horea Christian chymera.eu> .../fsleyes-props/fsleyes-props-1.6.7.ebuild | 46 ++ 1 file changed, 46 insertions(+) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild new file mode 100644 index 0..d9983906e --- /dev/null +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild @@ -0,0 +1,46 @@ +# 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_PN="props" + +DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.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[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wxpython[${PYTHON_USEDEP}] + sci-visualization/fsleyes-widgets[${PYTHON_USEDEP}] + dev-python/fslpy[${PYTHON_USEDEP}] + " + +S="${WORKDIR}/${MY_PN}-${PV}" + +PATCHES=( + "${FILESDIR}/fsleyes-props-1.6.7-coverage.patch" + "${FILESDIR}/fsleyes-props-1.6.7-tests.patch" +) + +python_test() { + virtx pytest --verbose || die +}
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: bd6595a76c11ff35c016b5be41c8326b187aaa55 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Jan 20 10:49:33 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Jan 20 10:49:33 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=bd6595a7 sci-visualization/fsleyes-props: version bump, bump py targets Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> ...ops-1.6.7.ebuild => fsleyes-props-1.7.0.ebuild} | 23 ++ 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild similarity index 72% rename from sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild rename to sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild index c88acc938..ea8a11c42 100644 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.7.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_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 virtualx @@ -16,14 +16,7 @@ SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/${MY_PN}/-/archive/${PV}/${MY_PN 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[${PYTHON_USEDEP}] @@ -36,10 +29,14 @@ RDEPEND=" S="${WORKDIR}/${MY_PN}-${PV}" -PATCHES=( - "${FILESDIR}/fsleyes-props-1.6.7-coverage.patch" - "${FILESDIR}/fsleyes-props-1.6.7-tests.patch" -) +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + distutils-r1_python_prepare_all +} python_test() { virtx pytest --verbose || die
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/files/
commit: e912ca0fee0f29337f4d1a723b09e69f8b5d4d51 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Jan 20 10:53:39 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Jan 20 10:53:39 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e912ca0f sci-visualization/fsleyes-props: 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-props-1.6.7-coverage.patch | 10 - .../files/fsleyes-props-1.6.7-tests.patch | 45 -- 2 files changed, 55 deletions(-) diff --git a/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-coverage.patch b/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-coverage.patch deleted file mode 100644 index e256af331..0 --- a/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-coverage.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/setup.cfg b/setup.cfg -index 2b66974..9929adf 100644 a/setup.cfg -+++ b/setup.cfg -@@ -10,4 +10,4 @@ ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701 - - [tool:pytest] - testpaths = tests --addopts = -v --cov=fsleyes_props -+addopts = -v diff --git a/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-tests.patch b/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-tests.patch deleted file mode 100644 index 124eb28cb..0 --- a/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-tests.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/tests/test_widget_number.py b/tests/test_widget_number.py -index 1c5cadc..9d8067a 100644 a/tests/test_widget_number.py -+++ b/tests/test_widget_number.py -@@ -14,6 +14,7 @@ import fsleyes_props as props - import fsleyes_widgets.floatspin as floatspin - import fsleyes_widgets.floatslider as floatslider - -+import pytest - - def setup_module(): - props.initGUI() -@@ -28,6 +29,9 @@ class MyObj(props.HasProperties): - myrealc = props.Real(minval=0.0, maxval=1.0, clamped=True) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-props/issues/1; -+) - def test_widget_number(): run_with_wx(_test_widget_number) - def _test_widget_number(parent): - -diff --git a/tests/test_widget_point.py b/tests/test_widget_point.py -index cc21226..d83aa48 100644 a/tests/test_widget_point.py -+++ b/tests/test_widget_point.py -@@ -11,6 +11,7 @@ import numpy as np - import fsleyes_props as props - import fsleyes_widgets.floatslider as floatslider - -+import pytest - - from . import (run_with_wx, simtext, simclick, addall, realYield) - -@@ -24,7 +25,9 @@ class MyObj(props.HasProperties): - mypointi = props.Point(ndims=2, real=False) - mypointf = props.Point(ndims=2) - -- -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+"https://github.com/pauldmccarthy/fsleyes-props/issues/1; -+) - def test_widget_point(): run_with_wx(_test_widget_point) - def _test_widget_point(parent): -
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: 65fa065ec1aa6341045cdd3167997046885bf5c6 Author: Aisha Tammy aisha cc> AuthorDate: Sun Sep 27 13:56:03 2020 + Commit: Aisha Tammy aisha cc> CommitDate: Sun Sep 27 13:56:03 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=65fa065e sci-visualization/fsleyes-props: fix python compat Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild index 2e80199ec..c88acc938 100644 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_7 ) inherit distutils-r1 virtualx
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: 8410e53efaf5abfe3c225db30807e1f69b831fe9 Author: Horea Christian chymera eu> AuthorDate: Tue Mar 24 23:10:26 2020 + Commit: Horea Christian gmail com> CommitDate: Tue Mar 24 23:10:26 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=8410e53e sci-visualization/fsleyes-props: PYTHON_COMPAT 3_7 Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Horea Christian chymera.eu> sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild index 8407e9d20..2e80199ec 100644 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 virtualx
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
commit: 95865d81a152d7f25caad4cc1dc90775d47001bf Author: Horea Christian chymera eu> AuthorDate: Sun Jan 19 17:33:43 2020 + Commit: Horea Christian gmail com> CommitDate: Sun Jan 19 17:33:43 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=95865d81 sci-visualization/fsleyes-props: updated package description Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Horea Christian chymera.eu> sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild index ed283ca43..8407e9d20 100644 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild @@ -9,7 +9,7 @@ inherit distutils-r1 virtualx MY_PN="props" -DESCRIPTION="The new FSL image viewer, released with FSL 5.0.10" +DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz;
[gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/files/, sci-visualization/fsleyes-props/
commit: ea94e8974906d55e593321e488e2a0437aa5a718 Author: Horea Christian chymera eu> AuthorDate: Sun Jan 19 17:23:15 2020 + Commit: Horea Christian gmail com> CommitDate: Sun Jan 19 17:23:15 2020 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ea94e897 sci-visualization/fsleyes-props: new package required by FSLeyes Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Horea Christian chymera.eu> sci-visualization/fsleyes-props/ChangeLog | 9 + .../files/fsleyes-props-1.6.7-coverage.patch | 10 + .../files/fsleyes-props-1.6.7-tests.patch | 45 + .../fsleyes-props/fsleyes-props-1.6.7.ebuild | 46 ++ sci-visualization/fsleyes-props/metadata.xml | 19 + 5 files changed, 129 insertions(+) diff --git a/sci-visualization/fsleyes-props/ChangeLog b/sci-visualization/fsleyes-props/ChangeLog new file mode 100644 index 0..58b6e28dd --- /dev/null +++ b/sci-visualization/fsleyes-props/ChangeLog @@ -0,0 +1,9 @@ + 08 Oct 2018; Horea Christian fsleyes-props-1.6.3.ebuild: + sci-visualization/fsleyes-props: python3 compatibility + +*fsleyes-props-1.6.3 (08 Oct 2018) + + 08 Oct 2018; Horea Christian +fsleyes-props-1.6.3.ebuild, + +metadata.xml: + sci-visualization/fsleyes-props: new ebuild Ahead of inclusion in science + overlay (unsubmitted) diff --git a/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-coverage.patch b/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-coverage.patch new file mode 100644 index 0..e256af331 --- /dev/null +++ b/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-coverage.patch @@ -0,0 +1,10 @@ +diff --git a/setup.cfg b/setup.cfg +index 2b66974..9929adf 100644 +--- a/setup.cfg b/setup.cfg +@@ -10,4 +10,4 @@ ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701 + + [tool:pytest] + testpaths = tests +-addopts = -v --cov=fsleyes_props ++addopts = -v diff --git a/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-tests.patch b/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-tests.patch new file mode 100644 index 0..124eb28cb --- /dev/null +++ b/sci-visualization/fsleyes-props/files/fsleyes-props-1.6.7-tests.patch @@ -0,0 +1,45 @@ +diff --git a/tests/test_widget_number.py b/tests/test_widget_number.py +index 1c5cadc..9d8067a 100644 +--- a/tests/test_widget_number.py b/tests/test_widget_number.py +@@ -14,6 +14,7 @@ import fsleyes_props as props + import fsleyes_widgets.floatspin as floatspin + import fsleyes_widgets.floatslider as floatslider + ++import pytest + + def setup_module(): + props.initGUI() +@@ -28,6 +29,9 @@ class MyObj(props.HasProperties): + myrealc = props.Real(minval=0.0, maxval=1.0, clamped=True) + + ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-props/issues/1; ++) + def test_widget_number(): run_with_wx(_test_widget_number) + def _test_widget_number(parent): + +diff --git a/tests/test_widget_point.py b/tests/test_widget_point.py +index cc21226..d83aa48 100644 +--- a/tests/test_widget_point.py b/tests/test_widget_point.py +@@ -11,6 +11,7 @@ import numpy as np + import fsleyes_props as props + import fsleyes_widgets.floatslider as floatslider + ++import pytest + + from . import (run_with_wx, simtext, simclick, addall, realYield) + +@@ -24,7 +25,9 @@ class MyObj(props.HasProperties): + mypointi = props.Point(ndims=2, real=False) + mypointf = props.Point(ndims=2) + +- ++@pytest.mark.skip(reason="Known to fail on Gentoo:" ++"https://github.com/pauldmccarthy/fsleyes-props/issues/1; ++) + def test_widget_point(): run_with_wx(_test_widget_point) + def _test_widget_point(parent): + diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild new file mode 100644 index 0..ed283ca43 --- /dev/null +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild @@ -0,0 +1,46 @@ +# 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 virtualx + +MY_PN="props" + +DESCRIPTION="The new FSL image viewer, released with FSL 5.0.10" +HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master; +SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.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[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +