[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: f622f89257758ee012c4157a2a0b9fd831953a83 Author: Michał Górny gentoo org> AuthorDate: Fri May 17 08:18:37 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri May 17 08:20:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f622f892 dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 - dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild | 74 2 files changed, 75 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index c4c4174637b3..697f33f534f1 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1 @@ -DIST pyqtgraph-0.13.6.gh.tar.gz 2388348 BLAKE2B e0050e240b80be2448ebb998f3ea9bd51489c906512c2cb4c3e0684d6b57d093362c60eafff4aaea9262c9fa7464ffde32e8159e2694671ffe70109b5e412eef SHA512 e77a054494a01ce848685547811ad398e0c77f747c26f9f4be798465f874bfeb23f6c2e507ad1175bb747e3c9c2f0d22747eefda476c4e8c72fa892fa0bb4730 DIST pyqtgraph-0.13.7.gh.tar.gz 2364456 BLAKE2B 3ce1a3eb177a2a6328f1b7354bf9d4a87ffedcf4fa75fa407bd2df708b91fe98e2500364220ac7395745c69ac86f4830ea58999d05af49850edc723a6ccad5a1 SHA512 91e06e143fec4b1a6fae5cc7112a1fb6b7e74c7a38605172aacc5639eb220e30c54694e419313c7bb8368ea5c5f45f41d58e4510735e63a7d6ef03cdbb0f05e9 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild deleted file mode 100644 index c1adb8a201c4.. --- a/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -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 - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${PN}-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" -IUSE="opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.22[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/exporters/test_svg.py::test_plotscene - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xvfb -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 42af5b0b89a45ff1560a573be0ae7de6804d66e3 Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 17 08:17:56 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 17 08:17:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42af5b0b dev-python/pyqtgraph: Stabilize 0.13.7 ALLARCHES, #932049 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild index 3eee7ec805c3..c1adb8a201c4 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: a7f1b1fba9452236040824f5986be866ac18ce9e Author: Michał Górny gentoo org> AuthorDate: Wed May 8 08:12:01 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed May 8 08:15:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f1b1fb dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 2 - dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild | 72 --- dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild | 73 3 files changed, 147 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 0ffdb525dab5..c4c4174637b3 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,4 +1,2 @@ -DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 -DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 DIST pyqtgraph-0.13.6.gh.tar.gz 2388348 BLAKE2B e0050e240b80be2448ebb998f3ea9bd51489c906512c2cb4c3e0684d6b57d093362c60eafff4aaea9262c9fa7464ffde32e8159e2694671ffe70109b5e412eef SHA512 e77a054494a01ce848685547811ad398e0c77f747c26f9f4be798465f874bfeb23f6c2e507ad1175bb747e3c9c2f0d22747eefda476c4e8c72fa892fa0bb4730 DIST pyqtgraph-0.13.7.gh.tar.gz 2364456 BLAKE2B 3ce1a3eb177a2a6328f1b7354bf9d4a87ffedcf4fa75fa407bd2df708b91fe98e2500364220ac7395745c69ac86f4830ea58999d05af49850edc723a6ccad5a1 SHA512 91e06e143fec4b1a6fae5cc7112a1fb6b7e74c7a38605172aacc5639eb220e30c54694e419313c7bb8368ea5c5f45f41d58e4510735e63a7d6ef03cdbb0f05e9 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild deleted file mode 100644 index 957de8060add.. --- a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -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 - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${PN}-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - epytest -p xvfb -n "$(makeopts_jobs)" -} diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild deleted file mode 100644 index a40e6d254d42.. --- a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="A pure-python
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 2660dfca8ae14b58500e5c8fcb9d7442d29d080c Author: Michał Górny gentoo org> AuthorDate: Wed May 8 07:49:06 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed May 8 07:50:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2660dfca dev-python/pyqtgraph: Stabilize 0.13.6 ALLARCHES, #931544 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild index 3eee7ec805c3..c1adb8a201c4 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 6c3a9fbfd14d5a1520c412de1b497641f55cc35b Author: Michał Górny gentoo org> AuthorDate: Mon Apr 29 02:25:33 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Apr 29 03:27:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c3a9fbf dev-python/pyqtgraph: Bump to 0.13.7 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild | 74 2 files changed, 75 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 409be271eee6..0ffdb525dab5 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,4 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 DIST pyqtgraph-0.13.6.gh.tar.gz 2388348 BLAKE2B e0050e240b80be2448ebb998f3ea9bd51489c906512c2cb4c3e0684d6b57d093362c60eafff4aaea9262c9fa7464ffde32e8159e2694671ffe70109b5e412eef SHA512 e77a054494a01ce848685547811ad398e0c77f747c26f9f4be798465f874bfeb23f6c2e507ad1175bb747e3c9c2f0d22747eefda476c4e8c72fa892fa0bb4730 +DIST pyqtgraph-0.13.7.gh.tar.gz 2364456 BLAKE2B 3ce1a3eb177a2a6328f1b7354bf9d4a87ffedcf4fa75fa407bd2df708b91fe98e2500364220ac7395745c69ac86f4830ea58999d05af49850edc723a6ccad5a1 SHA512 91e06e143fec4b1a6fae5cc7112a1fb6b7e74c7a38605172aacc5639eb220e30c54694e419313c7bb8368ea5c5f45f41d58e4510735e63a7d6ef03cdbb0f05e9 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild new file mode 100644 index ..3eee7ec805c3 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/exporters/test_svg.py::test_plotscene + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xvfb +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 38ff2093276679b561f6536abbac0a6ba723407a Author: Michał Górny gentoo org> AuthorDate: Mon Apr 22 03:22:48 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Apr 22 03:40:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ff2093 dev-python/pyqtgraph: Bump to 0.13.6 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild | 74 2 files changed, 75 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 3ef345640dae..409be271eee6 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 +DIST pyqtgraph-0.13.6.gh.tar.gz 2388348 BLAKE2B e0050e240b80be2448ebb998f3ea9bd51489c906512c2cb4c3e0684d6b57d093362c60eafff4aaea9262c9fa7464ffde32e8159e2694671ffe70109b5e412eef SHA512 e77a054494a01ce848685547811ad398e0c77f747c26f9f4be798465f874bfeb23f6c2e507ad1175bb747e3c9c2f0d22747eefda476c4e8c72fa892fa0bb4730 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild new file mode 100644 index ..3eee7ec805c3 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/exporters/test_svg.py::test_plotscene + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xvfb +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: feab27e3820ee45656deb6b4914fc5c378cda628 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 14 15:07:35 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 14 15:28:09 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feab27e3 dev-python/pyqtgraph: Enable py3.12 Closes: https://bugs.gentoo.org/929493 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild index 20e6be5610e7..a40e6d254d42 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 multiprocessing
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: fdae396f1ddbefe0ca88806641f83dd33369ad65 Author: Matoro Mahri matoro tk> AuthorDate: Fri Apr 12 20:26:16 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 13 06:25:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdae396f dev-python/pyqtgraph: Stabilize 0.13.4 amd64, #927619 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild index 0c65befa4669..20e6be5610e7 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: e79af4c82818192b6da0a2d4e9dee4b4e476ce1b Author: Matoro Mahri matoro tk> AuthorDate: Fri Apr 12 19:03:42 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 13 06:25:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e79af4c8 dev-python/pyqtgraph: Stabilize 0.13.4 arm64, #927619 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild index 7f4e943402a5..0c65befa4669 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 5955dc1e6c2ac6a6f2dcac94f6a6381cf99f0547 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 8 05:14:23 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 8 05:40:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5955dc1e dev-python/pyqtgraph: Bump to 0.13.4 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild | 73 2 files changed, 74 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index d00bdbb19d8e..3ef345640dae 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1 +1,2 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 +DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild new file mode 100644 index ..7f4e943402a5 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/exporters/test_svg.py::test_plotscene + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -p xvfb -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 8c064e222cd78c1ed8f0f84b130c9283d94083e3 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 11 19:15:14 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 11 19:19:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c064e22 dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 - dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild | 72 2 files changed, 73 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 187f409e71d7..d00bdbb19d8e 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1 @@ -DIST pyqtgraph-0.13.2.gh.tar.gz 1420684 BLAKE2B da702fc16e9dadc55382be75528147bb050ebeeba0aaf8f87a9592125058ffe9b0049cf7897d297e7408ebd78a20c31f9a47ec8058025bf5b1653ed1fb2fdd6d SHA512 64ae6708e1a44bb69fc159d1cd23df47075eeb1d7daa03c4b27a147ea83a25bb5ef03d28892b20b144bfa4ee600622ef0595494565d42fb861c6849ca3f5c7b9 DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild deleted file mode 100644 index 05fad8d492af.. --- a/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -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 - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${PN}-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~riscv ~x86" -IUSE="opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - epytest -p xvfb -n "$(makeopts_jobs)" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 8556e920e7d2cb3132e923016f7584b772033f40 Author: Jakov Smolić gentoo org> AuthorDate: Sun Jun 11 18:37:51 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Jun 11 18:37:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8556e920 dev-python/pyqtgraph: Stabilize 0.13.3 ALLARCHES, #908360 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild index aca231532ed0..05fad8d492af 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~riscv ~x86" +KEYWORDS="amd64 ~arm ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 7afd1df77b8d9172b650c016344f3bc8312254e7 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 29 18:30:22 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 29 18:30:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7afd1df7 dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest | 1 - dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild | 73 - dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild| 73 - 3 files changed, 147 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 92aa7c3f52d1..187f409e71d7 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,2 @@ -DIST pyqtgraph-0.13.1.gh.tar.gz 1368154 BLAKE2B cb19ae6564b0fc0a4ec4fb6232f7949bb5130345380a86f0cffdee14e767d306b27c26ae3f7c011d77f21353b511d99148e1acb38e8d33598dde16362475b5a8 SHA512 bcd3d0c9c1d91ad2ea3f85f8e34e68ab999fce636ed336362253f09a7863a62c4b635d71c137c9458532c7d1f76dfc8433d476cd84121cf89488fb0860039b8f DIST pyqtgraph-0.13.2.gh.tar.gz 1420684 BLAKE2B da702fc16e9dadc55382be75528147bb050ebeeba0aaf8f87a9592125058ffe9b0049cf7897d297e7408ebd78a20c31f9a47ec8058025bf5b1653ed1fb2fdd6d SHA512 64ae6708e1a44bb69fc159d1cd23df47075eeb1d7daa03c4b27a147ea83a25bb5ef03d28892b20b144bfa4ee600622ef0595494565d42fb861c6849ca3f5c7b9 DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild deleted file mode 100644 index aaf3b74bd273.. --- a/dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -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 - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${PN}-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~riscv ~x86" -IUSE="opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_sphinx doc/source -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - epytest -p xvfb -n "$(makeopts_jobs)" -} diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild deleted file mode 100644 index f386d5e0260e.. --- a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -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 -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: c932748f54f091263729d913f45e3eb28313e226 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 29 17:31:17 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 29 17:31:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c932748f dev-python/pyqtgraph: Stabilize 0.13.2 ALLARCHES, #903833 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild index aca231532ed0..d05ff9888ace 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~riscv ~x86" +KEYWORDS="amd64 ~arm ~riscv x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 1264d7dd7291a8a619a6bb69dc8ff6292d7def04 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 15 06:03:09 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 15 08:23:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1264d7dd dev-python/pyqtgraph: Bump to 0.13.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild | 72 2 files changed, 73 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 4d48249ab98d..92aa7c3f52d1 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.13.1.gh.tar.gz 1368154 BLAKE2B cb19ae6564b0fc0a4ec4fb6232f7949bb5130345380a86f0cffdee14e767d306b27c26ae3f7c011d77f21353b511d99148e1acb38e8d33598dde16362475b5a8 SHA512 bcd3d0c9c1d91ad2ea3f85f8e34e68ab999fce636ed336362253f09a7863a62c4b635d71c137c9458532c7d1f76dfc8433d476cd84121cf89488fb0860039b8f DIST pyqtgraph-0.13.2.gh.tar.gz 1420684 BLAKE2B da702fc16e9dadc55382be75528147bb050ebeeba0aaf8f87a9592125058ffe9b0049cf7897d297e7408ebd78a20c31f9a47ec8058025bf5b1653ed1fb2fdd6d SHA512 64ae6708e1a44bb69fc159d1cd23df47075eeb1d7daa03c4b27a147ea83a25bb5ef03d28892b20b144bfa4ee600622ef0595494565d42fb861c6849ca3f5c7b9 +DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild new file mode 100644 index ..aca231532ed0 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -p xvfb -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 47c20d8d59228f428b06355293a9c8a8795c7338 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 4 17:55:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 4 18:16:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c20d8d dev-python/pyqtgraph: Bump to 0.13.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild | 72 2 files changed, 73 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 4864b94418d4..4d48249ab98d 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1 +1,2 @@ DIST pyqtgraph-0.13.1.gh.tar.gz 1368154 BLAKE2B cb19ae6564b0fc0a4ec4fb6232f7949bb5130345380a86f0cffdee14e767d306b27c26ae3f7c011d77f21353b511d99148e1acb38e8d33598dde16362475b5a8 SHA512 bcd3d0c9c1d91ad2ea3f85f8e34e68ab999fce636ed336362253f09a7863a62c4b635d71c137c9458532c7d1f76dfc8433d476cd84121cf89488fb0860039b8f +DIST pyqtgraph-0.13.2.gh.tar.gz 1420684 BLAKE2B da702fc16e9dadc55382be75528147bb050ebeeba0aaf8f87a9592125058ffe9b0049cf7897d297e7408ebd78a20c31f9a47ec8058025bf5b1653ed1fb2fdd6d SHA512 64ae6708e1a44bb69fc159d1cd23df47075eeb1d7daa03c4b27a147ea83a25bb5ef03d28892b20b144bfa4ee600622ef0595494565d42fb861c6849ca3f5c7b9 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild new file mode 100644 index ..aca231532ed0 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -p xvfb -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 2ae1dae7d1a54383c31ca20aeade5f95b0d9ea64 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 16 18:04:56 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 16 18:05:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae1dae7 dev-python/pyqtgraph: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild | 73 + 1 file changed, 73 insertions(+) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild new file mode 100644 index ..aaf3b74bd273 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -p xvfb -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 8edef5d475568bcf1ce58e5986be263cc3f03a6a Author: Michał Górny gentoo org> AuthorDate: Sun Jan 8 04:56:25 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 8 05:05:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edef5d4 dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 2 - dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 93 2 files changed, 95 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 1e0ca0e74d24..4864b94418d4 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1 @@ -DIST pyqtgraph-0.12.4.tar.gz 1333052 BLAKE2B 4208787d1d203904d841493e10b2f1d23357b60475c9e1cfff733fe772973d4dd619ca84941049bd60299912f3077fb18c27a90fa3c0c0e712a3715b5be1d071 SHA512 8402b38fe1abaaf55d6dbc26775093993b9f642d7a9da59d2780ed38562c8653ab872c588d2e66373434491b8f397533cb3c222382065c812a28cf6b9ce34960 DIST pyqtgraph-0.13.1.gh.tar.gz 1368154 BLAKE2B cb19ae6564b0fc0a4ec4fb6232f7949bb5130345380a86f0cffdee14e767d306b27c26ae3f7c011d77f21353b511d99148e1acb38e8d33598dde16362475b5a8 SHA512 bcd3d0c9c1d91ad2ea3f85f8e34e68ab999fce636ed336362253f09a7863a62c4b635d71c137c9458532c7d1f76dfc8433d476cd84121cf89488fb0860039b8f -DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild deleted file mode 100644 index 328edaeac79a.. --- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -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://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" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_sphinx doc/source -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - epytest -p xvfb -n "$(makeopts_jobs)" -} - -src_test() { - mkdir "${HOME}"/.pyqtgraph || die - mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ - "${HOME}"/.pyqtgraph/test-data || die - cd "${HOME}"/.pyqtgraph/test-data || die - # we need to fake a git repo - git config --global user.email "y...@example.com" || die - git config --global user.name "Your Name" || die - git init -q || die - git commit -q --allow-empty -m "dummy commit" || die - git tag "${TEST_DATA_TAG}" || die - cd - >/dev/null || die - - distutils-r1_src_test -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 97c96a40e6d613e852dd1f7e622720da3b25dc2b Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 7 18:07:27 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 7 18:07:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c96a40 dev-python/pyqtgraph: Stabilize 0.13.1 ALLARCHES, #883543 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild index a3b8db83ee24..ce80f3e399b6 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~riscv ~x86" +KEYWORDS="amd64 ~arm ~riscv x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 4c4b9562a85afe511881808d5270ef725b745bf9 Author: Sam James gentoo org> AuthorDate: Sat Oct 29 19:42:33 2022 + Commit: Sam James gentoo org> CommitDate: Sat Oct 29 19:42:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c4b9562 dev-python/pyqtgraph: Keyword 0.13.1 arm, #858215 Signed-off-by: Sam James gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild index ef091c06b4da..a3b8db83ee24 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 820e521f81d309c64c9aeaa2a4e1b7fef855fa09 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 1 15:21:59 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 1 15:53:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820e521f dev-python/pyqtgraph: Bump to 0.13.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild | 73 2 files changed, 74 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 6066acd8775b..1e0ca0e74d24 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.12.4.tar.gz 1333052 BLAKE2B 4208787d1d203904d841493e10b2f1d23357b60475c9e1cfff733fe772973d4dd619ca84941049bd60299912f3077fb18c27a90fa3c0c0e712a3715b5be1d071 SHA512 8402b38fe1abaaf55d6dbc26775093993b9f642d7a9da59d2780ed38562c8653ab872c588d2e66373434491b8f397533cb3c222382065c812a28cf6b9ce34960 +DIST pyqtgraph-0.13.1.gh.tar.gz 1368154 BLAKE2B cb19ae6564b0fc0a4ec4fb6232f7949bb5130345380a86f0cffdee14e767d306b27c26ae3f7c011d77f21353b511d99148e1acb38e8d33598dde16362475b5a8 SHA512 bcd3d0c9c1d91ad2ea3f85f8e34e68ab999fce636ed336362253f09a7863a62c4b635d71c137c9458532c7d1f76dfc8433d476cd84121cf89488fb0860039b8f DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild new file mode 100644 index ..ef091c06b4da --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +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 + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -p xvfb -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 8463771423403005ff8784634c4a333e8fad55db Author: Jakov Smolić gentoo org> AuthorDate: Fri Sep 9 22:38:34 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Fri Sep 9 22:38:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84637714 dev-python/pyqtgraph: Keyword 0.12.4 riscv, #858215 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild index 5d15ae1e159f..328edaeac79a 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~riscv x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 09740bd9cb0fbe913e05ecb94ff67ec700ab1f6c Author: Michał Górny gentoo org> AuthorDate: Sun Sep 4 08:16:54 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Sep 7 07:50:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09740bd9 dev-python/pyqtgraph: Enable pytest-xvfb explicitly Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild index c7a36040467f..5d15ae1e159f 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() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: e192e47c76518b6982bb02c107aa8d0264004c7d Author: Michał Górny gentoo org> AuthorDate: Thu Apr 21 19:34:13 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 21 19:37:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e192e47c dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 - dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild | 90 2 files changed, 91 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index b622ff82abf1..6066acd8775b 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,2 @@ -DIST pyqtgraph-0.12.3.tar.gz 1317230 BLAKE2B d9a7a86f976fd7d778b0f038b24e80d6cbbdb98f6cda7de0461d1e3bbac0a99745dc363f38c24128018a2f41f3a0da7437bf9ddbd3f4091fd826ae4ea915 SHA512 13f1ff4bcce7ab8c133ebb99101d300bb3abcd6ea8b7321f3aa646d6992b6988db17d478dcec52339dd380f7c6e487f47b95b9f9de616b7ff2dab35ca5f0cc30 DIST pyqtgraph-0.12.4.tar.gz 1333052 BLAKE2B 4208787d1d203904d841493e10b2f1d23357b60475c9e1cfff733fe772973d4dd619ca84941049bd60299912f3077fb18c27a90fa3c0c0e712a3715b5be1d071 SHA512 8402b38fe1abaaf55d6dbc26775093993b9f642d7a9da59d2780ed38562c8653ab872c588d2e66373434491b8f397533cb3c222382065c812a28cf6b9ce34960 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild deleted file mode 100644 index 20b3a3e7229d.. --- a/dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -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/; -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" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - )" - -distutils_enable_sphinx doc/source -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - distutils_install_for_testing - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -src_test() { - mkdir "${HOME}"/.pyqtgraph || die - mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ - "${HOME}"/.pyqtgraph/test-data || die - cd "${HOME}"/.pyqtgraph/test-data || die - # we need to fake a git repo - git config --global user.email "y...@example.com" || die - git config --global user.name "Your Name" || die - git init -q || die - git commit -q --allow-empty -m "dummy commit" || die - git tag "${TEST_DATA_TAG}" || die - cd - >/dev/null || die - - distutils-r1_src_test -} - -python_install_all() { - use examples && DOCS+=( examples/ ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: c1602ee4de08a083a51ca753ec7a6aea5f2f444f Author: Sam James gentoo org> AuthorDate: Thu Apr 21 19:00:39 2022 + Commit: Sam James gentoo org> CommitDate: Thu Apr 21 19:00:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1602ee4 dev-python/pyqtgraph: Stabilize 0.12.4 ALLARCHES, #839450 Signed-off-by: Sam James gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild index e13cb3d1376e..c7a36040467f 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: c7fb26374f2b9406c2d1e85714ec1e998bb93407 Author: Michał Górny gentoo org> AuthorDate: Tue Apr 19 11:21:30 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Apr 19 11:29:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fb2637 dev-python/pyqtgraph: Remove USE=examples Remove obsolete USE=examples, the examples are now installed as part of the Python package. Closes: https://bugs.gentoo.org/835690 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild index 5c5065d886e1..e13cb3d1376e 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="examples opengl svg" +IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )" RDEPEND=" @@ -86,8 +86,3 @@ src_test() { distutils-r1_src_test } - -python_install_all() { - use examples && DOCS+=( examples/ ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: bef1a6ff00020db58c51ca2049b415abbc4efe65 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 16 09:18:47 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 16 09:54:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef1a6ff dev-python/pyqtgraph: Bump to 0.12.4 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 93 2 files changed, 94 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index b8e7cc7a640f..b622ff82abf1 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.12.3.tar.gz 1317230 BLAKE2B d9a7a86f976fd7d778b0f038b24e80d6cbbdb98f6cda7de0461d1e3bbac0a99745dc363f38c24128018a2f41f3a0da7437bf9ddbd3f4091fd826ae4ea915 SHA512 13f1ff4bcce7ab8c133ebb99101d300bb3abcd6ea8b7321f3aa646d6992b6988db17d478dcec52339dd380f7c6e487f47b95b9f9de616b7ff2dab35ca5f0cc30 +DIST pyqtgraph-0.12.4.tar.gz 1333052 BLAKE2B 4208787d1d203904d841493e10b2f1d23357b60475c9e1cfff733fe772973d4dd619ca84941049bd60299912f3077fb18c27a90fa3c0c0e712a3715b5be1d071 SHA512 8402b38fe1abaaf55d6dbc26775093993b9f642d7a9da59d2780ed38562c8653ab872c588d2e66373434491b8f397533cb3c222382065c812a28cf6b9ce34960 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild new file mode 100644 index ..5c5065d886e1 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +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/; +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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +src_test() { + mkdir "${HOME}"/.pyqtgraph || die + mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ + "${HOME}"/.pyqtgraph/test-data || die + cd "${HOME}"/.pyqtgraph/test-data || die + # we need to fake a git repo + git config --global user.email "y...@example.com" || die + git config --global user.name "Your Name" || die + git init -q || die + git commit -q --allow-empty -m "dummy commit" || die + git tag "${TEST_DATA_TAG}" || die + cd - >/dev/null || die + + distutils-r1_src_test +} + +python_install_all() { + use examples && DOCS+=( examples/ ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/, dev-python/pyqtgraph/files/
commit: 7a6b97198854d0e6889ea8f14137ed99777641bd Author: Michał Górny gentoo org> AuthorDate: Sat Nov 13 20:27:50 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 13 20:27:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6b9719 dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest | 1 - .../files/pyqtgraph-0.12.2-fix-py3.10.patch| 46 --- dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild | 94 -- 3 files changed, 141 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 0c35eeb730d..b8e7cc7a640 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,2 @@ -DIST pyqtgraph-0.12.2.tar.gz 1292676 BLAKE2B af5e61bbc7f55cda669825a9742a3f2424638d35e3a10b85b7fc635a5e40b630848bed1e88bc84383cbd3e85de538b1b1fa051d6d761b368209c1d8167f55a2a SHA512 8a7f0e1e78cf147568ee6e393a07f07301632765d1bdb50328fcf1f815dda76f3e89808cef945409dcd9142407f864f205778a76cf804d4cbce544c60bcf5042 DIST pyqtgraph-0.12.3.tar.gz 1317230 BLAKE2B d9a7a86f976fd7d778b0f038b24e80d6cbbdb98f6cda7de0461d1e3bbac0a99745dc363f38c24128018a2f41f3a0da7437bf9ddbd3f4091fd826ae4ea915 SHA512 13f1ff4bcce7ab8c133ebb99101d300bb3abcd6ea8b7321f3aa646d6992b6988db17d478dcec52339dd380f7c6e487f47b95b9f9de616b7ff2dab35ca5f0cc30 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/files/pyqtgraph-0.12.2-fix-py3.10.patch b/dev-python/pyqtgraph/files/pyqtgraph-0.12.2-fix-py3.10.patch deleted file mode 100644 index bb1e4a8a766..000 --- a/dev-python/pyqtgraph/files/pyqtgraph-0.12.2-fix-py3.10.patch +++ /dev/null @@ -1,46 +0,0 @@ -From db8180d88ed37425467d030bebf7792c86691b83 Mon Sep 17 00:00:00 2001 -From: Scott Talbert -Date: Sun, 11 Jul 2021 22:04:00 -0400 -Subject: [PATCH] Fix GLTextItem with Python 3.10 - -drawText() expects int arguments and Python 3.10 does not allow for -implicit rounding. - a/pyqtgraph/opengl/items/GLTextItem.py -+++ b/pyqtgraph/opengl/items/GLTextItem.py -@@ -68,15 +68,15 @@ def paint(self): - viewport = glGetIntegerv(GL_VIEWPORT) - - text_pos = self.__project(self.pos, modelview, projection, viewport) --text_pos[1] = viewport[3] - text_pos[1] - -+text_pos.setY(viewport[3] - text_pos.y()) - text_pos /= self.view().devicePixelRatio() - - painter = QtGui.QPainter(self.view()) - painter.setPen(self.color) - painter.setFont(self.font) - painter.setRenderHints(QtGui.QPainter.RenderHint.Antialiasing | QtGui.QPainter.RenderHint.TextAntialiasing) --painter.drawText(text_pos[0], text_pos[1], self.text) -+painter.drawText(text_pos, self.text) - painter.end() - - def __project(self, obj_pos, modelview, projection, viewport): -@@ -86,12 +86,11 @@ def __project(self, obj_pos, modelview, projection, viewport): - proj_vec = np.matmul(projection.T, view_vec) - - if proj_vec[3] == 0.0: --return -+return QtCore.QPointF(0, 0) - - proj_vec[0:3] /= proj_vec[3] - --return np.array([ --viewport[0] + (1.0 + proj_vec[0]) * viewport[2] / 2.0, --viewport[1] + (1.0 + proj_vec[1]) * viewport[3] / 2.0, --(1.0 + proj_vec[2]) / 2.0 --]) -+return QtCore.QPointF( -+viewport[0] + (1.0 + proj_vec[0]) * viewport[2] / 2, -+viewport[1] + (1.0 + proj_vec[1]) * viewport[3] / 2 -+) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild deleted file mode 100644 index c6366f824b7..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -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/; -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" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 7f65891531d7cf54390c3bba2dc607789da507c6 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 11 06:14:08 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Oct 11 07:56:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f658915 dev-python/pyqtgraph: Bump to 0.12.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild | 90 2 files changed, 91 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 1f1c964cbef..0c35eeb730d 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.12.2.tar.gz 1292676 BLAKE2B af5e61bbc7f55cda669825a9742a3f2424638d35e3a10b85b7fc635a5e40b630848bed1e88bc84383cbd3e85de538b1b1fa051d6d761b368209c1d8167f55a2a SHA512 8a7f0e1e78cf147568ee6e393a07f07301632765d1bdb50328fcf1f815dda76f3e89808cef945409dcd9142407f864f205778a76cf804d4cbce544c60bcf5042 +DIST pyqtgraph-0.12.3.tar.gz 1317230 BLAKE2B d9a7a86f976fd7d778b0f038b24e80d6cbbdb98f6cda7de0461d1e3bbac0a99745dc363f38c24128018a2f41f3a0da7437bf9ddbd3f4091fd826ae4ea915 SHA512 13f1ff4bcce7ab8c133ebb99101d300bb3abcd6ea8b7321f3aa646d6992b6988db17d478dcec52339dd380f7c6e487f47b95b9f9de616b7ff2dab35ca5f0cc30 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild new file mode 100644 index 000..2d46c69243c --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.3.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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/; +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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + distutils_install_for_testing + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +src_test() { + mkdir "${HOME}"/.pyqtgraph || die + mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ + "${HOME}"/.pyqtgraph/test-data || die + cd "${HOME}"/.pyqtgraph/test-data || die + # we need to fake a git repo + git config --global user.email "y...@example.com" || die + git config --global user.name "Your Name" || die + git init -q || die + git commit -q --allow-empty -m "dummy commit" || die + git tag "${TEST_DATA_TAG}" || die + cd - >/dev/null || die + + distutils-r1_src_test +} + +python_install_all() { + use examples && DOCS+=( examples/ ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/, dev-python/pyqtgraph/files/
commit: 50adb7ff6f2b959ae8284133adcdb60ff53d15ec Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 10 04:15:54 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 10 04:56:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50adb7ff dev-python/pyqtgraph: enable py3.10, cleanup - do the prepare for testing inside src_test - testing depends on opengl and svg use flags - use EPYTEST_DESELECT - add missing "|| die" for git calls Signed-off-by: Arthur Zamarin gentoo.org> .../files/pyqtgraph-0.12.2-fix-py3.10.patch| 46 dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild | 49 -- 2 files changed, 73 insertions(+), 22 deletions(-) diff --git a/dev-python/pyqtgraph/files/pyqtgraph-0.12.2-fix-py3.10.patch b/dev-python/pyqtgraph/files/pyqtgraph-0.12.2-fix-py3.10.patch new file mode 100644 index 000..bb1e4a8a766 --- /dev/null +++ b/dev-python/pyqtgraph/files/pyqtgraph-0.12.2-fix-py3.10.patch @@ -0,0 +1,46 @@ +From db8180d88ed37425467d030bebf7792c86691b83 Mon Sep 17 00:00:00 2001 +From: Scott Talbert +Date: Sun, 11 Jul 2021 22:04:00 -0400 +Subject: [PATCH] Fix GLTextItem with Python 3.10 + +drawText() expects int arguments and Python 3.10 does not allow for +implicit rounding. + +--- a/pyqtgraph/opengl/items/GLTextItem.py b/pyqtgraph/opengl/items/GLTextItem.py +@@ -68,15 +68,15 @@ def paint(self): + viewport = glGetIntegerv(GL_VIEWPORT) + + text_pos = self.__project(self.pos, modelview, projection, viewport) +-text_pos[1] = viewport[3] - text_pos[1] + ++text_pos.setY(viewport[3] - text_pos.y()) + text_pos /= self.view().devicePixelRatio() + + painter = QtGui.QPainter(self.view()) + painter.setPen(self.color) + painter.setFont(self.font) + painter.setRenderHints(QtGui.QPainter.RenderHint.Antialiasing | QtGui.QPainter.RenderHint.TextAntialiasing) +-painter.drawText(text_pos[0], text_pos[1], self.text) ++painter.drawText(text_pos, self.text) + painter.end() + + def __project(self, obj_pos, modelview, projection, viewport): +@@ -86,12 +86,11 @@ def __project(self, obj_pos, modelview, projection, viewport): + proj_vec = np.matmul(projection.T, view_vec) + + if proj_vec[3] == 0.0: +-return ++return QtCore.QPointF(0, 0) + + proj_vec[0:3] /= proj_vec[3] + +-return np.array([ +-viewport[0] + (1.0 + proj_vec[0]) * viewport[2] / 2.0, +-viewport[1] + (1.0 + proj_vec[1]) * viewport[3] / 2.0, +-(1.0 + proj_vec[2]) / 2.0 +-]) ++return QtCore.QPointF( ++viewport[0] + (1.0 + proj_vec[0]) * viewport[2] / 2, ++viewport[1] + (1.0 + proj_vec[1]) * viewport[3] / 2 ++) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild index 3bc55a927f1..c6366f824b7 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 multiprocessing TEST_DATA_TAG=test-data-8 @@ -21,6 +21,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" IUSE="examples opengl svg" +REQUIRED_USE="test? ( opengl svg )" RDEPEND=" >=dev-python/numpy-1.17[${PYTHON_USEDEP}] @@ -30,57 +31,61 @@ RDEPEND=" BDEPEND=" test? ( dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[svg,testlib,${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pytest-xvfb[${PYTHON_USEDEP}] dev-vcs/git )" +PATCHES=( + "${FILESDIR}/${P}-fix-py3.10.patch" +) + distutils_enable_sphinx doc/source distutils_enable_tests pytest python_prepare_all() { distutils-r1_python_prepare_all - if use test; then - mkdir "${HOME}"/.pyqtgraph || die - mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ - "${HOME}"/.pyqtgraph/test-data || die - cd "${HOME}"/.pyqtgraph/test-data || die - # we need to fake a git repo - git config --global user.email "y...@example.com" - git config --global user.name "Your Name" - git init -q || die - git commit -q --allow-empty -m "dummy commit" || die - git tag "${TEST_DATA_TAG}" || die - cd - >/dev/null || die - fi if ! use opengl; then rm -r pyqtgraph/opengl || die fi } python_test() { - local deselect=( + local EPYTEST_DESELECT=( # apparently fragile - --deselect tests/test_reload.py::test_reload + tests/test_reload.py::test_reload
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: a1e7e1e3b6bfa24f84a8e965921fb43c145fa19e Author: Michał Górny gentoo org> AuthorDate: Sun Aug 22 06:46:52 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 22 06:46:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e7e1e3 dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 - dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild | 86 2 files changed, 87 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 71b7f924b87..1f1c964cbef 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,2 @@ -DIST pyqtgraph-0.12.1.tar.gz 899513 BLAKE2B 17f6dec41039186ceb0afdfbcba64aebf5900d17b890d9a6d1f8a30586a27e3cc61bb1d3a8fb2446f9ee3a66c54095b7c5d37b5c5fb83296b481d8a95a7fdab5 SHA512 b1ed004c7db4ee4f8302a42dd9e8574692b4c353bf512ec7a42d5ebeaab126e9ed5df3a228c631dc77e16a61efce1c918cbd0a8b319649e346e2082215c56d40 DIST pyqtgraph-0.12.2.tar.gz 1292676 BLAKE2B af5e61bbc7f55cda669825a9742a3f2424638d35e3a10b85b7fc635a5e40b630848bed1e88bc84383cbd3e85de538b1b1fa051d6d761b368209c1d8167f55a2a SHA512 8a7f0e1e78cf147568ee6e393a07f07301632765d1bdb50328fcf1f815dda76f3e89808cef945409dcd9142407f864f205778a76cf804d4cbce544c60bcf5042 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild deleted file mode 100644 index cdc658825f7..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 multiprocessing virtualx - -TEST_DATA_TAG=test-data-8 -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -HOMEPAGE="http://www.pyqtgraph.org/ 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" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples opengl svg" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[svg,testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-vcs/git - )" - -distutils_enable_sphinx doc/source -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if use test; then - mkdir "${HOME}"/.pyqtgraph || die - mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ - "${HOME}"/.pyqtgraph/test-data || die - cd "${HOME}"/.pyqtgraph/test-data || die - # we need to fake a git repo - git config --global user.email "y...@example.com" - git config --global user.name "Your Name" - git init -q || die - git commit -q --allow-empty -m "dummy commit" || die - git tag "${TEST_DATA_TAG}" || die - cd - >/dev/null || die - fi - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local deselect=( - # apparently fragile - --deselect pyqtgraph/tests/test_reload.py::test_reload - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - --deselect - 'examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - --deselect - 'examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - distutils_install_for_testing - virtx epytest "${deselect[@]}" \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_install_all() { - use examples && DOCS+=( examples/ ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: d186f8ebbf0367be49c461f8a9fa779553ab3017 Author: Sam James gentoo org> AuthorDate: Sun Aug 22 03:40:08 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 22 03:40:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d186f8eb dev-python/pyqtgraph: Stabilize 0.12.2 ALLARCHES, #808327 Signed-off-by: Sam James gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild index 523718072f9..3bc55a927f1 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild @@ -19,7 +19,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="examples opengl svg" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 880c43f88dfbc238f6cf9c516c34bee23976af06 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 15 07:40:51 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 15 07:42:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880c43f8 dev-python/pyqtgraph: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pyqtgraph/metadata.xml b/dev-python/pyqtgraph/metadata.xml index 24bf6bc8bf6..e4f45cc9647 100644 --- a/dev-python/pyqtgraph/metadata.xml +++ b/dev-python/pyqtgraph/metadata.xml @@ -12,6 +12,7 @@ due to its heavy leverage of numpy for number crunching and Qt's GraphicsView framework for fast display. + pyqtgraph/pyqtgraph pyqtgraph
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: c5d2353c9464324463f7848fcbb974a5097566c3 Author: Michał Górny gentoo org> AuthorDate: Fri Jul 9 07:01:33 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 9 07:26:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d2353c dev-python/pyqtgraph: Bump to 0.12.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild | 89 2 files changed, 90 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index f64219dc7ab..71b7f924b87 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.12.1.tar.gz 899513 BLAKE2B 17f6dec41039186ceb0afdfbcba64aebf5900d17b890d9a6d1f8a30586a27e3cc61bb1d3a8fb2446f9ee3a66c54095b7c5d37b5c5fb83296b481d8a95a7fdab5 SHA512 b1ed004c7db4ee4f8302a42dd9e8574692b4c353bf512ec7a42d5ebeaab126e9ed5df3a228c631dc77e16a61efce1c918cbd0a8b319649e346e2082215c56d40 +DIST pyqtgraph-0.12.2.tar.gz 1292676 BLAKE2B af5e61bbc7f55cda669825a9742a3f2424638d35e3a10b85b7fc635a5e40b630848bed1e88bc84383cbd3e85de538b1b1fa051d6d761b368209c1d8167f55a2a SHA512 8a7f0e1e78cf147568ee6e393a07f07301632765d1bdb50328fcf1f815dda76f3e89808cef945409dcd9142407f864f205778a76cf804d4cbce544c60bcf5042 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild new file mode 100644 index 000..523718072f9 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +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/; +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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples opengl svg" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[svg,testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if use test; then + mkdir "${HOME}"/.pyqtgraph || die + mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ + "${HOME}"/.pyqtgraph/test-data || die + cd "${HOME}"/.pyqtgraph/test-data || die + # we need to fake a git repo + git config --global user.email "y...@example.com" + git config --global user.name "Your Name" + git init -q || die + git commit -q --allow-empty -m "dummy commit" || die + git tag "${TEST_DATA_TAG}" || die + cd - >/dev/null || die + fi + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local deselect=( + # apparently fragile + --deselect tests/test_reload.py::test_reload + + # TODO + --deselect tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + --deselect + 'examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + --deselect + 'examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + distutils_install_for_testing + epytest "${deselect[@]}" \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +python_install_all() { + use examples && DOCS+=( examples/ ) +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/files/, dev-python/pyqtgraph/
commit: a896966bca383d25d6ec4b579e25ce56b6b2b62c Author: Michał Górny gentoo org> AuthorDate: Wed Apr 28 17:48:40 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 28 17:50:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a896966b dev-python/pyqtgraph: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest | 2 - .../files/pyqtgraph-0.11.0-qt5_only.patch | 11 --- dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild | 48 dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild | 86 -- 4 files changed, 147 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 9df18fd3548..f64219dc7ab 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,4 +1,2 @@ -DIST pyqtgraph-0.11.0_rc0.tar.gz 755973 BLAKE2B 845c57a16c71d449419cca452ac70468eb21f198b3aebe39204e8ac1408ebd4471a95b24cbd91cd4c745439c17a805738e50a29f8690de5d84f86c2597310aea SHA512 6eb5573b19c7fc0bc263bdc5d75a9a7a5d86d5ce525e406fcbd8f4215a8b2a0a9a7d4839d177fb10ff62a5feacdf088347828900daa9f60ae84e54824b98f470 -DIST pyqtgraph-0.12.0.tar.gz 893557 BLAKE2B a5fab600adad7b71d63602ed075ecdfba96316ffd1205a11c6551c132055c40f81bbac4a51e9abcfdb877365f1e95d1f05d0fdcc7131cf5f0646f641512e70aa SHA512 a30c7cab0a8a1efff697271fdcc27b1aef55a2766a90562191adc4d6e5ed6fb71da73b4b25ea4e16b7eff33876eb47468c27bc8bcdf1a0abaefa2b6c202c8739 DIST pyqtgraph-0.12.1.tar.gz 899513 BLAKE2B 17f6dec41039186ceb0afdfbcba64aebf5900d17b890d9a6d1f8a30586a27e3cc61bb1d3a8fb2446f9ee3a66c54095b7c5d37b5c5fb83296b481d8a95a7fdab5 SHA512 b1ed004c7db4ee4f8302a42dd9e8574692b4c353bf512ec7a42d5ebeaab126e9ed5df3a228c631dc77e16a61efce1c918cbd0a8b319649e346e2082215c56d40 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.patch b/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.patch deleted file mode 100644 index 1e65b0de926..000 --- a/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.patch +++ /dev/null @@ -1,11 +0,0 @@ a/pyqtgraph/Qt.py -+++ b/pyqtgraph/Qt.py -@@ -25,7 +25,7 @@ - ## This is done by first checking to see whether one of the libraries - ## is already imported. If not, then attempt to import PyQt4, then PySide. - if QT_LIB is None: --libOrder = [PYQT4, PYSIDE, PYQT5, PYSIDE2] -+libOrder = [PYQT5] - - for lib in libOrder: - if lib in sys.modules: diff --git a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild deleted file mode 100644 index c6a713fe7b5..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -MY_PV=$(ver_rs 3 "") -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -HOMEPAGE="http://www.pyqtgraph.org/ https://pypi.org/project/pyqtgraph/; -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples opengl svg" - -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.11.0-qt5_only.patch -) - -DOCS=( CHANGELOG README.md ) - -S="${WORKDIR}"/${PN}-${MY_P} - -distutils_enable_sphinx doc/source - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_install_all() { - use examples && DOCS+=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild deleted file mode 100644 index 1ebdf584d19..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 multiprocessing virtualx - -TEST_DATA_TAG=test-data-8 -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -HOMEPAGE="http://www.pyqtgraph.org/ https://pypi.org/project/pyqtgraph/; -SRC_URI=" - https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz - test? ( -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 00b87dc2999e6a28d518efea4c9501b909e1e2f6 Author: Sam James gentoo org> AuthorDate: Wed Apr 28 17:01:35 2021 + Commit: Sam James gentoo org> CommitDate: Wed Apr 28 17:03:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b87dc2 dev-python/pyqtgraph: Stabilize 0.12.1 amd64, #786066 Signed-off-by: Sam James gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild index 0e1d7ed1db3..cdc658825f7 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="examples opengl svg" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 5620c96897a7100f888adf542116bc3056c225c0 Author: Sam James gentoo org> AuthorDate: Wed Apr 28 02:44:18 2021 + Commit: Sam James gentoo org> CommitDate: Wed Apr 28 02:47:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5620c968 dev-python/pyqtgraph: Stabilize 0.12.1 x86, #786066 Signed-off-by: Sam James gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild index 1ebdf584d19..0e1d7ed1db3 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="examples opengl svg" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 9f958a5e0e5bea8e3f81ad4cb83ec5c758527123 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 7 07:25:09 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 7 08:06:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f958a5e dev-python/pyqtgraph: Bump to 0.12.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild | 86 2 files changed, 87 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 59fa953c253..9df18fd3548 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,4 @@ DIST pyqtgraph-0.11.0_rc0.tar.gz 755973 BLAKE2B 845c57a16c71d449419cca452ac70468eb21f198b3aebe39204e8ac1408ebd4471a95b24cbd91cd4c745439c17a805738e50a29f8690de5d84f86c2597310aea SHA512 6eb5573b19c7fc0bc263bdc5d75a9a7a5d86d5ce525e406fcbd8f4215a8b2a0a9a7d4839d177fb10ff62a5feacdf088347828900daa9f60ae84e54824b98f470 DIST pyqtgraph-0.12.0.tar.gz 893557 BLAKE2B a5fab600adad7b71d63602ed075ecdfba96316ffd1205a11c6551c132055c40f81bbac4a51e9abcfdb877365f1e95d1f05d0fdcc7131cf5f0646f641512e70aa SHA512 a30c7cab0a8a1efff697271fdcc27b1aef55a2766a90562191adc4d6e5ed6fb71da73b4b25ea4e16b7eff33876eb47468c27bc8bcdf1a0abaefa2b6c202c8739 +DIST pyqtgraph-0.12.1.tar.gz 899513 BLAKE2B 17f6dec41039186ceb0afdfbcba64aebf5900d17b890d9a6d1f8a30586a27e3cc61bb1d3a8fb2446f9ee3a66c54095b7c5d37b5c5fb83296b481d8a95a7fdab5 SHA512 b1ed004c7db4ee4f8302a42dd9e8574692b4c353bf512ec7a42d5ebeaab126e9ed5df3a228c631dc77e16a61efce1c918cbd0a8b319649e346e2082215c56d40 DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild new file mode 100644 index 000..1ebdf584d19 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 multiprocessing virtualx + +TEST_DATA_TAG=test-data-8 +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE="http://www.pyqtgraph.org/ 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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples opengl svg" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[svg,testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if use test; then + mkdir "${HOME}"/.pyqtgraph || die + mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ + "${HOME}"/.pyqtgraph/test-data || die + cd "${HOME}"/.pyqtgraph/test-data || die + # we need to fake a git repo + git config --global user.email "y...@example.com" + git config --global user.name "Your Name" + git init -q || die + git commit -q --allow-empty -m "dummy commit" || die + git tag "${TEST_DATA_TAG}" || die + cd - >/dev/null || die + fi + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local deselect=( + # apparently fragile + --deselect pyqtgraph/tests/test_reload.py::test_reload + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + --deselect + 'examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + --deselect + 'examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + distutils_install_for_testing + virtx
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 1b6b71f9f7593fab525b7d46d0fc2559e948e7f9 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 26 13:14:40 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 26 14:36:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6b71f9 dev-python/pyqtgraph: Fix PyQt5 USE flags for tests Closes: https://bugs.gentoo.org/778368 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild index 1db8e4e0200..1ebdf584d19 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild @@ -31,6 +31,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[svg,testlib,${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-vcs/git )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: ae013ad407c0608f17719ee95714c0162b74a000 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 26 08:16:27 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 26 09:41:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae013ad4 dev-python/pyqtgraph: Bump to 0.12.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyqtgraph/Manifest| 2 + dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild | 85 2 files changed, 87 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 0af45bb7254..59fa953c253 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1 +1,3 @@ DIST pyqtgraph-0.11.0_rc0.tar.gz 755973 BLAKE2B 845c57a16c71d449419cca452ac70468eb21f198b3aebe39204e8ac1408ebd4471a95b24cbd91cd4c745439c17a805738e50a29f8690de5d84f86c2597310aea SHA512 6eb5573b19c7fc0bc263bdc5d75a9a7a5d86d5ce525e406fcbd8f4215a8b2a0a9a7d4839d177fb10ff62a5feacdf088347828900daa9f60ae84e54824b98f470 +DIST pyqtgraph-0.12.0.tar.gz 893557 BLAKE2B a5fab600adad7b71d63602ed075ecdfba96316ffd1205a11c6551c132055c40f81bbac4a51e9abcfdb877365f1e95d1f05d0fdcc7131cf5f0646f641512e70aa SHA512 a30c7cab0a8a1efff697271fdcc27b1aef55a2766a90562191adc4d6e5ed6fb71da73b4b25ea4e16b7eff33876eb47468c27bc8bcdf1a0abaefa2b6c202c8739 +DIST pyqtgraph-test-data-8.tar.gz 306068 BLAKE2B f3aa418dfaf2e74950fa880da4b6dfb4ef5dbd46346b78065d885c1f9fc06fc3de86756af17e27035d4cd47d98cc7ce58c036b493837b568086a4ebceb230c78 SHA512 07ef414f2b57e00589f8c18459e88ab16001c7cc3766164cdfcd69faa26cbc90ed64611fd0c5e3b401dc6a3f1a6e9e4ce6a7d9fa96ebcc4360e03fa9fbb856d2 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild new file mode 100644 index 000..1db8e4e0200 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 multiprocessing virtualx + +TEST_DATA_TAG=test-data-8 +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE="http://www.pyqtgraph.org/ 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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples opengl svg" + +RDEPEND=" + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if use test; then + mkdir "${HOME}"/.pyqtgraph || die + mv "${WORKDIR}/test-data-${TEST_DATA_TAG}" \ + "${HOME}"/.pyqtgraph/test-data || die + cd "${HOME}"/.pyqtgraph/test-data || die + # we need to fake a git repo + git config --global user.email "y...@example.com" + git config --global user.name "Your Name" + git init -q || die + git commit -q --allow-empty -m "dummy commit" || die + git tag "${TEST_DATA_TAG}" || die + cd - >/dev/null || die + fi + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local deselect=( + # apparently fragile + --deselect pyqtgraph/tests/test_reload.py::test_reload + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + --deselect + 'examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + --deselect + 'examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + distutils_install_for_testing + virtx epytest "${deselect[@]}" \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +python_install_all() { + use examples && DOCS+=( examples/ ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 4c93cad59ded1be11f00850464d90b9a0faa1292 Author: Marek Szuba gentoo org> AuthorDate: Sat Nov 21 22:00:46 2020 + Commit: Marek Szuba gentoo org> CommitDate: Sat Nov 21 22:05:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c93cad5 dev-python/pyqtgraph: support python3_9 Changed with permission from mgorny on behalf of the Python project. Closes: https://bugs.gentoo.org/754024 Signed-off-by: Marek Szuba gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild index d6e54830b5a..c6a713fe7b5 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/files/
commit: 0b4253e58c5e692f224deeef15b7cd8f5c0ed603 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Aug 28 16:58:10 2020 + Commit: David Seifert gentoo org> CommitDate: Sat Sep 12 09:54:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4253e5 dev-python/pyqtgraph: remove unused patch Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: David Seifert gentoo.org> dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch | 10 -- 1 file changed, 10 deletions(-) diff --git a/dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch b/dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch deleted file mode 100644 index b74df26df5d..000 --- a/dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -r -U2 pyqtgraph-0.10.0.orig/pyqtgraph/Qt.py pyqtgraph-0.10.0/pyqtgraph/Qt.py pyqtgraph-0.10.0.orig/pyqtgraph/Qt.py 2016-10-17 23:22:41.0 +0700 -+++ pyqtgraph-0.10.0/pyqtgraph/Qt.py 2018-01-23 22:52:19.503525554 +0700 -@@ -25,5 +25,5 @@ - ## is already imported. If not, then attempt to import PyQt4, then PySide. - if QT_LIB is None: --libOrder = [PYQT4, PYSIDE, PYQT5] -+libOrder = [PYQT5] - - for lib in libOrder:
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 770d8f57fdd90d0fa9f71e14ec937931a3cee3c1 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jun 4 06:35:04 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jun 4 06:35:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770d8f57 dev-python/pyqtgraph: x86 stable wrt bug #726582 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild index 672d38e0e01..2259d40e1ec 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="examples opengl svg" RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 14440945ee01ad58675f803a3cb1859b277d67bb Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Jun 3 19:44:15 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Jun 3 19:44:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14440945 dev-python/pyqtgraph: amd64 stable wrt bug #726582 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild index f13ada12b64..672d38e0e01 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="examples opengl svg" RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/files/, dev-python/pyqtgraph/
commit: 530156324d4c5acd0aa63fb6b520453c576b09c4 Author: Marek Szuba gentoo org> AuthorDate: Fri Apr 24 15:42:23 2020 + Commit: Marek Szuba gentoo org> CommitDate: Fri Apr 24 22:56:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53015632 dev-python/pyqtgraph: bump to 0.11.0_rc0 and EAPI-7 The only version to date with python3_8 support. Ostensibly a release candidate but if it's good enough for Debian to package then it's good enough for me! Committed with kind permission of mgorny on behalf of the Python project. Signed-off-by: Marek Szuba gentoo.org> dev-python/pyqtgraph/Manifest | 1 + .../files/pyqtgraph-0.11.0-qt5_only.patch | 11 + dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild | 48 ++ 3 files changed, 60 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index ae3b55682a0..5b078024ea7 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1 +1,2 @@ DIST pyqtgraph-0.10.0.tar.gz 704972 BLAKE2B cb1295608536b06de32ea72503b2df2be7f4ae3065b42431542539feec5eb37412e3a7697e2ee97309594b9aecc19c692ef7b45f843f37bd50148a3c0b6e1d31 SHA512 d995da7b4f13ae0009582aebe3f753dc78566dc50ba9314d3a2d37ad4ed8f2fd8bb497a01bb8b37b6d96bf14c071aad018bcbc7224d9dd9b47589a7b5b640d30 +DIST pyqtgraph-0.11.0_rc0.tar.gz 755973 BLAKE2B 845c57a16c71d449419cca452ac70468eb21f198b3aebe39204e8ac1408ebd4471a95b24cbd91cd4c745439c17a805738e50a29f8690de5d84f86c2597310aea SHA512 6eb5573b19c7fc0bc263bdc5d75a9a7a5d86d5ce525e406fcbd8f4215a8b2a0a9a7d4839d177fb10ff62a5feacdf088347828900daa9f60ae84e54824b98f470 diff --git a/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.patch b/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.patch new file mode 100644 index 000..1e65b0de926 --- /dev/null +++ b/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.patch @@ -0,0 +1,11 @@ +--- a/pyqtgraph/Qt.py b/pyqtgraph/Qt.py +@@ -25,7 +25,7 @@ + ## This is done by first checking to see whether one of the libraries + ## is already imported. If not, then attempt to import PyQt4, then PySide. + if QT_LIB is None: +-libOrder = [PYQT4, PYSIDE, PYQT5, PYSIDE2] ++libOrder = [PYQT5] + + for lib in libOrder: + if lib in sys.modules: diff --git a/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild new file mode 100644 index 000..f13ada12b64 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.11.0_rc0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +MY_PV=$(ver_rs 3 "") +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE="http://www.pyqtgraph.org/ https://pypi.org/project/pyqtgraph/; +SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples opengl svg" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.0-qt5_only.patch +) + +DOCS=( CHANGELOG README.md ) + +S="${WORKDIR}"/${PN}-${MY_P} + +distutils_enable_sphinx doc/source + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_install_all() { + use examples && DOCS+=( examples/ ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 45f0321a6bc526c9596a9c2a0767771e6a9e5f82 Author: Rick Farina gentoo org> AuthorDate: Tue Jan 28 22:11:34 2020 + Commit: Rick Farina gentoo org> CommitDate: Tue Jan 28 22:12:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f0321a dev-python/pyqtgraph: adding python 3.7 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Rick Farina gentoo.org> .../{pyqtgraph-0.10.0-r1.ebuild => pyqtgraph-0.10.0-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r2.ebuild similarity index 97% rename from dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild rename to dev-python/pyqtgraph/pyqtgraph-0.10.0-r2.ebuild index 5ec28661658..b3db85104e1 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: a6cb83a39beef31a0a9a14431446292f02443501 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Mar 5 14:52:23 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Mar 5 14:58:35 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6cb83a3 dev-python/pyqtgraph: Drop 0.10.0 Closes: https://bugs.gentoo.org/556106 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild | 52 1 file changed, 52 deletions(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild deleted file mode 100644 index dea43636c81..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -inherit distutils-r1 - -DESCRIPTION="a pure-python graphics and GUI library built on PyQt/PySide and numpy" -HOMEPAGE="http://www.pyqtgraph.org/ https://github.com/pyqtgraph/pyqtgraph; -SRC_URI="https://github.com/pyqtgraph/${PN}/archive/${P}.tar.gz; - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples opengl" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - || ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt4[${PYTHON_USEDEP}] - dev-python/pyside[${PYTHON_USEDEP}] - ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" - -S=${WORKDIR}/${PN}-${P} - -python_prepare_all() { - distutils-r1_python_prepare_all - - # fix distutils warning - sed -i 's/install_requires/requires/' setup.py || die - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - use examples && dodoc -r examples - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 46c54f12212f39de3bd8507ad3599cd9a872feab Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 5 14:30:17 2018 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 5 14:30:57 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c54f12 dev-python/pyqtgraph: amd64 stable wrt bug #649110 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="amd64" dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild index 83947b7c8a9..86bf6f65bbb 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.pyqtgraph.org/downloads/${PV}/${P}.tar.gz; LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="doc examples opengl svg" RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 9d384064613aeda2012178e1ad18dc51cc350c12 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Mar 4 06:12:41 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Mar 4 06:45:23 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d384064 dev-python/pyqtgraph: x86 stable (bug #649110) Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild index d69ef3721ec..83947b7c8a9 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.pyqtgraph.org/downloads/${PV}/${P}.tar.gz; LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="doc examples opengl svg" RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/, dev-python/pyqtgraph/files/
commit: 63a5ea9bcb7857592d6d26396be3f78fb5328d9c Author: Andrey Grozin gentoo org> AuthorDate: Wed Jan 24 06:34:10 2018 + Commit: Andrey Grozin gentoo org> CommitDate: Wed Jan 24 06:34:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a5ea9b drop optional Qt4 dependence Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch | 10 + dev-python/pyqtgraph/metadata.xml | 7 dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild| 47 ++ 3 files changed, 64 insertions(+) diff --git a/dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch b/dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch new file mode 100644 index 000..b74df26df5d --- /dev/null +++ b/dev-python/pyqtgraph/files/pyqtgraph-0.10.0-qt5.patch @@ -0,0 +1,10 @@ +diff -r -U2 pyqtgraph-0.10.0.orig/pyqtgraph/Qt.py pyqtgraph-0.10.0/pyqtgraph/Qt.py +--- pyqtgraph-0.10.0.orig/pyqtgraph/Qt.py 2016-10-17 23:22:41.0 +0700 pyqtgraph-0.10.0/pyqtgraph/Qt.py 2018-01-23 22:52:19.503525554 +0700 +@@ -25,5 +25,5 @@ + ## is already imported. If not, then attempt to import PyQt4, then PySide. + if QT_LIB is None: +-libOrder = [PYQT4, PYSIDE, PYQT5] ++libOrder = [PYQT5] + + for lib in libOrder: diff --git a/dev-python/pyqtgraph/metadata.xml b/dev-python/pyqtgraph/metadata.xml index 1dffaf00842..3f66bf396f3 100644 --- a/dev-python/pyqtgraph/metadata.xml +++ b/dev-python/pyqtgraph/metadata.xml @@ -5,6 +5,13 @@ pyt...@gentoo.org Python + +PyQtGraph is a pure-python graphics and GUI library built on PyQt and numpy. +It is intended for use in mathematics / scientific / engineering applications. +Despite being written entirely in python, the library is very fast +due to its heavy leverage of numpy for number crunching +and Qt's GraphicsView framework for fast display. + pyqtgraph/pyqtgraph diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild new file mode 100644 index 000..d69ef3721ec --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE="http://www.pyqtgraph.org/ https://pypi.python.org/pypi/pyqtgraph/; +SRC_URI="http://www.pyqtgraph.org/downloads/${PV}/${P}.tar.gz; + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples opengl svg" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/${P}-qt5.patch ) +S=${WORKDIR}/${PN}-${P} + +python_prepare_all() { + distutils-r1_python_prepare_all + + # fix distutils warning + sed -i 's/install_requires/requires/' setup.py || die + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: d97492166349e86ca754e3831fa62e76785d5156 Author: Tim Harder gentoo org> AuthorDate: Wed Apr 26 06:20:35 2017 + Commit: Tim Harder gentoo org> CommitDate: Wed Apr 26 06:22:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9749216 dev-python/pyqtgraph: remove old dev-python/pyqtgraph/Manifest| 2 -- dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild | 49 dev-python/pyqtgraph/pyqtgraph-0.9.9.ebuild | 48 --- 3 files changed, 99 deletions(-) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 78aa68be3e6..4fa11e20d6a 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1 @@ DIST pyqtgraph-0.10.0.tar.gz 704972 SHA256 4c851deec81c1dd1ecb4468ff6d5b035349b167cc1b4e4bb724b4b410945d20b SHA512 d995da7b4f13ae0009582aebe3f753dc78566dc50ba9314d3a2d37ad4ed8f2fd8bb497a01bb8b37b6d96bf14c071aad018bcbc7224d9dd9b47589a7b5b640d30 WHIRLPOOL a3435da48e68a4d1dfadfcb3a07f58056291cfac09b09c6459520b781717005cf52037354e2062ad4d81ed4f734ed7acf8f55d2638df720bf22f3723424ceebb -DIST pyqtgraph-0.9.10.tar.gz 1086558 SHA256 4c0589774e3c8b0c374931397cf6356b9cc99a790215d1917bb7f015c6f0729a SHA512 c947bf69116b8b0a61a1db6ec70d51741667387f98320ce581733a306bea704754b7bb0abf94d6f01ce74dfc218b3c573db017a5e189cde76d00f85bc6b23a3d WHIRLPOOL 45ce6873298b30f74b374d3e6d7a97b1602a723d6d08847f79560fb29e6d66b70e23705e07ec5481e427fde99f27d4b84da8565ea53d96a377f5727176d35c8f -DIST pyqtgraph-0.9.9.tar.gz 1086535 SHA256 6f61a7415c9488b334f856f06bc436b61d3742b2257310fe4bc8a1b85f84590b SHA512 f1fdf6aa2d66f4fc222fbcf97709ef9d172a4f7611882f46e6f9738fed9485ada9d81dd4d078c51385743fa344e52c3c1e0477ae5b6fabd04718bba8622e6a3e WHIRLPOOL 4d68d476df65f71eb4d7ea88eb6004ffc09868de6dbcf5192da773af6069cd83f388e3945ced1977e2531c9249bc58cc950f8540aaf71696f55d973a005a0e33 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild deleted file mode 100644 index f34735b0c44..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) -inherit distutils-r1 - -DESCRIPTION="a pure-python scientific graphics and GUI library built on PyQt4/PySide and numpy" -HOMEPAGE="http://www.pyqtgraph.org/ https://github.com/pyqtgraph/pyqtgraph; -SRC_URI="http://www.pyqtgraph.org/downloads/${P}.tar.gz; - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples opengl" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - || ( - dev-python/PyQt4[${PYTHON_USEDEP}] - dev-python/pyside[${PYTHON_USEDEP}] - ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" - -python_prepare_all() { - distutils-r1_python_prepare_all - - # fix distutils warning - sed -i 's/install_requires/requires/' setup.py || die - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pyqtgraph/pyqtgraph-0.9.9.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.9.9.ebuild deleted file mode 100644 index ac249c503ad..000 --- a/dev-python/pyqtgraph/pyqtgraph-0.9.9.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} ) -inherit distutils-r1 - -DESCRIPTION="a pure-python scientific graphics and GUI library built on PyQt4/PySide and numpy" -HOMEPAGE="http://www.pyqtgraph.org/ https://github.com/pyqtgraph/pyqtgraph; -SRC_URI="http://www.pyqtgraph.org/downloads/${P}.tar.gz; - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc opengl" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - || ( - dev-python/PyQt4[${PYTHON_USEDEP}] - dev-python/pyside[${PYTHON_USEDEP}] - ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" - -python_prepare_all() { - distutils-r1_python_prepare_all - - # fix distutils warning - sed -i 's/install_requires/requires/' setup.py || die - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_install_all() { - use doc && local HTML_DOCS=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: 5a0178e5b216dc23cb16343a9e4b93e687d16aac Author: Tim Harder gentoo org> AuthorDate: Wed Apr 26 05:58:58 2017 + Commit: Tim Harder gentoo org> CommitDate: Wed Apr 26 06:22:55 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0178e5 dev-python/pyqtgraph: add py36 support dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild index 567a6ccc3de..feab6bb2b45 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 DESCRIPTION="a pure-python graphics and GUI library built on PyQt/PySide and numpy"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: f0a79bf85827b327931df0b99347d3fd51f9914b Author: Tim Harder gentoo org> AuthorDate: Wed Apr 26 06:20:18 2017 + Commit: Tim Harder gentoo org> CommitDate: Wed Apr 26 06:22:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a79bf8 dev-python/pyqtgraph: stabilize 0.10.0 dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild index feab6bb2b45..dea43636c81 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/pyqtgraph/${PN}/archive/${P}.tar.gz; LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc examples opengl" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: e6f9a5aee0bc08893ad639d5ba817c5563eff0f4 Author: Tim Harder gentoo org> AuthorDate: Fri Dec 9 08:30:36 2016 + Commit: Tim Harder gentoo org> CommitDate: Fri Dec 9 08:33:14 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f9a5ae dev-python/pyqtgraph: version bump to 0.10.0 dev-python/pyqtgraph/Manifest| 1 + dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild | 53 2 files changed, 54 insertions(+) diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 9f6dbad..78aa68b 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ +DIST pyqtgraph-0.10.0.tar.gz 704972 SHA256 4c851deec81c1dd1ecb4468ff6d5b035349b167cc1b4e4bb724b4b410945d20b SHA512 d995da7b4f13ae0009582aebe3f753dc78566dc50ba9314d3a2d37ad4ed8f2fd8bb497a01bb8b37b6d96bf14c071aad018bcbc7224d9dd9b47589a7b5b640d30 WHIRLPOOL a3435da48e68a4d1dfadfcb3a07f58056291cfac09b09c6459520b781717005cf52037354e2062ad4d81ed4f734ed7acf8f55d2638df720bf22f3723424ceebb DIST pyqtgraph-0.9.10.tar.gz 1086558 SHA256 4c0589774e3c8b0c374931397cf6356b9cc99a790215d1917bb7f015c6f0729a SHA512 c947bf69116b8b0a61a1db6ec70d51741667387f98320ce581733a306bea704754b7bb0abf94d6f01ce74dfc218b3c573db017a5e189cde76d00f85bc6b23a3d WHIRLPOOL 45ce6873298b30f74b374d3e6d7a97b1602a723d6d08847f79560fb29e6d66b70e23705e07ec5481e427fde99f27d4b84da8565ea53d96a377f5727176d35c8f DIST pyqtgraph-0.9.9.tar.gz 1086535 SHA256 6f61a7415c9488b334f856f06bc436b61d3742b2257310fe4bc8a1b85f84590b SHA512 f1fdf6aa2d66f4fc222fbcf97709ef9d172a4f7611882f46e6f9738fed9485ada9d81dd4d078c51385743fa344e52c3c1e0477ae5b6fabd04718bba8622e6a3e WHIRLPOOL 4d68d476df65f71eb4d7ea88eb6004ffc09868de6dbcf5192da773af6069cd83f388e3945ced1977e2531c9249bc58cc950f8540aaf71696f55d973a005a0e33 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild new file mode 100644 index ..c7f0b0d --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.10.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit distutils-r1 + +DESCRIPTION="a pure-python graphics and GUI library built on PyQt/PySide and numpy" +HOMEPAGE="http://www.pyqtgraph.org/ https://github.com/pyqtgraph/pyqtgraph; +SRC_URI="https://github.com/pyqtgraph/${PN}/archive/${P}.tar.gz; + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples opengl" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + || ( + dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/PyQt4[${PYTHON_USEDEP}] + dev-python/pyside[${PYTHON_USEDEP}] + ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +S=${WORKDIR}/${PN}-${P} + +python_prepare_all() { + distutils-r1_python_prepare_all + + # fix distutils warning + sed -i 's/install_requires/requires/' setup.py || die + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
commit: b913580968ab876280ca8039108bdfef8d21de9b Author: Tim Harder gentoo org> AuthorDate: Fri Sep 2 23:10:03 2016 + Commit: Tim Harder gentoo org> CommitDate: Fri Sep 2 23:10:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9135809 dev-python/pyqtgraph: add python3_5 support dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild index 98a4de2..232c0f6 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.9.10.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) inherit distutils-r1 DESCRIPTION="a pure-python scientific graphics and GUI library built on PyQt4/PySide and numpy"