diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-17 08:06:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-17 08:06:37 +0000 |
commit | e74bddc195533f6d160ee96220f5cfcc205bda1c (patch) | |
tree | 147bf202fd80bf604f6d289e985630f30b5a8438 /dev-python | |
parent | 20c23c152d2e7b44a6f93ec9476b808659e5ff1e (diff) |
gentoo auto-resync : 17:01:2024 - 08:06:37
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 269280 -> 269284 bytes | |||
-rw-r--r-- | dev-python/hatch-jupyter-builder/Manifest | 2 | ||||
-rw-r--r-- | dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild | 4 | ||||
-rw-r--r-- | dev-python/jupyter-server/Manifest | 2 | ||||
-rw-r--r-- | dev-python/jupyter-server/jupyter-server-2.12.4.ebuild | 2 | ||||
-rw-r--r-- | dev-python/mpi4py/Manifest | 3 | ||||
-rw-r--r-- | dev-python/mpi4py/files/mpi4py-3.1.5-test_memory.testReadOnly.patch | 33 | ||||
-rw-r--r-- | dev-python/mpi4py/mpi4py-3.1.5.ebuild | 70 | ||||
-rw-r--r-- | dev-python/pytest-salt-factories/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild | 4 |
10 files changed, 114 insertions, 8 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 867efc9ade9b..1ac832a5c240 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/hatch-jupyter-builder/Manifest b/dev-python/hatch-jupyter-builder/Manifest index bd9be06317b0..0787feec1131 100644 --- a/dev-python/hatch-jupyter-builder/Manifest +++ b/dev-python/hatch-jupyter-builder/Manifest @@ -1,3 +1,3 @@ DIST hatch_jupyter_builder-0.8.3.tar.gz 54754 BLAKE2B d64a90ba0e06dbbcfa3f2d27d88185f68bc6cadd885fd3691e01d129cb1d73d62efd2d230fe80dd2d8d1323b5efa4d3208f099663b2ed082a196a1b8fc39412e SHA512 c4dc0605338bafeeba21cc7260005815654d3e4646296d91af6fb3199be8645a06b2226608e6b0558ee01c7eed682162eefcf686a7e20636031b95c3a11ae265 -EBUILD hatch-jupyter-builder-0.8.3.ebuild 795 BLAKE2B 56dc588cc454859973b04ff2daf2481d88ba3a0926d4cdbfb0c08200bc07309ce5c522f9592782b0f58594332c070f83134952f382fbfeaacaeeab0fc59a4d06 SHA512 381efeca1a097080d3b025baf82bdeb92bf5a71333c678358cf3499ef15cf512bbff2a94bdcefdcf2b90aa9a8722432e378d3171b3ece7bf88c9146b905d1dec +EBUILD hatch-jupyter-builder-0.8.3.ebuild 800 BLAKE2B 026285e93bc8631478a2dee95589084b782a16b47d94612fdaa7d4808b221cfeb712650a7f98000626a0f4812a9c5d86f8cf8dd22afbcff614776b3e2cefa519 SHA512 930e9123444eace59011455204db478dc9beaaa2a5e9aee1ecafb3c58f980f7bdc9c3dba16bc0eda32673aabce518dd85b97febb79cc221e8aaee6d7c42348a6 MISC metadata.xml 434 BLAKE2B 4891ed3bf24cb6255d2edb5a9ea9203ea43c807cda50963e25cc6527caa20e1308271f1b5cbb246582491814db6e1743e083871ac044511eb5a5fd269288b623 SHA512 a9b103c28eac7767473c2499b9eeefb8796206b2d913bbd35ceb5ff30fbc16881b018d851381400bb0d544e9c9b710907ff52e17deb63a08440eec926c6633e0 diff --git a/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild b/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild index 50837c398d11..561052e9df18 100644 --- a/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild +++ b/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/hatchling[${PYTHON_USEDEP}] diff --git a/dev-python/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index 39a52fc839c6..7f10d5ba06ad 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -8,7 +8,7 @@ DIST jupyter_server-2.9.1.tar.gz 709013 BLAKE2B dee0de771bb8488cccaecb49e2b4a200 EBUILD jupyter-server-2.12.1.ebuild 2330 BLAKE2B a05dea72d9ed2cd2d25a018dbd2b6c1acbb00fe0872430a7ae68484821de889b187e4813f8431807728fc9f5e89cf33e6e63b026067e1a4138bf44903343d7f9 SHA512 df5f250706b077d17e79cc2705389ffee674e23a26eb62c8029d2d1764cb2ff6530f7200457a682d304caaa739a9e374867e09f6b6b47737ba002064f4bb45b9 EBUILD jupyter-server-2.12.2.ebuild 2336 BLAKE2B 6ed26551adb95e644f1aaf936597667068b25d52e23d608f38b2f105d16d2341af20815219207f8a7abac740131dc211c80f60b4ec15881ee70bf8bb157e4e13 SHA512 50939cccfe5e4d4c50b18f3102544d14f00c646cc4677458134901e75e75c6aa75d71c0a21b15c9465ef03d154712119abe7d8c4f43b5130f6b27dcaa73c6a31 EBUILD jupyter-server-2.12.3.ebuild 2373 BLAKE2B 12cde81637a32b3f6aa087553aba50a4b4393e3340b436b491c6153b80756232ef26b0e82109baa822e555a2643833a66257d0687afc2adc4851229e88d9e767 SHA512 46492b7531710359d118be1be70bbdf0af56a034c5318c20b2b4bd2f5b48702301e943ab3e64ab77cbb0fbbe5fd662e792c8189263cfaad4480cd521a802f9f8 -EBUILD jupyter-server-2.12.4.ebuild 2373 BLAKE2B 12cde81637a32b3f6aa087553aba50a4b4393e3340b436b491c6153b80756232ef26b0e82109baa822e555a2643833a66257d0687afc2adc4851229e88d9e767 SHA512 46492b7531710359d118be1be70bbdf0af56a034c5318c20b2b4bd2f5b48702301e943ab3e64ab77cbb0fbbe5fd662e792c8189263cfaad4480cd521a802f9f8 +EBUILD jupyter-server-2.12.4.ebuild 2378 BLAKE2B 9e03110205da22836b68be085e2ead86b754af2750c8d716e18a42942823dad6493a0626b0e1706d57cb3cefd4edb311232dc15f7a86923dff697e02cadce195 SHA512 d9e077078ef29ed83aac299fb47753fe0d8343ca032a768f3c757ac2e14359289b70d471f21ccde8e74859f5d75ddd0260b0d2f0e7d4c1e0fe0bc14b695eade2 EBUILD jupyter-server-2.12.5.ebuild 2373 BLAKE2B 12cde81637a32b3f6aa087553aba50a4b4393e3340b436b491c6153b80756232ef26b0e82109baa822e555a2643833a66257d0687afc2adc4851229e88d9e767 SHA512 46492b7531710359d118be1be70bbdf0af56a034c5318c20b2b4bd2f5b48702301e943ab3e64ab77cbb0fbbe5fd662e792c8189263cfaad4480cd521a802f9f8 EBUILD jupyter-server-2.9.1.ebuild 2317 BLAKE2B f3d17d7ced1e9f225cb9f7314b5cd0d277e057491bde4ac3fd9cc12d62de327f34ba1d5f1bffddec92ff3bd9177753aface88c3a65a9a5483b9a033bc293b440 SHA512 27493c867819f34f97bc18f357d7d09938eb01f084ce3b009fecd8634315d4a4d3301454eb6dd0d63354dc2904539ee9a064af82759aabafd52eac4625db1d6a MISC metadata.xml 544 BLAKE2B ec5a0aea1d2ad6ce0e59972d2ef4ce62c03877d464dfdc34bcb94a7d01304c63761c6bc30ed973bba1f4100e25f70541bed4eea858deb44f359d0e373ae1ade0 SHA512 ffe7deb7349ce99890b902a225b73913185bfa860237dea8c1a508a6a5e84bbb74ca7a5c43253c9986f97fb3fd1e9f2bb63ca60f73953fcc851359df8adb5fbd diff --git a/dev-python/jupyter-server/jupyter-server-2.12.4.ebuild b/dev-python/jupyter-server/jupyter-server-2.12.4.ebuild index 47b4d4c54c22..9643cbf19836 100644 --- a/dev-python/jupyter-server/jupyter-server-2.12.4.ebuild +++ b/dev-python/jupyter-server/jupyter-server-2.12.4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/mpi4py/Manifest b/dev-python/mpi4py/Manifest index dc0ad5526139..4db8ed99d61c 100644 --- a/dev-python/mpi4py/Manifest +++ b/dev-python/mpi4py/Manifest @@ -1,3 +1,6 @@ +AUX mpi4py-3.1.5-test_memory.testReadOnly.patch 1197 BLAKE2B ede5e0a7185e507ccd22714ae422a99ec77beddb72293a1402d364545453faddeb9835577bcd68ea9accc36d37d9488811ea5e00e74ef458d63f8aa44407b89c SHA512 dff934a684cd3758dac721741cfe625a25930d3af00f9386047c4f2344ec56238aef6e6a7335a9cb33f348e312210525c41d2f5088c0e6e3d7e84cbd14fe7a0c DIST mpi4py-3.1.4.tar.gz 2493282 BLAKE2B e1a048e6053263f6685c549e2e6f96072b7d95db68595c8848d0ecdb0a6cadf2b102e4c4ce589053ed17a090335afc56f4b3630b60944aeac7e4bc4ad82d4a1b SHA512 f59ad765bc272f8b63f74cfde4e588f640c4fc3d47d05729509da45a2155f830c1d409ec716ff374756748fa8ebfa6e72f9fbe188a6b89ea3fa115740a532b08 +DIST mpi4py-3.1.5.tar.gz 2469777 BLAKE2B 0638e3def52f731b64e2999f83f2d6ccc94dc2f8b37d964c10e49ca12470d3d3ef77ff2737294d85614b2d59d1eec49880e74f2ba3d73fd090152b63c8cc701e SHA512 04da1d6daf66cc86fa3ec574eea6e01749f895035e3394afbc68d6245394c5b03557ede0bda3642b06d9c6ff2c1e6e878a6c8c30d3fa3491392e2e13b82cdec8 EBUILD mpi4py-3.1.4.ebuild 1520 BLAKE2B b62d397d02ef1996d627f73f50e54db13e83f6dec605fc67c5cb2a16aae404653252817375d56d43ad80f77c6b1cc336f45d257be9e678eb3d9a34a0462903b8 SHA512 c89e7b37be6c7a8c44c5be146c396e4c3334f23263299ccf402fe22a1b462f1cac2acbbf7845f5e1f1d2277947845109b47202579147cd0fd07b5e437e1b46ef +EBUILD mpi4py-3.1.5.ebuild 1713 BLAKE2B befea86ec8188a2b4a302cd3678f10195155288281f5c75fae24bf67460e5c0fc63de3b269d64a068ae21cf38dc80d529f069a2071cedb94b25b4e077ada9fb5 SHA512 aa0a06745d91dedc0f01f067c1b1a228266afcc654fd485b456942c7253c928adf927facdd140e601ba4853ba087995dc7294bde89f5b339c7722adb4f661a64 MISC metadata.xml 1229 BLAKE2B 1634ae0e35f9b9362e9b4eaf21443a1fe6c7fc54ec6e4cc5914695533a3563586371cde7b48e34dfcdad6dc5a89f49bec705e434e68353e93e122c272fa163f3 SHA512 d0892adce1d1b5253185a9b539d2dca2a0d4cc96ce7e6e5cfb0507a90fdc88d92d7c74fc6fc93e951872bcfad73d4071b403b7e4269081c55b18789f09b35226 diff --git a/dev-python/mpi4py/files/mpi4py-3.1.5-test_memory.testReadOnly.patch b/dev-python/mpi4py/files/mpi4py-3.1.5-test_memory.testReadOnly.patch new file mode 100644 index 000000000000..986e565588a0 --- /dev/null +++ b/dev-python/mpi4py/files/mpi4py-3.1.5-test_memory.testReadOnly.patch @@ -0,0 +1,33 @@ +https://github.com/mpi4py/mpi4py/pull/452 +From: Paul Zander <negril.nx+gentoo@gmail.com> + +From 3adbd69b7219525f32636552394935a0a770896d Mon Sep 17 00:00:00 2001 +From: Lisandro Dalcin <dalcinl@gmail.com> +Date: Mon, 15 Jan 2024 10:45:38 +0300 +Subject: [PATCH] fix: Fix implementation of MPI.buffer.toreadonly() + +--- + src/mpi4py/MPI/asbuffer.pxi | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/src/mpi4py/MPI/asbuffer.pxi b/src/mpi4py/MPI/asbuffer.pxi +index 15e06a1..6536c1f 100644 +--- a/src/mpi4py/MPI/asbuffer.pxi ++++ b/src/mpi4py/MPI/asbuffer.pxi +@@ -257,14 +257,12 @@ cdef class memory: + + def toreadonly(self) -> memory: + """Return a readonly version of the memory object""" +- cdef void *buf = self.view.buf +- cdef Py_ssize_t size = self.view.len + cdef object obj = self + if self.view.obj != NULL: + obj = <object>self.view.obj + cdef memory mem = memory.__new__(memory) +- PyBuffer_FillInfo(&mem.view, obj, +- buf, size, 1, PyBUF_SIMPLE) ++ PyMPI_GetBuffer(obj, &mem.view, PyBUF_SIMPLE) ++ mem.view.readonly = 1 + return mem + + def release(self) -> None: diff --git a/dev-python/mpi4py/mpi4py-3.1.5.ebuild b/dev-python/mpi4py/mpi4py-3.1.5.ebuild new file mode 100644 index 000000000000..b0a4789dda26 --- /dev/null +++ b/dev-python/mpi4py/mpi4py-3.1.5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Message Passing Interface for Python" +HOMEPAGE="https://github.com/mpi4py/mpi4py https://pypi.org/project/mpi4py/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + virtual/mpi +" +DEPEND="${RDEPEND} + test? ( + virtual/mpi[romio] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.1.5-test_memory.testReadOnly.patch" +) + +python_prepare_all() { + # not needed on install + rm -vr docs/source || die + rm test/test_pickle.py || die # disabled by Gentoo-bug #659348 + distutils-r1_python_prepare_all +} + +python_test() { + echo "Beginning test phase" + local -x PYTHONPATH="${BUILD_DIR}/install$(python_get_sitedir)" + + # python want's all arguments as separate strings + local mpi_opts=( + "-n" "1" + ) + # spawn is not stable in OpenMPI 4 + # https://github.com/jsquyres/ompi/pull/4#issuecomment-806897758 + # oob_tcp_if_include lo is needed to allow test in systemd-nspawn container + has_version sys-cluster/openmpi && mpi_opts+=( + "--use-hwthread-cpus" + "--mca" "btl" "tcp,self" + "--mca" "oob_tcp_if_include" "lo" + ) + mpiexec \ + "${mpi_opts[@]}" \ + "${PYTHON}" -B -v ./test/runtests.py -v \ + --exclude="test_msgspec" --exclude="test_spawn" || + die "Testsuite failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + use examples && local DOCS=( demo ) + distutils-r1_python_install_all +} diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 7f63da15c1c8..3d185e2fd71e 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -6,5 +6,5 @@ DIST pytest-salt-factories-1.0.0_rc28.gh.tar.gz 168150 BLAKE2B c286c2a3933f8a987 EBUILD pytest-salt-factories-1.0.0_rc20-r1.ebuild 2098 BLAKE2B f8100dc074e78206ce1da4f5a964de6f18be4c7fe1ad181c1101db5666d68532d4a65882bc62dd03e7e0e72ac6227337ce9e1467d3d348abbe8b4f684a5fca36 SHA512 be97b9ff2e501e8e9cc252482446aa00fbf253a9ee6e12c691fb9e14685c39eac710c96242d0f7c18f1ce4e068d7b61a3cc8e7f466a95512aad4c0b55fe43c8d EBUILD pytest-salt-factories-1.0.0_rc23.ebuild 2157 BLAKE2B 484a02515c9efed4370738cba944730210f3ef19d8bca02352cafa8c907d9472188e00946292a75de82c36fc0578167766797f8a840ab9967990b0a7ed9ac371 SHA512 1c9931e7c35dc07325b9359728237c99792ebb87e330ddaf811ed9475243726bcb541e364aed82a214f0a22f6e37e9034c72510f921cbf67e66845df63be6aa0 EBUILD pytest-salt-factories-1.0.0_rc25.ebuild 2882 BLAKE2B 747dd0460778809bd9b3857f997bb0f8cd5a8e8148943cf0ec5c160feb15078823d3057b18386dd82f553406c72efcc5aa05eab31cef9953dab8a0d574278d75 SHA512 91a23b104de4e3748826ba31bfd62d3f4346b6e3dc015b08a002b230725b7f7a92f1354084d9b6749b832f0af0419decbdf398a08d6e6ab2d656686516dfebec -EBUILD pytest-salt-factories-1.0.0_rc28.ebuild 2430 BLAKE2B ceeee229a1a63959b50c5b1a9b3308546ce92186f5246275e347ddd2cfd48173e22851dbf542f909746d577730f9679ddc4a3e4f478fbe935cb2fd87ef791dc4 SHA512 fbfbe9d4d27655fb2748dfa5a83a1f109db3134d1f37e5454c56b31cc8f6a2d9a4cd1810d49c904ccde86130235c251fcc308c0375505dcafe69773205c87b7b +EBUILD pytest-salt-factories-1.0.0_rc28.ebuild 2428 BLAKE2B ece905f67a0eadb331bf0a8f84522b2ad64af1cee442fe00a00cfc5fcff929f5ed0cdcbde2bff0c64919a36cad1593d701ee6badec85093c4513a8d4ff0021fc SHA512 3e51d1a30190ecb27653439820ce7e27639c30b87f0a051d135818f6d0e13c50d2dac7befe7ffe12726e15e8e9bd55cb9694230937ce89bc059428fea196c5b0 MISC metadata.xml 429 BLAKE2B 84a4af391d2a8bee687c8499a7642117ee99483439c044695d5d68a546fad02f1e6e96d88a56c2eaaac0bfcb8f7df97313723fe562885c72c952f052334fe825 SHA512 f561d42e196c7d9bcfe656149ba40e94a52c84f3fe518b6039dc9c7c1d213c22bba8817bc35563049526efb59cfc6eeb1ca9c1021f635a099e81e72fbb5d3c52 diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild index bf71441f4e49..c4fe65f4b3aa 100644 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild +++ b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ S=${WORKDIR}/${P//_/} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] |