diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-23 01:41:06 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-23 01:41:06 +0000 |
| commit | 871e0dffa8e0be91d5982e72f574c781113677e0 (patch) | |
| tree | 370a597f394eb78bf6bd3eb0e185adff51ad43f4 /dev-python | |
| parent | 989919d63288d980987d2a156dfdd7480e2ee374 (diff) | |
| download | baldeagleos-repo-871e0dffa8e0be91d5982e72f574c781113677e0.tar.gz baldeagleos-repo-871e0dffa8e0be91d5982e72f574c781113677e0.tar.xz baldeagleos-repo-871e0dffa8e0be91d5982e72f574c781113677e0.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
20 files changed, 436 insertions, 7 deletions
diff --git a/dev-python/asgiref/Manifest b/dev-python/asgiref/Manifest index a97fd0db9b55..74a1de0fdde1 100644 --- a/dev-python/asgiref/Manifest +++ b/dev-python/asgiref/Manifest @@ -1 +1,2 @@ DIST asgiref-3.4.1.tar.gz 32529 BLAKE2B 4b5f3b33e165468d71711cf28a5a6161866cd7495140cb67ff028aba5a2586414783d2fa7ce744e99e269714d9d64a019a67c852fd4546ba1f71625473010b9f SHA512 af266fc3eac58c21f2ab3f66e522067388f9cf232b17344fb5afbc408c034e61a1cce02362ec5dc494985beef099800f75cf7de28dc057c45e4bcb973b0a6dbe +DIST asgiref-3.5.0.tar.gz 31920 BLAKE2B 3471e799da0ba5cd8640612d0ff04e480d6c431a44c1e94419cdfc3a029c83ffe53aa561952fcf9c0df4a5ec71282afd8f4c665b49c408306f8f7026e0a0023c SHA512 3fa48002bffd953f3ff8bc33e5604955ee83fbfc09cae171b95d57773378ada554342f2af58a4a04025a070cd2ec5a6b1bd5a8b18a5c5b87b2b510bbb2036e57 diff --git a/dev-python/asgiref/asgiref-3.5.0.ebuild b/dev-python/asgiref/asgiref-3.5.0.ebuild new file mode 100644 index 000000000000..817dc193d7e3 --- /dev/null +++ b/dev-python/asgiref/asgiref-3.5.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="ASGI utilities (successor to WSGI)" +HOMEPAGE=" + https://asgi.readthedocs.io/en/latest/ + https://github.com/django/asgiref/ + https://pypi.org/project/asgiref/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/cftime/Manifest b/dev-python/cftime/Manifest index ff51fd4a60f4..db1fbab10d90 100644 --- a/dev-python/cftime/Manifest +++ b/dev-python/cftime/Manifest @@ -1 +1,2 @@ DIST cftime-1.5.1.tar.gz 46036 BLAKE2B 64a4af4bc8bf29624812ca24a8fe0cdc8885f6f46fc63a69587125c88b968f6ab5d40ad332dd6bd6881fbef8b2067c2ff436efb32876b77ab74037ae2900f7f3 SHA512 d75673526d5c831fe32f4b432c943a289491cc2c3af3258c8aa91f9633055d5fe36f4c7b7c2fdb5bbfb02f3a9138b020316fe53509d07116481dee0663e82de7 +DIST cftime-1.5.2.tar.gz 46415 BLAKE2B d47d7483de2450a32d126cce3ed7be7926e91ac5138be6ad3efdc8b88ce088ffd195adc8faf538a7ddeda8427596f89245c9c7e485623066398e6a69aa686d5b SHA512 4fb23aef4dbf7f8f732f95120b992d822acb79cbfe5b23521ae33da891aa17a919b6f36555a522c3d5a4ed060f247919d74525262eecf48d4a5a3f072358e907 diff --git a/dev-python/cftime/cftime-1.5.2.ebuild b/dev-python/cftime/cftime-1.5.2.ebuild new file mode 100644 index 000000000000..ab2229c05472 --- /dev/null +++ b/dev-python/cftime/cftime-1.5.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020-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} ) +inherit distutils-r1 + +DESCRIPTION="Time-handling functionality from netcdf4-python" +HOMEPAGE="https://pypi.org/project/cftime/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +DEPEND=">=dev-python/numpy-1.13.4[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-python/cython-0.26.2[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e "/--cov/d" setup.cfg || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/gphoto2/Manifest b/dev-python/gphoto2/Manifest index 4d4e3e5d67b0..ff1c2748f510 100644 --- a/dev-python/gphoto2/Manifest +++ b/dev-python/gphoto2/Manifest @@ -1,2 +1,2 @@ -DIST python-gphoto2-2.3.0.tar.gz 979449 BLAKE2B 673187bac01ee6b47de6be347693dc7a2cc797eba9a60c6652a32abcb2bdfb1ba94e71f9594722b069249b3cab559a1db0844e96570b51204d0332d7ed9c14ac SHA512 2e4da328ed5e7fd82a87b77331fd7bf5d800c7d11eb1818b337a4d7363eb2d6bc04e0cdcd1dd26a555f2e24f25ec1fe07ee749778a824052cb904e0e07ba998d DIST python-gphoto2-2.3.1.tar.gz 555377 BLAKE2B aecc740788fee210112c57c453fbbd963c564f87d5153971145a8ee0e8383c8a88c206283b10c464291e4bb628e119411b68bffaa86ac80b1611994f4af944e4 SHA512 ed4fbde016aef2011e451c36ed015b37a4e934efe00c17d215bc91921a037990636d3582e633049464153548e56b9c968300a2364959af05a7346f344cea566f +DIST python-gphoto2-2.3.2.tar.gz 555415 BLAKE2B b13676f8ebd8cf976e26ad01d94bac1b9c35356d6d8eadecde40342b3b4b0e9b0abb6e6790ffbc2c912f130ad54be55ebd0307d1b06a386f73b966888ee9392a SHA512 70b32c6b67f66f2adba71a9ef6dfb7ac745082ab5153525a01eba00aa3b6c86953138963f67344db841a614415de16e51ca2eb0aa7194fd9aa18bd981b7b46f7 diff --git a/dev-python/gphoto2/gphoto2-2.3.0.ebuild b/dev-python/gphoto2/gphoto2-2.3.2.ebuild index 57510111475e..ac8068b26361 100644 --- a/dev-python/gphoto2/gphoto2-2.3.0.ebuild +++ b/dev-python/gphoto2/gphoto2-2.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2022 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/ipyparallel/ipyparallel-8.1.0-r1.ebuild b/dev-python/ipyparallel/ipyparallel-8.1.0-r1.ebuild new file mode 100644 index 000000000000..3825473e4d49 --- /dev/null +++ b/dev-python/ipyparallel/ipyparallel-8.1.0-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 optfeature + +DESCRIPTION="Interactive Parallel Computing with IPython" +HOMEPAGE="https://ipyparallel.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/entrypoints[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/pyzmq-18[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.3[${PYTHON_USEDEP}] + >=dev-python/ipython-4[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + dev-python/jupyter_server[${PYTHON_USEDEP}] + >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + >=www-servers/tornado-5.1[${PYTHON_USEDEP}] + " +BDEPEND="${RDEPEND} + test? ( + dev-python/ipython[test] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-tornado[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) + " + +# TODO: package myst_parser +# distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch +) + +python_test() { + local deselect=( + # we don't run a mongo instance for tests + ipyparallel/tests/test_mongodb.py::TestMongoBackend + # TODO + ipyparallel/tests/test_util.py::test_disambiguate_ip + ipyparallel/tests/test_view.py::TestView::test_temp_flags + ipyparallel/tests/test_view.py::TestView::test_unicode_apply_arg + ipyparallel/tests/test_view.py::TestView::test_unicode_apply_result + ipyparallel/tests/test_view.py::TestView::test_unicode_execute + ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet + # Gets upset that a timeout _doesn't_ occur, presumably because + # we're cranking up too many test timeouts. Oh well. + # bug #823458#c3 + ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send + # We could patch the timeout for these too but they're going to be inherently + # fragile anyway based on what they do. + ipyparallel/tests/test_client.py::TestClient::test_activate + ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets + ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines + ) + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # failing due to irrelevant warnings + ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning + ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match + ) + epytest ${deselect[@]/#/--deselect } +} + +python_install_all() { + distutils-r1_python_install_all + # move /usr/etc stuff to /etc + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + optfeature "Jupyter Notebook integration" dev-python/notebook +} diff --git a/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild index 213ceb325050..5cc90dc7c674 100644 --- a/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild +++ b/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/libarchive-c/Manifest b/dev-python/libarchive-c/Manifest index 403767c9fef7..d7a9f3981b60 100644 --- a/dev-python/libarchive-c/Manifest +++ b/dev-python/libarchive-c/Manifest @@ -1 +1,2 @@ DIST libarchive-c-3.2.tar.gz 44896 BLAKE2B 9e984c8e23422ceb552d34d4560b2c8279e1c2d52ffedcc893af3a1a8420eb03b735058d2f8dbe542f3920d0f0bf53777f0679a238cc0368e8e680c44358a72c SHA512 d11a7da0e592b7fce5044b9ff2930e50004c15b166a76f7871b9d0d584cb6da5989c4ec79969439b00baffa564738af607cdf5e37141c6e879b8a76ae68c325c +DIST libarchive-c-4.0.gh.tar.gz 47743 BLAKE2B c6246b35a9a389c6cd999b32412436f8134737a4cba1c0bf8a905e3ba6e1653c515956f43a580901dd4278cbc00b783ecfa7a4306f0fc7ca2d2666b3af500cb8 SHA512 787b049a5f06d7370369a6bb2d9ebab6e4e5eda0a4f839906e205a7e19a00f9f7e350d4c42e3434e345063dd0ea44e5b0b4c0524033b05a6d8f15758757c5c36 diff --git a/dev-python/libarchive-c/libarchive-c-4.0.ebuild b/dev-python/libarchive-c/libarchive-c-4.0.ebuild new file mode 100644 index 000000000000..68766ad97dc4 --- /dev/null +++ b/dev-python/libarchive-c/libarchive-c-4.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 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="A Python interface to libarchive" +HOMEPAGE="https://github.com/Changaco/python-libarchive-c/ https://pypi.org/project/libarchive-c/" +SRC_URI=" + https://github.com/Changaco/python-libarchive-c/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}"/python-${P} + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND="app-arch/libarchive" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/nbconvert/nbconvert-6.4.0.ebuild b/dev-python/nbconvert/nbconvert-6.4.0-r1.ebuild index 90e875f7bb2f..bfd6907b29fd 100644 --- a/dev-python/nbconvert/nbconvert-6.4.0.ebuild +++ b/dev-python/nbconvert/nbconvert-6.4.0-r1.ebuild @@ -21,7 +21,8 @@ RDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] dev-python/jupyter_core[${PYTHON_USEDEP}] dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] - >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] + >=dev-python/mistune-0.8.1[${PYTHON_USEDEP}] + <dev-python/mistune-2[${PYTHON_USEDEP}] dev-python/nbclient[${PYTHON_USEDEP}] dev-python/nbformat[${PYTHON_USEDEP}] >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index 250378b0f3da..f9d0d2479f80 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -1,3 +1,4 @@ DIST pandas-1.3.3.tar.gz 4730758 BLAKE2B 0ef945b2181329265b93fbdb7f9c35497ef847508cc2166b6e2a12ad1a2faa3940d5c8f375754ec34db4e236934a1f903f1e58e6882c6de0018a16b38f50f136 SHA512 a3a871a9954c7249311b9904e588d85fba4d6aa07463308b08b789b93a1eb63e36dac1b0d4254a5379085c05c5633ef31b615d0c60963c796dd7a33d815a5534 DIST pandas-1.3.4.tar.gz 4734599 BLAKE2B a71b5b57198defcf4f6d848f445c7112668994f089b62a6bce1028ab4ba8a9bf3adc3c393699332fb0c76818ed80164843114e68e57232c495cee03ec5e88009 SHA512 c821365b1f06d69c61b957c4768a5f86b39d97d74b0732ea0eaade9d21bca8f652e38f91f83adf2fc6488f227c75d4e5e64e8f131456e7f0a93ecfcf237190a6 DIST pandas-1.3.5.tar.gz 4736591 BLAKE2B 7c7de1485028d7c610c5a23ca1cc98551b24e824b609b7a624469f2471bb8d3984a25db48ab7413aa7cdd0057c5c5c9f1eb2b59cfc5cbf6d30177e12e2acc7b3 SHA512 cf3f76894cae19784af6393d4a575d114b55621a3d594edd7e95ac6d5c8588a580135789c859c618acfeceeb710d2a1fdd94188a839a90be6b58af929e00a726 +DIST pandas-1.4.0.tar.gz 4935046 BLAKE2B f579abe78812d9c155c2d08708f6b46ac7363d351a750cc5b2017aa641f5307ae0baa7de57866dbefe74790133d2219d6742cb6f015f8a360365cf30345a0b44 SHA512 800909c4e80ab50391e22bf67ccd78532730e200bc58ffc32d4a6b9e37522a90e2ed486a02f67a4df1e28fa531c075e0caadc2c8a06b8a06c7f2ef466a371489 diff --git a/dev-python/pandas/files/pandas-1.4.0-distutils-hack-assertion.patch b/dev-python/pandas/files/pandas-1.4.0-distutils-hack-assertion.patch new file mode 100644 index 000000000000..4842de94311f --- /dev/null +++ b/dev-python/pandas/files/pandas-1.4.0-distutils-hack-assertion.patch @@ -0,0 +1,14 @@ +diff --git a/pandas/util/_print_versions.py b/pandas/util/_print_versions.py +index 289900c473..91d518d1ab 100644 +--- a/pandas/util/_print_versions.py ++++ b/pandas/util/_print_versions.py +@@ -60,8 +60,8 @@ def _get_dependency_info() -> dict[str, JSONSerializable]: + "pytz", + "dateutil", + # install / build, +- "pip", + "setuptools", ++ "pip", + "Cython", + # test + "pytest", diff --git a/dev-python/pandas/pandas-1.4.0.ebuild b/dev-python/pandas/pandas-1.4.0.ebuild new file mode 100644 index 000000000000..9cbfad7f5774 --- /dev/null +++ b/dev-python/pandas/pandas-1.4.0.ebuild @@ -0,0 +1,187 @@ +# 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} ) +PYTHON_REQ_USE="threads(+)" + +VIRTUALX_REQUIRED="manual" + +inherit distutils-r1 multiprocessing optfeature virtualx + +DESCRIPTION="Powerful data structures for data analysis and statistics" +HOMEPAGE="https://pandas.pydata.org/ https://github.com/pandas-dev/pandas/" +SRC_URI=" + https://github.com/pandas-dev/pandas/releases/download/v${PV}/${P}.tar.gz" +S="${WORKDIR}/${P/_/}" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="doc full-support minimal test X" +RESTRICT="!test? ( test )" + +RECOMMENDED_DEPEND=" + >=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.7.0[${PYTHON_USEDEP}] +" + +# TODO: add pandas-gbq to the tree +OPTIONAL_DEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/blosc[${PYTHON_USEDEP}] + || ( + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + || ( + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/xlsxwriter[${PYTHON_USEDEP}] + ) + >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] + >=dev-python/xarray-0.12.3[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] + >=dev-python/xlrd-1.2.0[${PYTHON_USEDEP}] + >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] + !hppa? ( + dev-python/statsmodels[${PYTHON_USEDEP}] + >=dev-python/scipy-1.1[${PYTHON_USEDEP}] + ) + X? ( + || ( + dev-python/PyQt5[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) + ) +" +COMMON_DEPEND=" + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1-r3[${PYTHON_USEDEP}] + >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND} + >=dev-python/cython-0.29.24[${PYTHON_USEDEP}] + doc? ( + ${VIRTUALX_DEPEND} + app-text/pandoc + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbsphinx[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] + >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/rpy[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/xlrd[${PYTHON_USEDEP}] + dev-python/xlwt[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + x11-misc/xclip + ) + test? ( + ${VIRTUALX_DEPEND} + ${RECOMMENDED_DEPEND} + ${OPTIONAL_DEPEND} + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.5.3[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pymysql[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.31[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] + dev-python/xlsxwriter[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) +" +# dev-python/statsmodels invokes a circular dep +# hence rm from doc? ( ), again +RDEPEND="${COMMON_DEPEND} + !minimal? ( ${RECOMMENDED_DEPEND} ) + full-support? ( ${OPTIONAL_DEPEND} ) +" + +python_prepare_all() { + local PATCHES=( + # https://github.com/pandas-dev/pandas/issues/44980 + "${FILESDIR}"/${P}-distutils-hack-assertion.patch + ) + + # Prevent un-needed download during build + sed -e "/^ 'sphinx.ext.intersphinx',/d" \ + -i doc/source/conf.py || die + + # requires package installed + sed -e '/extra_compile_args =/s:"-Werror"::' \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile -j1 +} + +python_compile_all() { + # To build docs the need be located in $BUILD_DIR, + # else PYTHONPATH points to unusable modules. + if use doc; then + cd "${BUILD_DIR}"/lib || die + cp -ar "${S}"/doc . && cd doc || die + LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # test for rounding errors, fails if we have better precision + # e.g. on amd64 with FMA or on arm64 + # https://github.com/pandas-dev/pandas/issues/38921 + pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues + + # TODO + pandas/tests/api/test_api.py::TestTesting::test_util_testing_deprecated + pandas/tests/api/test_api.py::TestTesting::test_util_testing_deprecated_direct + ) + + local -x LC_ALL=C.UTF-8 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die + virtx epytest pandas --skip-slow --skip-network -m "not single" \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +python_install_all() { + if use doc; then + dodoc -r "${BUILD_DIR}"/lib/doc/build/html + einfo "An initial build of docs is absent of references to statsmodels" + einfo "due to circular dependency. To have them included, emerge" + einfo "statsmodels next and re-emerge pandas with USE doc" + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck + optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" + optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml + optfeature "for msgpack compression using blosc" dev-python/blosc + optfeature "Template engine for conditional HTML formatting" dev-python/jinja + optfeature "Plotting support" dev-python/matplotlib + optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.0" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt + optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" + optfeature "R I/O support" dev-python/rpy + optfeature "Needed for parts of pandas.stats" dev-python/statsmodels + optfeature "SQL database support" ">=dev-python/sqlalchemy-1.3.0" + optfeature "miscellaneous statistical functions" dev-python/scipy + optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/pygtk x11-misc/xclip x11-misc/xsel +} diff --git a/dev-python/progressbar/progressbar-2.5.ebuild b/dev-python/progressbar/progressbar-2.5.ebuild index e6983be0bdc4..8da0234e9095 100644 --- a/dev-python/progressbar/progressbar-2.5.ebuild +++ b/dev-python/progressbar/progressbar-2.5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index 01ed53e73ece..6f578b8e29f7 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pulsectl/pulsectl-22.1.1.ebuild b/dev-python/pulsectl/pulsectl-22.1.1.ebuild new file mode 100644 index 000000000000..834d40c39f8f --- /dev/null +++ b/dev-python/pulsectl/pulsectl-22.1.1.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/python-socks/Manifest b/dev-python/python-socks/Manifest index 3f446c05a092..045ec93ff4c9 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -2,3 +2,4 @@ DIST python-socks-1.2.4.gh.tar.gz 32192 BLAKE2B fa06f9158348292bef874c81623c11a5 DIST python-socks-2.0.0.gh.tar.gz 38176 BLAKE2B 84711bd6747dd9ef8d7f47d90e7e1beeb99db7c51a370c01a272789e7d5356cdf3d0e3b1e822e1beb88a29ebbe23acac8f68206cf7a3f8b924f79d3783426f93 SHA512 088a606ca6e13de79cfa8b180d76e91cca129b3e1ffad2243e5924dc10530340924ea815eb9af0e53b5369daa9cf3e66b2f623da6913ed32916b91d24a47c1e4 DIST python-socks-2.0.1.gh.tar.gz 40710 BLAKE2B 185131be6e2ef85e3d1cb41ff03e57c1d3e8921c04d11df4d3e1d3c7ed6f3cd10459730d0cc5ad63981dcfe0f8cd987f0f287a70f6727727550d63c0ff6040bc SHA512 08afe55b9a5e8d1c0aa5150511e7d3918fd8c6da10bb80037baa4f3c8004fa9e50b30ce7bda26e73f77208b64cb85544029ffd2edf197f6a23614b3c7f56114b DIST python-socks-2.0.2.gh.tar.gz 40722 BLAKE2B cfcb3bf26ad9b306ea74ede172d4c8e7cf5412c1e212fb2b806e61bd5fa085c53c47a5846105bc84e9a197198f00d85689dee55c97c691cd1b8b48bad56cc449 SHA512 fac699e2d5898553cfb0045990e5f56c16f910a5434a2e5f9c549872761835170ad7e505833f1cbc4b31cba864c1c0dddc95a530c5b0a7c2002afe0766dd6029 +DIST python-socks-2.0.3.gh.tar.gz 40697 BLAKE2B c1e6f72763d1bd767af78ea1188e411814a6d41f703488dd67165d5a9b9ce1e2f9070b35a46cd72859b65c10519cdb02c91d1702a97c2d82cb5891b46187d02a SHA512 9d51e61d03b4a46e94a66fc037ac759715db2e2c5d631aaf6088a0363ad13140c00da44a513088a40c0f149b9d4ee2bb4165f59f76c3956f0aede8104772fc5d diff --git a/dev-python/python-socks/python-socks-2.0.3.ebuild b/dev-python/python-socks/python-socks-2.0.3.ebuild new file mode 100644 index 000000000000..9fe25cf66239 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2020-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="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://pypi.org/project/python-socks/ + https://github.com/romis2012/python-socks/" +SRC_URI=" + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +# curio is not packaged +# asyncio is the only backend we have, so dep on its deps unconditionally +# TODO: revisit +RDEPEND="dev-python/async_timeout[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ' 'python*') + dev-python/async_timeout[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/yarl[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/stack_data/stack_data-0.1.3-r1.ebuild b/dev-python/stack_data/stack_data-0.1.3-r1.ebuild index a8b5dbffed05..cae3fb886085 100644 --- a/dev-python/stack_data/stack_data-0.1.3-r1.ebuild +++ b/dev-python/stack_data/stack_data-0.1.3-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~riscv" RDEPEND="dev-python/asttokens[${PYTHON_USEDEP}] dev-python/executing[${PYTHON_USEDEP}] |
