diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-23 13:40:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-23 13:40:13 +0000 |
| commit | a0d324d0ef33cd7630b90e7c187b0691941f8eea (patch) | |
| tree | c91b7887ca0e5ebac994356b6cc51b476192b04f /dev-python | |
| parent | 871e0dffa8e0be91d5982e72f574c781113677e0 (diff) | |
| download | baldeagleos-repo-a0d324d0ef33cd7630b90e7c187b0691941f8eea.tar.gz baldeagleos-repo-a0d324d0ef33cd7630b90e7c187b0691941f8eea.tar.xz baldeagleos-repo-a0d324d0ef33cd7630b90e7c187b0691941f8eea.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
27 files changed, 55 insertions, 1070 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index ab5507fc0bd0..41f8f5cafdee 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1 +1,2 @@ DIST multidict-5.2.0.tar.gz 56984 BLAKE2B 3580e3f53b3ec581d338676647f2e8dd78387fdad5730fe703c02b3cd4182d69e3b6896d71bd969413dd27974e07272cc541701a2145a517d9bacea45000e9c8 SHA512 508b6db9219c3dae76da5e89a398f4541beff2a875030c2f11da9aaa1e001324d069d7a291148c510fe555cb3a33288ef297c9baa863e42d3d09d60588bebd7e +DIST multidict-6.0.0.tar.gz 56006 BLAKE2B 886e7e02da1eb80ca2a7106dd127d0164155fa400125f4fa0c880d508407ad1b436e52d77f331843f908d5ab5497aac002d72445615666b0621a8e436397598f SHA512 9f258795166fd3c6f56286fd98da8cf7ce9bc5d7a974174865164f0955c71263234307733c0edcc5d0142c1356d681e24c93c3be6f5dbee67f01dee6a39b32d2 diff --git a/dev-python/multidict/multidict-6.0.0.ebuild b/dev-python/multidict/multidict-6.0.0.ebuild new file mode 100644 index 000000000000..6d450186242d --- /dev/null +++ b/dev-python/multidict/multidict-6.0.0.ebuild @@ -0,0 +1,28 @@ +# 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_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE="https://github.com/aio-libs/multidict/" +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=">=dev-python/cython-0.28.4[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs --no-autodoc +distutils_enable_tests pytest + +python_prepare_all() { + # don't enable coverage or other pytest settings + sed -i -e 's:--cov.*::' setup.cfg || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index 6f578b8e29f7..fcfa8a505570 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1,3 +1,4 @@ DIST pulsectl-21.10.5.tar.gz 40769 BLAKE2B 8346717714b4e9fd017ca917388d2ddff9c7b5a5a74a33e03e3fd5fc02048ba3d1873fb1bd10a12410dc44d88c253a4afc71f1f2542e70f36f4985659fcd9fb5 SHA512 353af9d33bb6e9f070e46a934f0933935631ca5d254430ece8b9aa9a25dd31607a45718a45c71f35f2e3801c78d7eea18c5e34f69e5a983cfc0115a8fcd05334 DIST pulsectl-22.1.0.tar.gz 40796 BLAKE2B a401500f3927fcc86db7132a9e76b31a8dd2144fb1cf6d62be30c6dc4648298f4ed378061b48dc4c64adb3a24d25810613024d6f652aa72b696f9b05605613a8 SHA512 b55ad512c9b7b11aa848465fe8cd556c76b5e10ebc7862aefc6b459cd4526ca1a0e284e81560b5e86d22acfa8409d09683043ca789c4f59f512a77cf2273cc7e DIST pulsectl-22.1.1.tar.gz 40813 BLAKE2B f5f5dd1bd958d9a053fa9da1aab7aa49680b7047641088fae9a110162e8be859de275dc79990366197c1be14e0c1e555cd2a37dc20f36ae5ad9bcff29babd1d5 SHA512 7676db1d1da3816d94a297b25613e44a02cd560a4c5495a25efb90f9fafb97e16844a5e36bc67457594afc6378860e57246cc5d07ab22aba328679c6ff1bfd8b +DIST pulsectl-22.1.3.tar.gz 40899 BLAKE2B e0a3361ce9126afe9a79817165405c38638cd7b2328162750607d7c674431f0e57762f5aaa50ab17325d493b16a5370feaa836e6899cd91c64f299af008c8825 SHA512 cc60ca006518f8be327cf7aa0dccb4820b0891e7118989b31c968bd740134751033802dbe54e203c56cf6a5d541732684dd27128c14f753acc5de38b639bdf64 diff --git a/dev-python/pulsectl/pulsectl-22.1.3.ebuild b/dev-python/pulsectl/pulsectl-22.1.3.ebuild new file mode 100644 index 000000000000..834d40c39f8f --- /dev/null +++ b/dev-python/pulsectl/pulsectl-22.1.3.ebuild @@ -0,0 +1,20 @@ +# 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_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)" +HOMEPAGE="https://github.com/mk-fg/python-pulse-control" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-sound/pulseaudio" + +distutils_enable_tests unittest diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 7b893ca772ae..18410ebca031 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,4 +1 @@ -DIST spyder-kernels-1.10.2-gh.tar.gz 78924 BLAKE2B 47f0ec284f54590ee9c5a43caeeea61b644fccc6d6222dfbf85187beb9cc141504082dbf50d1d85f5315c8e8e46b9f810253d904b594bb4c52677271b0f7f12d SHA512 4bcbc2646493f384a3f5fad1cc2a42bbe1d06c5225362beb995a73e3c1abe482f3855d844c449b07631b4ffda99492ccbd3cbe69c515ed38d6a98913bea90e2d -DIST spyder-kernels-2.0.5-gh.tar.gz 81123 BLAKE2B 390c3c5d8ceee787f6699dd41ecc9e015050db86d0e416e32be28ebe0a62b09c611707ac6427e8cc809303f41a77b7d9289f15d71d0b2a8ce17ff87af79ea5ad SHA512 b44702a0964bde69a9035839e3ca052a4ccc60340de83ccb9f1b0e6b93b73da5554e10b5eb61b8965416130d8f658f1a18fb1164c59cd27134298c16d3442dbe -DIST spyder-kernels-2.1.3.tar.gz 82801 BLAKE2B fc5217621f5d46194c222b53455fd716d25e74c67f0dd1fbe0ec870ab2daaa5d8c31df6b17f86cac1e7553355c1aa1ca22fd2d42103a3868aa14051b2077b334 SHA512 1a3d432425e8fdb8f66bf7177c4e207ea5a12d774e0d29fa008910f0c945cb892500d578ba2ea48d7a24977db0007cf137bc02777282b4bc8969e0708a3f6b2a DIST spyder-kernels-2.2.1.tar.gz 86912 BLAKE2B 290c7cd1c89ebccf1b25bd120488fef25369a1d44262f2eea4924068fd6626b8048f0ad65250824352c2888ae7aa267cc219bc5e5b539de81d3c7e09360cbc74 SHA512 0b2a92ba2d3bc9da73532f57fddc873c0a1c36390aec479c689254689ab9ded2692a407b5b5754357ec6edfe36081c735200da933a4232c5b8a4d4701f597359 diff --git a/dev-python/spyder-kernels/spyder-kernels-1.10.2.ebuild b/dev-python/spyder-kernels/spyder-kernels-1.10.2.ebuild deleted file mode 100644 index 58e04e537358..000000000000 --- a/dev-python/spyder-kernels/spyder-kernels-1.10.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Kernels used by spyder on its ipython console" -HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/ - https://pypi.org/project/spyder-kernels/" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - >=dev-python/ipykernel-5.3.0[${PYTHON_USEDEP}] - >=dev-python/ipython-7.6.0[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_prepare_all() { - # requires dask[distributed] while we last-rited distributed - sed -i -e 's:test_dask_multiprocessing:_&:' \ - spyder_kernels/console/tests/test_console_kernel.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/spyder-kernels/spyder-kernels-2.0.5.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.0.5.ebuild deleted file mode 100644 index 45c22bddd0f1..000000000000 --- a/dev-python/spyder-kernels/spyder-kernels-2.0.5.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Kernels used by spyder on its ipython console" -HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/ - https://pypi.org/project/spyder-kernels/" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/ipykernel-5.3.0[${PYTHON_USEDEP}] - >=dev-python/ipython-7.6.0[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/dask[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # we no longer package distributed - spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/spyder-kernels/spyder-kernels-2.1.3.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.1.3.ebuild deleted file mode 100644 index e331f3aaaf1e..000000000000 --- a/dev-python/spyder-kernels/spyder-kernels-2.1.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Kernels used by spyder on its ipython console" -HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/ - https://pypi.org/project/spyder-kernels/" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/ipykernel-5.3.0[${PYTHON_USEDEP}] - >=dev-python/ipython-7.6.0[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] - <dev-python/jupyter_client-7[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/dask[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # we no longer package distributed - spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/spyder-line-profiler/Manifest b/dev-python/spyder-line-profiler/Manifest deleted file mode 100644 index 19b831f5d33f..000000000000 --- a/dev-python/spyder-line-profiler/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST spyder-line-profiler-0.2.1.tar.gz 71109 BLAKE2B f16a5ac743b91a441b23b497a5aa8d1ede2f458a2de3e92d91c2f3af32621b07efa0fbf6646929a28c085117006044c8bf34f911c57bc221c12b1a71b949440e SHA512 2e6cdd8fe5387c8c229fdc503937cab3a30b72d2eb2a23a14de49584d317a1ed89eb76ebffbf03aed7a8aa5a183677c316814d50c73e79c6175da6a46e5937fb diff --git a/dev-python/spyder-line-profiler/metadata.xml b/dev-python/spyder-line-profiler/metadata.xml deleted file mode 100644 index 7187c366cacb..000000000000 --- a/dev-python/spyder-line-profiler/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> - <upstream> - <remote-id type="pypi">spyder-line-profiler</remote-id> - </upstream> - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild b/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild deleted file mode 100644 index b65a1e2076d0..000000000000 --- a/dev-python/spyder-line-profiler/spyder-line-profiler-0.2.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Plugin to run the python line profiler from within the spyder editor" -HOMEPAGE="https://github.com/spyder-ide/spyder-line-profiler" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/line_profiler[${PYTHON_USEDEP}] - >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] - <dev-python/spyder-5.0.0[${PYTHON_USEDEP}] -" - -DEPEND="test? ( - dev-python/pytest-qt[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest - -python_test() { - virtx pytest -vv spyder_line_profiler/widgets/tests -} diff --git a/dev-python/spyder-memory-profiler/Manifest b/dev-python/spyder-memory-profiler/Manifest deleted file mode 100644 index 12661b8671fb..000000000000 --- a/dev-python/spyder-memory-profiler/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST spyder-memory-profiler-0.2.1.tar.gz 16802 BLAKE2B a42bddaa1a470b1e23c203033daca9870d873a5160a9600f4e2932d30e15885fa63c90e334d0e92e7ad6d2ef380f022c94753d5fb24b451259f11f44803c390d SHA512 14eb5ea0e5a87cbdce6dc4bbcdd7e3a4f3dec566955431173ade068e1b110f5282fefc960d94351bdf76be125f099414c6e3b776ac4288065139e222c43a30d9 diff --git a/dev-python/spyder-memory-profiler/metadata.xml b/dev-python/spyder-memory-profiler/metadata.xml deleted file mode 100644 index b4c14987e21d..000000000000 --- a/dev-python/spyder-memory-profiler/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> - <upstream> - <remote-id type="pypi">spyder-memory-profiler</remote-id> - </upstream> - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild b/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild deleted file mode 100644 index 5d0291d0a1ba..000000000000 --- a/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Plugin to run the python memory_profiler from within the spyder editor" -HOMEPAGE="https://github.com/spyder-ide/spyder-memory-profiler" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/memory_profiler[${PYTHON_USEDEP}] - >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] - <dev-python/spyder-5.0.0[${PYTHON_USEDEP}] -" - -DEPEND="test? ( - dev-python/pytest-qt[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest - -python_test() { - virtx pytest -vv spyder_memory_profiler/widgets/tests -} diff --git a/dev-python/spyder-notebook/Manifest b/dev-python/spyder-notebook/Manifest deleted file mode 100644 index d9d78015105b..000000000000 --- a/dev-python/spyder-notebook/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST spyder-notebook-0.3.2-spyder-5.patch 38116 BLAKE2B 2f311e179d1e0cbdf458773eb0e8d71f1f7cb9dbeca9f01b3dd12120f12177b2bb84ac6e09d7a17a9b26d667523bd28027f80102ff90889d6c781f7b530f8c95 SHA512 e57bc9d9b85622a64d151931d5b96a0c8d448075535ea9e91dfde5326c5192b3cd2d96c9fc88fef95237d4ec833e47238ddc3a3d12de25b4a8dcbda65c92e57f -DIST spyder-notebook-0.3.2.tar.gz 3868854 BLAKE2B ca13e905dcc02d6767002481fb68ab8bc119d4d2511a1b881f033b9387d4237a1b2232ba75368f48b4d096998da40a14d862f125c0b01c6b2498165acebf4835 SHA512 dd3b505c8a678a9f49b1fce1d22a8a1a6cf334b65d1ab94852a7ba2120f53e2e38eb2fa0d58343588d7304511d7171d8e0040e10cda905db11ab65cae7f6ce5c diff --git a/dev-python/spyder-notebook/metadata.xml b/dev-python/spyder-notebook/metadata.xml deleted file mode 100644 index 66f71390ceb7..000000000000 --- a/dev-python/spyder-notebook/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> - <upstream> - <remote-id type="pypi">spyder-notebook</remote-id> - </upstream> - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/spyder-notebook/spyder-notebook-0.3.2-r2.ebuild b/dev-python/spyder-notebook/spyder-notebook-0.3.2-r2.ebuild deleted file mode 100644 index 5ce9f476cc70..000000000000 --- a/dev-python/spyder-notebook/spyder-notebook-0.3.2-r2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Jupyter notebook integration with Spyder" -HOMEPAGE="https://github.com/spyder-ide/spyder-notebook" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~andrewammerlaan/${P}-spyder-5.patch" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/qdarkstyle[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/spyder-5.0[${PYTHON_USEDEP}] - <dev-python/spyder-5.1[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] -)" - -DOCS=( "README.md" "RELEASE.md" "CHANGELOG.md" "doc/example.gif" ) - -PATCHES=( - "${DISTDIR}/${P}-spyder-5.patch" -) - -# Tests do not work inside virtx/emerge for some reason, core dumped -RESTRICT="test" -distutils_enable_tests pytest - -python_test() { - virtx pytest -vv -} diff --git a/dev-python/spyder-terminal/Manifest b/dev-python/spyder-terminal/Manifest index f974a682b8dc..5d0a759f5d6e 100644 --- a/dev-python/spyder-terminal/Manifest +++ b/dev-python/spyder-terminal/Manifest @@ -1,2 +1 @@ -DIST spyder-terminal-1.1.0.tar.gz 10097302 BLAKE2B efcdec7614534b8d3b5cf8b5aad0d6bd2d8358fdc0b0095be02dbac1c68fef63d1a325dc1005be18b4a679861e256aacad20f847c4c12eec603e605705b0982b SHA512 05d1850b01a6c3ae8607450f965dbebf4589026f318dbe599fe3c74d585fc093f4fc6cdd35ed26a9a052c11353d511d0602933fddc52f4cc94983d8a7cd75f32 DIST spyder-terminal-1.2.0.tar.gz 9482212 BLAKE2B 1da89ebae0ca8514bb745ca1a629795239857ef78c5cbfd79f814eb4b18ab34ad633b4a4eeaff6fa7489eece76b53c23d1a9ba33e102b5eab63a6f919886f2af SHA512 a5f0262ec1f9558fbc5cb51d47c34e44ea254cee46dac9a60bf7b6497f6bc3e105096a3323218c462dbff23acc345a404656b6df80d9360102ea80da7188307f diff --git a/dev-python/spyder-terminal/spyder-terminal-1.1.0-r1.ebuild b/dev-python/spyder-terminal/spyder-terminal-1.1.0-r1.ebuild deleted file mode 100644 index aa5f8febe3fd..000000000000 --- a/dev-python/spyder-terminal/spyder-terminal-1.1.0-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Run system terminals inside Spyder" -HOMEPAGE="https://github.com/spyder-ide/spyder-terminal" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT BSD Apache-2.0 BSD-2 ISC CC-BY-4.0 ZLIB WTFPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/coloredlogs[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/spyder-5.1.1[${PYTHON_USEDEP}] - <dev-python/spyder-5.2.0[${PYTHON_USEDEP}] - >=dev-python/terminado-0.10.0[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] -" diff --git a/dev-python/spyder-vim/Manifest b/dev-python/spyder-vim/Manifest deleted file mode 100644 index 2a079b8271ef..000000000000 --- a/dev-python/spyder-vim/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST spyder-vim-0_pre20201026.tar.gz 293554 BLAKE2B 1ee4122e5a149d029d67f93acabacf81af47b2a7d9902ef2c3a5bc289e5c532c8b2f15ce59cb0b8bb16eb6b3ea461c3ce44ff85f6f8d022cea5e5b482987a8fc SHA512 98b479b4ab2be5e1cbe730e1d4441c5d557d32ad7caee31ed2e6c936d97554ca50f3f0b0d2cef68be7742653946d3c87a01938479664de4066e22b13441c58fa diff --git a/dev-python/spyder-vim/metadata.xml b/dev-python/spyder-vim/metadata.xml deleted file mode 100644 index f4c4fc90a218..000000000000 --- a/dev-python/spyder-vim/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/spyder-vim/spyder-vim-0_pre20201026-r1.ebuild b/dev-python/spyder-vim/spyder-vim-0_pre20201026-r1.ebuild deleted file mode 100644 index 3cdf5f4d0468..000000000000 --- a/dev-python/spyder-vim/spyder-vim-0_pre20201026-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -COMMIT="4d0bf821abb193bfd158e2489970e1873a9f1138" - -DESCRIPTION="Plugin for Spyder to enable Vim keybindings" -HOMEPAGE="https://github.com/spyder-ide/spyder-vim" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >dev-python/spyder-4.0.0[${PYTHON_USEDEP}] - <dev-python/spyder-5.1[${PYTHON_USEDEP}] - " - -DEPEND="test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] -)" - -DOCS=( "README.rst" "doc/example.gif" ) - -S="${WORKDIR}/${PN}-${COMMIT}" - -distutils_enable_tests pytest - -python_test() { - virtx pytest -vv -} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 66cf94d6c220..988a1df37ace 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,8 +1,2 @@ -DIST spyder-4.2.5.tar.gz 11539071 BLAKE2B 9d7a98da018aae934803d640995fe2dfa6bbb20bfc7140bd00f5e7a00a09c47922fefd8df84f4b217a50176ee190515da6f4cbf498a03cae68e2ac4f5ec70664 SHA512 081b047a45b7522a69b1b21a221ab5cdef47f87f36ed4423ff63297d205f924c1627517c50622acb2d10efa094bc506fed4ec88f861775d3f58e81ac6ef017ac -DIST spyder-5.0.5.tar.gz 20606379 BLAKE2B 52f05ffcf0b6aabdac23a055af1c674c6aa80a7d4f3608779df1d46e0e51de63a71b4e97db286dc92e071cbb44a0dc827aa750d8ca538e6764b5e780f493d615 SHA512 17654ee76eb51c5f5b9f494d009af3d7813f869f27f22ceb8ad8ca96dcedcbcd6b86c7a3895bb63eba3cc60e4a57ab94128abb8d21f05c4672b8bb8d545fe1ff -DIST spyder-5.1.5.tar.gz 23849672 BLAKE2B a0a4db5105d4ecbb76bf3c996ea8ea17142bc4f9dfca989098ffdee32b620c711b343746e5dc5dce0c6c0a092a20b47d6bb28181c363f81af394bb8bccb5b6e2 SHA512 2204fe46ad3e4e14bebb51ef6a53074b657f6d970553decd0b2f9d0a7fba71b2f14b4efc3248bb4fb944860e85851e4a8add475ff12c6466e864be75b8cc38bb DIST spyder-5.2.2.tar.gz 23913924 BLAKE2B 40bf968212f4b5d343b59ce6fd069f1e6a0d7f8bccbd3ff6eb76960638e9d4ff8f232a764673a75dcea9d8048ed6a5c36d3bd52719c6773cc26e922f5597e35a SHA512 e88a1332da503fcbd55496b7600a7b7dbfa5aa8d2d248b2f4a6cb4e394c07a38b6681db3ac7c0997ff87984a561f1d794a5bec6492f7c7c131c5cfee55c445b2 -DIST spyder-docs-5eb83118155a3765de4a0f863b936bcbe73bb7aa.tar.gz 85362596 BLAKE2B 7294dcd0f169958da132b141379b9b1cf497095981a86416fb98d98f98e30a425fe2e628a523785f932bbc06a2ba1ecddb45bae0df009887db928f879e08cdef SHA512 45f45546b83afb3036348e89ee3eded4d8ecee36ce58fe697da14677fbff8fa2dfe170be7385ecf10e1989817780c07b5676d545ee34e87a8f252929ad72882e -DIST spyder-docs-78b25754c69a20643258821146e398ad5535c920.tar.gz 69167467 BLAKE2B d2815d552002f329b5fac59329fba3b3b0cd592bcbdacc0878966919e44dbab29548533661e60a1b9b8fd763d57d1e4c2f761782ace1b0a814a5f0cec1f66af9 SHA512 10764367fd5f830d7a3620b9d9e7ec4ab74539c1f48326c0c40f7caff74a50401addc7609fe1558c57dac4649d0a214c0d2d77cecd100bd8574151134e49634d -DIST spyder-docs-a3a579ce6e7e42c9d9bbd88ac4e76650b7093e5c.tar.gz 88791917 BLAKE2B bdcf52965b592f4a88ee988afcca71ed73b0499397c8c0b7ff36c38d4408f4b76ff285b3d9739d1c126322fdd8c1c6b93f3017edcaf30563da02d8f509d09fe4 SHA512 2717dad17db836330820578c9082505b7f1126fef2a76284d03a443f3317e3a9a294f69e50f075a29580c4ad1bfbd23dcd02fcef93f32645ae5d52ecfb0b8f10 DIST spyder-docs-cd0c65d943595da438410559811a5809bf0227a3.tar.gz 90033347 BLAKE2B 11c17ff2e7fd58ca29c927add366490e0e9a218551b2d5b5be8b2e2eaa955cec52983273bfc3630a9b96a76c5650aa2b36a18a44cbcf78ac624758c8f41ed816 SHA512 d0814775026d76156c5c5a3d3a00b764b0803a71416e72c6b974d60dde0b661f06a4cc0940cd3f391a1903a07ceb078918267d332a94e09773906fec4c15eea2 diff --git a/dev-python/spyder/spyder-4.2.5-r3.ebuild b/dev-python/spyder/spyder-4.2.5-r3.ebuild deleted file mode 100644 index c7b919e80364..000000000000 --- a/dev-python/spyder/spyder-4.2.5-r3.ebuild +++ /dev/null @@ -1,260 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -# The warning that this is wrong is a false positive -# Spyder has setuptools in install_requires -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit optfeature xdg distutils-r1 - -# Commit of documentation to fetch -DOCS_PV="78b25754c69a20643258821146e398ad5535c920" - -DESCRIPTION="The Scientific Python Development Environment" -HOMEPAGE=" - https://www.spyder-ide.org/ - https://github.com/spyder-ide/spyder/ - https://pypi.org/project/spyder/ -" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# The test suite often hangs or does not work. Technically spyder requires -# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason -# many of the tests fail or hang. RESTRICTing because IMO it is not worth the -# several hours I spend every single version bump checking which tests do and -# do not work. Spyder itself works fine with pyqt5>13. -RESTRICT="test" - -RDEPEND=" - >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] - >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}] - >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] - >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] - >=dev-python/ipython-7.6.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] - >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] - >=dev-python/psutil-5.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] - >=dev-python/pylint-1.0[${PYTHON_USEDEP}] - >=dev-python/python-lsp-black-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17.0.0[${PYTHON_USEDEP}] - >=dev-python/qdarkstyle-2.8[${PYTHON_USEDEP}] - <dev-python/qdarkstyle-3.0[${PYTHON_USEDEP}] - >=dev-python/qtawesome-0.5.7[${PYTHON_USEDEP}] - >=dev-python/qtconsole-5.0.3[${PYTHON_USEDEP}] - >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},pyqt5(+),svg,webengine] - >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] - >=dev-python/spyder-kernels-1.10.2[${PYTHON_USEDEP}] - <dev-python/spyder-kernels-1.11.0[${PYTHON_USEDEP}] - >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] - >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] - >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] - <dev-python/watchdog-2.0.0[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[tk,${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-ordering[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] -)" - -# Based on the courtesy of Arfrever -# This patch removes a call to update-desktop-database during build -# This fails because access is denied to this command during build -PATCHES=( - "${FILESDIR}/${PN}-4.2.1-build.patch" - "${FILESDIR}/${PN}-4.1.5-doc-theme-renamed.patch" -) - -DOCS=( - "AUTHORS.txt" - "Announcements.md" - "CHANGELOG.md" - "CODE_OF_CONDUCT.md" - "CONTRIBUTING.md" - "NOTICE.txt" - "README.md" - "RELEASE.md" -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs/doc dev-python/sphinx-panels dev-python/pydata-sphinx-theme dev-python/sphinx-multiversion - -python_prepare_all() { - # move docs into workdir - mv ../spyder-docs-${DOCS_PV}* docs || die - - # these deps are packaged separately: dev-python/spyder-kernels, dev-python/python-language-server - rm external-deps/* -r || die - # runs against things packaged in external-deps dir - rm conftest.py || die - - # Use the spyder fork of pyls (python-lsp-server instead of python-language-server) - # The original hasn't been update in over 6 months, and spyder upstream is slow - # in making the switch. Because we are running into issues with outdated deps - # and a whole dependency mess as a result, we can no longer wait for upstream. - find . -name "*.py" -exec sed -i \ - -e 's/pyls/pylsp/g' \ - -e 's/pylsp-spyder/pyls-spyder/g' \ - -e 's/pylsp_spyder/pyls_spyder/g' \ - -e 's/pylsp-black/python-lsp-black/g' \ - -e 's/pyls-spyder>=0.3.2,<0.4.0/pyls-spyder>=0.4.0/g' \ - -e 's/>=0.3.2;<0.4.0/>=0.4.0/g' \ - {} + || die - - # Do not depend on pyqt5<5.13, this dependency is carried by QtPy[pyqt5] - # Do not depend on pyqtwebengine<5.13, this dependency is carried by QtPy[webengine] - # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server - # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder - # The explicit version requirements only make things more complicated, if e.g. - # pyls-spyder gains compatibility with a newer version of python-lsp-server - # in a new release it will take time for this information to propagate into - # the next spyder release. So just remove the dependency and let the other - # ebuilds handle the version requirements to speed things up and prevent - # issues such as Bug 803269. - sed -i \ - -e '/pyqt5/d' \ - -e '/pyqtwebengine/d' \ - -e '/python-language-server/d' \ - -e '/python-lsp-server/d' \ - -e '/parso/d' \ - -e '/jedi/d' \ - -e '/pylint/d' \ - requirements/conda.txt || die - sed -i \ - -e "/'pyqt5[ 0-9<=>.,]*',/d" \ - -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ - -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ - -e "/'python-language-server\[all\][ 0-9<=>.,]*',/d" \ - -e "/'parso[ 0-9<=>.,]*',/d" \ - -e "/'jedi[ 0-9<=>.,]*',/d" \ - -e "/'pylint[ 0-9<=>.,]*',/d" \ - setup.py || die - sed -i \ - -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ - -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ - -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ - -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ - spyder/dependencies.py || die - - # do not check deps, fails because we removed pyqt5 dependency above - sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ - spyder/tests/test_dependencies_in_sync.py || die - - # can't check for update, need network - rm spyder/workers/tests/test_update.py || die - - # skip online test - rm spyder/widgets/github/tests/test_github_backend.py || die - - # KeyError: 'conda: base', need conda?? - sed -i -e 's:test_status_bar_conda_interpreter_status:_&:' \ - spyder/widgets/tests/test_status.py || die - - # assert 2 == 1 - sed -i -e 's:test_pylint_max_history_conf:_&:' \ - spyder/plugins/pylint/tests/test_pylint.py || die - - # https://bugs.gentoo.org/747211 - sed -i -e 's:test_loaded_and_closed_signals:_&:' \ - spyder/plugins/projects/tests/test_plugin.py || die - - # AssertionError: assert '' == 'This is some test text!' - sed -i -e 's:test_tab_copies_find_to_replace:_&:' \ - spyder/plugins/editor/widgets/tests/test_editor.py || die - - # hangs till forever - sed -i -e 's:test_help_opens_when_show_tutorial_full:_&:' \ - spyder/app/tests/test_mainwindow.py || die - - # Assertion error, can't connect/remember inside ebuild environment - rm spyder/plugins/ipythonconsole/widgets/tests/test_kernelconnect.py || die - - # AssertionError: waitUntil timed out in 20000 miliseconds - sed -i -e 's:test_pdb_multiline:_&:' \ - spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py || die - - # AssertionError: assert 'if True:\n 0\n ' == 'if True:\n 0' - sed -i -e 's:test_undo_return:_&:' \ - spyder/plugins/editor/widgets/tests/test_codeeditor.py || die - - # assert False is True - sed -i -e 's:test_range_indicator_visible_on_hover_only:_&:' \ - spyder/plugins/editor/panels/tests/test_scrollflag.py || die - - # AssertionError: waitUntil timed out in 10000 miliseconds - sed -i -e 's:test_get_hints:_&:' \ - spyder/plugins/editor/widgets/tests/test_hints_and_calltips.py || die - - # Fatal Python error: Aborted - sed -i -e 's:test_module_completion:_&:' \ - spyder/utils/introspection/tests/test_modulecompletion.py || die - - # assert 0 > 0 - sed -i -e 's:test_maininterpreter_page:_&:' \ - spyder/preferences/tests/test_config_dialog.py || die - - # This hangs forever - sed -i -e 's:test_load_kernel_file:_&:' \ - -e 's:test_load_kernel_file_from_location:_&:' \ - -e 's:test_load_kernel_file_from_id:_&:' \ - spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py || die - - distutils-r1_python_prepare_all -} - -# Calling pytest directly makes the tests freeze after completing even if successful -# Exit code is nonzero even upon success, so can't add || die here -# test results should be checked for success manually -python_test() { - ${EPYTHON} runtests.py -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib - optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas - optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy - optfeature "Symbolic mathematics in the IPython console" dev-python/sympy - optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy - optfeature "Run Cython files in the IPython console" dev-python/cython - optfeature "The hdf5/h5py plugin" dev-python/h5py - optfeature "The line profiler plugin" dev-python/spyder-line-profiler - optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler - # spyder-autopep8 does not have a release (yet) - # and are not compatible with >=spyder-4.0.0 at the moment - # optfeature "The autopep8 plugin" dev-python/spyder-autopep8 - optfeature "Vim key bindings" dev-python/spyder-vim - optfeature "Unittest support" dev-python/spyder-unittest - optfeature "Jupyter notebook support" dev-python/spyder-notebook - optfeature "System terminal inside spyder" dev-python/spyder-terminal - # spyder-reports not yet updated to >=spyder-4.0.0 - # optfeature "Markdown reports using Pweave" dev-python/spyder-reports -} diff --git a/dev-python/spyder/spyder-5.0.5-r2.ebuild b/dev-python/spyder/spyder-5.0.5-r2.ebuild deleted file mode 100644 index 4bb3ee821b74..000000000000 --- a/dev-python/spyder/spyder-5.0.5-r2.ebuild +++ /dev/null @@ -1,214 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit optfeature xdg distutils-r1 - -# Commit of documentation to fetch -DOCS_PV="5eb83118155a3765de4a0f863b936bcbe73bb7aa" - -DESCRIPTION="The Scientific Python Development Environment" -HOMEPAGE=" - https://www.spyder-ide.org/ - https://github.com/spyder-ide/spyder/ - https://pypi.org/project/spyder/ -" -SRC_URI=" - https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# The test suite often hangs or does not work. Technically spyder requires -# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason -# many of the tests fail or hang. RESTRICTing because IMO it is not worth the -# several hours I spend every single version bump checking which tests do and -# do not work. Spyder itself works fine with pyqt5>13. -RESTRICT="test" - -RDEPEND=" - >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] - >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}] - >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] - >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] - >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] - >=dev-python/ipython-7.6.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] - >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] - >=dev-python/psutil-5.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] - >=dev-python/pylint-1.0[${PYTHON_USEDEP}] - >=dev-python/python-lsp-black-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - ~dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}] - >=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}] - >=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}] - >=dev-python/qtconsole-5.1.0[${PYTHON_USEDEP}] - >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},pyqt5(+),svg,webengine] - >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] - >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] - >=dev-python/spyder-kernels-2.0.4[${PYTHON_USEDEP}] - <dev-python/spyder-kernels-2.1.0[${PYTHON_USEDEP}] - >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] - >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] - >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[tk,${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-ordering[${PYTHON_USEDEP}] - <dev-python/pytest-qt-4[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - )" - -# Based on the courtesy of Arfrever -# This patch removes a call to update-desktop-database during build -# This fails because access is denied to this command during build -PATCHES=( - "${FILESDIR}/${PN}-5.0.0-build.patch" - "${FILESDIR}/${PN}-5.0.1-doc-theme-renamed.patch" -) - -DOCS=( - "AUTHORS.txt" - "Announcements.md" - "CHANGELOG.md" - "CODE_OF_CONDUCT.md" - "CONTRIBUTING.md" - "NOTICE.txt" - "README.md" - "RELEASE.md" -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs/doc \ - dev-python/sphinx-panels \ - dev-python/pydata-sphinx-theme \ - dev-python/sphinx-multiversion - -python_prepare_all() { - # move docs into workdir - mv ../spyder-docs-${DOCS_PV}* docs || die - - # these dependencies are packaged separately: - # dev-python/spyder-kernels, - # dev-python/python-language-server, - # dev-python/qdarkstyle - rm -r external-deps/* || die - # runs against things packaged in external-deps dir - rm conftest.py || die - - # Use the spyder fork of pyls (python-lsp-server instead of python-language-server) - # The original hasn't been update in over 6 months, and spyder upstream is slow - # in making the switch. Because we are running into issues with outdated deps - # and a whole dependency mess as a result, we can no longer wait for upstream. - find . -name "*.py" -exec sed -i \ - -e 's/pyls/pylsp/g' \ - -e 's/pylsp-spyder/pyls-spyder/g' \ - -e 's/pylsp_spyder/pyls_spyder/g' \ - -e 's/pylsp-black/python-lsp-black/g' \ - -e 's/pyls-spyder>=0.3.2,<0.4.0/pyls-spyder>=0.4.0/g' \ - -e 's/>=0.3.2;<0.4.0/>=0.4.0/g' \ - {} + || die - - # Do not depend on pyqt5<5.13, this dependency is carried by QtPy[pyqt5] - # Do not depend on pyqtwebengine<5.13, this dependency is carried by QtPy[webengine] - # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server - # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder - # The explicit version requirements only make things more complicated, if e.g. - # pyls-spyder gains compatibility with a newer version of python-lsp-server - # in a new release it will take time for this information to propagate into - # the next spyder release. So just remove the dependency and let the other - # ebuilds handle the version requirements to speed things up and prevent - # issues such as Bug 803269. - sed -i \ - -e '/pyqt5/d' \ - -e '/pyqtwebengine/d' \ - -e '/python-language-server/d' \ - -e '/python-lsp-server/d' \ - -e '/parso/d' \ - -e '/jedi/d' \ - -e '/pylint/d' \ - requirements/conda.txt || die - sed -i \ - -e "/'pyqt5[ 0-9<=>.,]*',/d" \ - -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ - -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ - -e "/'python-language-server\[all\][ 0-9<=>.,]*',/d" \ - -e "/'parso[ 0-9<=>.,]*',/d" \ - -e "/'jedi[ 0-9<=>.,]*',/d" \ - -e "/'pylint[ 0-9<=>.,]*',/d" \ - setup.py || die - sed -i \ - -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ - -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ - -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ - -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ - spyder/dependencies.py || die - - # do not check deps, fails because we removed pyqt5 dependency above - sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ - spyder/tests/test_dependencies_in_sync.py || die - - # can't check for update, need network - rm spyder/workers/tests/test_update.py || die - - # skip online test - rm spyder/widgets/github/tests/test_github_backend.py || die - - distutils-r1_python_prepare_all -} - -# Calling pytest directly makes the tests freeze after completing even if successful -# Exit code is nonzero even upon success, so can't add || die here test results -# should be checked for success manually -python_test() { - "${EPYTHON}" runtests.py -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib - optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas - optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy - optfeature "Symbolic mathematics in the IPython console" dev-python/sympy - optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy - optfeature "Run Cython files in the IPython console" dev-python/cython - optfeature "The hdf5/h5py plugin" dev-python/h5py - optfeature "The line profiler plugin" dev-python/spyder-line-profiler - optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler - # spyder-autopep8 does not have a release (yet) - # and are not compatible with >=spyder-4.0.0 at the moment - # optfeature "The autopep8 plugin" dev-python/spyder-autopep8 - optfeature "Vim key bindings" dev-python/spyder-vim - optfeature "Unittest support" dev-python/spyder-unittest - optfeature "Jupyter notebook support" dev-python/spyder-notebook - optfeature "System terminal inside spyder" dev-python/spyder-terminal - # spyder-reports not yet updated to >=spyder-4.0.0 - # optfeature "Markdown reports using Pweave" dev-python/spyder-reports -} diff --git a/dev-python/spyder/spyder-5.1.5-r2.ebuild b/dev-python/spyder/spyder-5.1.5-r2.ebuild deleted file mode 100644 index aa1553fe84eb..000000000000 --- a/dev-python/spyder/spyder-5.1.5-r2.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit optfeature xdg distutils-r1 - -# Commit of documentation to fetch -DOCS_PV="a3a579ce6e7e42c9d9bbd88ac4e76650b7093e5c" - -DESCRIPTION="The Scientific Python Development Environment" -HOMEPAGE=" - https://www.spyder-ide.org/ - https://github.com/spyder-ide/spyder/ - https://pypi.org/project/spyder/ -" -SRC_URI=" - https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# The test suite often hangs or does not work. Technically spyder requires -# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason -# many of the tests fail or hang. RESTRICTing because IMO it is not worth the -# several hours I spend every single version bump checking which tests do and -# do not work. Spyder itself works fine with pyqt5>13. -RESTRICT="test" - -RDEPEND=" - >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] - >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] - >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] - >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] - >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] - >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] - >=dev-python/psutil-5.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] - >=dev-python/python-lsp-black-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - ~dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}] - >=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}] - >=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}] - >=dev-python/qtconsole-5.1.0[${PYTHON_USEDEP}] - >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},pyqt5(+),svg,webengine] - >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] - >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] - >=dev-python/spyder-kernels-2.1.1[${PYTHON_USEDEP}] - <dev-python/spyder-kernels-2.2.0[${PYTHON_USEDEP}] - >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] - >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] - >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[tk,${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-ordering[${PYTHON_USEDEP}] - <dev-python/pytest-qt-4[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - )" - -# Based on the courtesy of Arfrever -# This patch removes a call to update-desktop-database during build -# This fails because access is denied to this command during build -PATCHES=( - "${FILESDIR}/${PN}-5.0.0-build.patch" - "${FILESDIR}/${PN}-5.0.1-doc-theme-renamed.patch" -) - -DOCS=( - "AUTHORS.txt" - "Announcements.md" - "CHANGELOG.md" - "CODE_OF_CONDUCT.md" - "CONTRIBUTING.md" - "NOTICE.txt" - "README.md" - "RELEASE.md" -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs/doc \ - dev-python/sphinx-panels \ - dev-python/pydata-sphinx-theme \ - dev-python/sphinx-multiversion - -python_prepare_all() { - # move docs into workdir - mv ../spyder-docs-${DOCS_PV}* docs || die - - # these dependencies are packaged separately: - # dev-python/spyder-kernels, - # dev-python/python-lsp-server, - # dev-python/qdarkstyle - rm -r external-deps/* || die - # runs against things packaged in external-deps dir - rm conftest.py || die - - # Do not depend on pyqt5<5.13, this dependency is carried by QtPy[pyqt5] - # Do not depend on pyqtwebengine<5.13, this dependency is carried by QtPy[webengine] - # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server - # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder - # The explicit version requirements only make things more complicated, if e.g. - # pyls-spyder gains compatibility with a newer version of python-lsp-server - # in a new release it will take time for this information to propagate into - # the next spyder release. So just remove the dependency and let the other - # ebuilds handle the version requirements to speed things up and prevent - # issues such as Bug 803269. - sed -i \ - -e '/pyqt5/d' \ - -e '/pyqtwebengine/d' \ - -e '/python-lsp-server/d' \ - -e '/parso/d' \ - -e '/jedi/d' \ - -e '/pylint/d' \ - requirements/conda.txt || die - sed -i \ - -e "/'pyqt5[ 0-9<=>.,]*',/d" \ - -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ - -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ - -e "/'parso[ 0-9<=>.,]*',/d" \ - -e "/'jedi[ 0-9<=>.,]*',/d" \ - -e "/'pylint[ 0-9<=>.,]*',/d" \ - setup.py || die - sed -i \ - -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ - -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ - -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ - -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ - -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \ - spyder/dependencies.py || die - - # do not check deps, fails because we removed pyqt5 dependency above - sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ - spyder/tests/test_dependencies_in_sync.py || die - - # can't check for update, need network - rm spyder/workers/tests/test_update.py || die - - # skip online test - rm spyder/widgets/github/tests/test_github_backend.py || die - - distutils-r1_python_prepare_all -} - -# Calling pytest directly makes the tests freeze after completing even if successful -# Exit code is nonzero even upon success, so can't add || die here test results -# should be checked for success manually -python_test() { - "${EPYTHON}" runtests.py -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib - optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas - optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy - optfeature "Symbolic mathematics in the IPython console" dev-python/sympy - optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy - optfeature "Run Cython files in the IPython console" dev-python/cython - optfeature "The hdf5/h5py plugin" dev-python/h5py - optfeature "The line profiler plugin" dev-python/spyder-line-profiler - optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler - # spyder-autopep8 does not have a release (yet) - # and are not compatible with >=spyder-4.0.0 at the moment - # optfeature "The autopep8 plugin" dev-python/spyder-autopep8 - optfeature "Vim key bindings" dev-python/spyder-vim - optfeature "Unittest support" dev-python/spyder-unittest - optfeature "Jupyter notebook support" dev-python/spyder-notebook - optfeature "System terminal inside spyder" dev-python/spyder-terminal - # spyder-reports not yet updated to >=spyder-4.0.0 - # optfeature "Markdown reports using Pweave" dev-python/spyder-reports -} diff --git a/dev-python/warlock/warlock-1.3.3-r2.ebuild b/dev-python/warlock/warlock-1.3.3-r2.ebuild index 10f188a91680..e737a368d602 100644 --- a/dev-python/warlock/warlock-1.3.3-r2.ebuild +++ b/dev-python/warlock/warlock-1.3.3-r2.ebuild @@ -29,3 +29,8 @@ EPYTEST_DESELECT=( # (its only dep) does not seem to be affected tests/test_core.py::TestCore::test_recursive_models ) + +src_prepare() { + sed -i -e '/--cov/d' pytest.ini || die + distutils-r1_src_prepare +} |
