diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-17 18:31:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-17 18:31:39 +0000 |
| commit | cb259cfa3af99553df6eb9b1b3620b04be2965b6 (patch) | |
| tree | ef833450d1a1ac83546d99a9780b301ded931d82 /dev-python | |
| parent | 792e7671e9a15cded06bc28deb0f93fc6e2ec98a (diff) | |
| download | baldeagleos-repo-cb259cfa3af99553df6eb9b1b3620b04be2965b6.tar.gz baldeagleos-repo-cb259cfa3af99553df6eb9b1b3620b04be2965b6.tar.xz baldeagleos-repo-cb259cfa3af99553df6eb9b1b3620b04be2965b6.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
25 files changed, 526 insertions, 7 deletions
diff --git a/dev-python/PythonQwt/Manifest b/dev-python/PythonQwt/Manifest index a4d32482a52e..3a9bf7f78eba 100644 --- a/dev-python/PythonQwt/Manifest +++ b/dev-python/PythonQwt/Manifest @@ -1,2 +1,2 @@ -DIST PythonQwt-0.10.2.tar.gz 1044022 BLAKE2B 12019566a2465b37aceeb5e6e0c587274b99bcaaadd20bc18a697548278a2a3ee13e34cff7563f1751b27a3d7fd51eaee91cf83cc702064db8b9400c9a4e4597 SHA512 949ebf5b76253f1d7a9d8410ebb01f24ab90547e3c13a017d19f3c96f2735134993165073f7e18d4887b4e224b31f4a3cb1a1896063128be2591cad294a3a2ed DIST PythonQwt-0.10.3.tar.gz 1109362 BLAKE2B 8d049a938b9ef4e18cce15682d001c25dee8c8b1bc66ed653b7a09427f391fc9300b1897add00d3566e65465bcf2272d4c874d7af1144fd8d2a1fe5443a8b11a SHA512 eed602b374d0e34293b6ae7a71d24f2db0e0d2dbf8d184e6ed99f00b70b4bc3a16bee72d83555ad5a442878eb92fe51ea4d142d59fc777dc56f4cd93f31178e8 +DIST PythonQwt-0.10.5.tar.gz 1109805 BLAKE2B 0d675586f56f3fc345edb660fe6746f9da018001c142d2ff46fac999110c6c5bb457d163550325aaf86e92febee96b9cc4d2e935e31194b9a2b889c2762482bb SHA512 f4ae3468c599f55c9cc5aeb58980740ffdcb3c37e761591c43e463f3a5b395e9bf21acf117f586eeebd2e1264b710d88c10006f3477e98127c516a54f497d933 diff --git a/dev-python/PythonQwt/PythonQwt-0.10.2.ebuild b/dev-python/PythonQwt/PythonQwt-0.10.5.ebuild index 78f3b76ddd87..78f3b76ddd87 100644 --- a/dev-python/PythonQwt/PythonQwt-0.10.2.ebuild +++ b/dev-python/PythonQwt/PythonQwt-0.10.5.ebuild diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 1647f45a2bb4..1989f0fc579d 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -8,6 +8,8 @@ DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccf DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12 SHA512 4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb SHA512 234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909 +DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997 SHA512 44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316 +DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7 SHA512 95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 BLAKE2B 7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a SHA512 4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/clang-python/clang-python-17.0.3.ebuild b/dev-python/clang-python/clang-python-17.0.3.ebuild new file mode 100644 index 000000000000..6e97c422c39e --- /dev/null +++ b/dev-python/clang-python/clang-python-17.0.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/guidata/Manifest b/dev-python/guidata/Manifest index 37544c3379d2..0f7d2e32912a 100644 --- a/dev-python/guidata/Manifest +++ b/dev-python/guidata/Manifest @@ -1,2 +1,2 @@ DIST guidata-2.3.1.tar.gz 504812 BLAKE2B 4b2e5e07ee76bbeb95a9a55a4cde1d409d2438fe5273a0f154d34e8beb9934f810b29a33ef508009e38c589d57402aef55d346b93856fc744e7a8236748f5e86 SHA512 7488ca8c761394dfd9d58a8ac3c96dc963adab6df278823fb1a7d9132febc16e275908034ef48381d696668add43f62438fab1ba22f70f5e08f33b14a81082c5 -DIST guidata-3.0.5.tar.gz 963433 BLAKE2B 83b9745035c5c7ef549006fe500a2cef48e6b8a45e5d16b27d0a763ac8aad591d6fe455b661c586eea0ce0e12a5988c2a0309df8ea62506d20ab2c3fda1ca120 SHA512 2abcbc6eed502ebc9830863ef98966f7689aa59f468aa41b0438403d4604e4521041d2d908ec7fc9b8363470753606a364ac9e91d9ecd15c2d243db1ec1f885e +DIST guidata-3.1.0.tar.gz 946229 BLAKE2B 50998faccdbb3db0128219d46aa950678628045d569b0eaa5d0e4216bcc94d6eb4c08b1000358b1ceae2593876c813cc1377bb01d2c2f95ccb8dd2197b1f9db9 SHA512 be6ba3a17b767d44371ca589fbf7eed425ebab9484afd62fa85fc485b84dd2f2cc043e0e7b041eb47663b748a1daf2b5321be3a5c81f9b94a1556cb8be349546 diff --git a/dev-python/guidata/guidata-3.0.5.ebuild b/dev-python/guidata/guidata-3.1.0.ebuild index 1823ef6c5372..1823ef6c5372 100644 --- a/dev-python/guidata/guidata-3.0.5.ebuild +++ b/dev-python/guidata/guidata-3.1.0.ebuild diff --git a/dev-python/guiqwt/Manifest b/dev-python/guiqwt/Manifest index 6203c8c6b2b3..050bbf7a14f4 100644 --- a/dev-python/guiqwt/Manifest +++ b/dev-python/guiqwt/Manifest @@ -1 +1,2 @@ DIST guiqwt-4.4.1.tar.gz 3292649 BLAKE2B 730550ceeb619e6184145562e437d8c90799218654dd2f43718692f1951b877eb8d687ebe43abd13e83ac7be921d3e2e8b43891719354b17a5b570d68685d01d SHA512 ea92919d88c1691c7098b7dfa51185b39b9568101b86335f19f7da72138d35f06ffce6e9763c2e2c8a02b20f362dab9a069e8748c19f8aed72d35763f346ae32 +DIST guiqwt-4.4.3.tar.gz 3318174 BLAKE2B f58b5344b165ded1d3f99fad77fcea8bffe427acffbdfadc2d5f143b618093859bdf28c41478870415b93ab6b5c419e993872b0368397311d232e1926e1350cb SHA512 da5b0c1aabe6d05441b17d95b91edaf1c95179c4376213f0720ca4ac850dcbb07a4b05513094c8b9f768b19ec8e87214018ab17bb383d69d9f79b9228e93a888 diff --git a/dev-python/guiqwt/guiqwt-4.4.3.ebuild b/dev-python/guiqwt/guiqwt-4.4.3.ebuild new file mode 100644 index 000000000000..47d1243ab334 --- /dev/null +++ b/dev-python/guiqwt/guiqwt-4.4.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Efficient 2D plotting Python library based on PythonQwt " +HOMEPAGE="https://pypi.python.org/pypi/guiqwt" +LICENSE="MIT" + +SLOT="0" +RESTRICT="test" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/guidata[${PYTHON_USEDEP}] +" + +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 1647f45a2bb4..1989f0fc579d 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -8,6 +8,8 @@ DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccf DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12 SHA512 4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb SHA512 234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909 +DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997 SHA512 44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316 +DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7 SHA512 95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 BLAKE2B 7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a SHA512 4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/lit/lit-17.0.3.ebuild b/dev-python/lit/lit-17.0.3.ebuild new file mode 100644 index 000000000000..0bbb706f82de --- /dev/null +++ b/dev-python/lit/lit-17.0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/loky/loky-3.4.1.ebuild b/dev-python/loky/loky-3.4.1.ebuild index 13a088467090..b3a5108b7909 100644 --- a/dev-python/loky/loky-3.4.1.ebuild +++ b/dev-python/loky/loky-3.4.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Robust and reusable Executor for joblib" HOMEPAGE=" @@ -30,6 +30,7 @@ BDEPEND=" test? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " @@ -44,6 +45,8 @@ python_test() { tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # high memory test needs a lot of memory + is broken on 32-bit platforms - epytest --skip-high-memory + epytest --skip-high-memory \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal } diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 7d7dc567ee93..60ac285971ac 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -1 +1,2 @@ DIST pycairo-1.24.0.tar.gz 344850 BLAKE2B f1469254ccfcb96ee5e39af49fcae575717e2f0e9a3dc74a13408306b5c94f4557a9c6d6a448541cb1f6dd27781e484b37d5ea9f230dc87f9d3370fac31dfdba SHA512 bbc160bc9c3c9365018c680f6a69347bc222cdaec10ea48d18aedd0341048df74973d3299d783662adf02b414874824660da10943d88f64c30451d3fdccc63fb +DIST pycairo-1.25.0.tar.gz 347794 BLAKE2B d05c1f505059c181d176b533ff4753e90888189160b1904531da4d9e9b784976442acb8c848be48d23e04f1fd07fef88a05b374c833ecee1c0b0e2881dadd4d0 SHA512 f34df509d36fbc739e8ddb40e2ead473db6970eacb7a2b0ccad8b82fd41a5daa25c89a5d34e7f2b2b70c4bf74e4e9d87465414aa414280e0aa7a4787b05712da diff --git a/dev-python/pycairo/files/pycairo-1.25.0-init.patch b/dev-python/pycairo/files/pycairo-1.25.0-init.patch new file mode 100644 index 000000000000..cc670618a261 --- /dev/null +++ b/dev-python/pycairo/files/pycairo-1.25.0-init.patch @@ -0,0 +1,43 @@ +From 1ef1ea2f0ba3854309114a2395734c34a1e158d8 Mon Sep 17 00:00:00 2001 +From: Tycho Andersen <tycho@tycho.pizza> +Date: Mon, 16 Oct 2023 20:01:52 -0600 +Subject: [PATCH] module: reorder cairo script surface initialization + +PyType_Ready() expects subclasses to be initialized after base classes. +Since ScriptSurface inherits from Surface, Surface must be initialized +first. + +This causes a segfault in pypy3.10, and the fix was suggested here: + +https://foss.heptapod.net/pypy/pypy/-/issues/4017#note_332375 + +This fixes the seg fault for me. + +Signed-off-by: Tycho Andersen <tycho@tycho.pizza> +--- + cairo/cairomodule.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/cairo/cairomodule.c b/cairo/cairomodule.c +index 0026a0e..f27330f 100644 +--- a/cairo/cairomodule.c ++++ b/cairo/cairomodule.c +@@ -210,6 +210,9 @@ PYCAIRO_MODINIT_FUNC PyInit__cairo(void) + if (PyType_Ready(&PycairoTextExtents_Type) < 0) + return NULL; + ++ if (PyType_Ready(&PycairoSurface_Type) < 0) ++ return NULL; ++ + #ifdef CAIRO_HAS_SCRIPT_SURFACE + if (PyType_Ready(&PycairoScriptDevice_Type) < 0) + return NULL; +@@ -223,8 +226,6 @@ PYCAIRO_MODINIT_FUNC PyInit__cairo(void) + if (PyType_Ready(&PycairoScaledFont_Type) < 0) + return NULL; + +- if (PyType_Ready(&PycairoSurface_Type) < 0) +- return NULL; + #ifdef CAIRO_HAS_IMAGE_SURFACE + if (PyType_Ready(&PycairoImageSurface_Type) < 0) + return NULL; diff --git a/dev-python/pycairo/pycairo-1.25.0.ebuild b/dev-python/pycairo/pycairo-1.25.0.ebuild new file mode 100644 index 000000000000..6da52edba552 --- /dev/null +++ b/dev-python/pycairo/pycairo-1.25.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the cairo library" +HOMEPAGE=" + https://www.cairographics.org/pycairo/ + https://github.com/pygobject/pycairo/ + https://pypi.org/project/pycairo/ +" +SRC_URI=" + https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz +" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=x11-libs/cairo-1.15.10[svg(+)] +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-init.patch" +) + +python_test() { + esetup.py build_tests + epytest +} + +python_install() { + distutils-r1_python_install + + # we need to pass --root via install command, sigh + cat > "${T}/distutils-extra.cfg" <<-EOF || die + [install] + root = ${ED} + EOF + local -x DIST_EXTRA_CONFIG=${T}/distutils-extra.cfg + esetup.py \ + install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" +} + +python_install_all() { + if use examples; then + dodoc -r examples + fi + + distutils-r1_python_install_all + + insinto /usr/include/pycairo + newins cairo/pycairo.h py3cairo.h +} diff --git a/dev-python/pydevd/pydevd-2.10.0.ebuild b/dev-python/pydevd/pydevd-2.10.0.ebuild index e900ef2d63f5..ecab4882df3e 100644 --- a/dev-python/pydevd/pydevd-2.10.0.ebuild +++ b/dev-python/pydevd/pydevd-2.10.0.ebuild @@ -34,6 +34,7 @@ BDEPEND=" dev-python/untangle[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index 860b2f9c101c..b4bddf487169 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -1 +1,2 @@ DIST pygame-2.5.1.gh.tar.gz 6854761 BLAKE2B e137f73a3bb718213ef92e938ed1b065f5568d7dd2ade6edd973bc55d06425874da0e89e3c102fad39adac25f977ac97025a0c59099702cfabeffd0d3b8f109f SHA512 d7aceb2bc6e40c5dc2d7a19fdc7af18abf021b79dd98b859975f99ec10895e1b09e11fbf17fd6ab925d3aa6c64e5b3dd56c0d857ecacc67303d92fc0efb2630c +DIST pygame-2.5.2.gh.tar.gz 5970857 BLAKE2B 523874926a8fd868f5674ed2997a44decb928fcfe246d551249ed7320a0e908ce46d00f459d187726edf74a4c1038cd56821f6466559fb7d24aa75d16769cbfe SHA512 b54e9b80951c8a9e75666621aafc26874c6dbdab27330146f7217346c76be5627a5464a0102a5968eca0dbd7cced4b2143cd2ff1b6227e3e17e5634854b27f19 diff --git a/dev-python/pygame/files/pygame-2.5.2-error.patch b/dev-python/pygame/files/pygame-2.5.2-error.patch new file mode 100644 index 000000000000..9f2800e29e70 --- /dev/null +++ b/dev-python/pygame/files/pygame-2.5.2-error.patch @@ -0,0 +1,121 @@ +From bbed8d293483fa7bd7322f5976641dfe86bf6367 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> +Date: Sat, 7 Oct 2023 12:05:45 +0200 +Subject: [PATCH 1/2] base: Clean up some error messaging + +--- + src_c/base.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src_c/base.c b/src_c/base.c +index 1f12a63451..d32c17bdc5 100644 +--- a/src_c/base.c ++++ b/src_c/base.c +@@ -309,11 +309,13 @@ pg_mod_autoquit(const char *modname) + + funcobj = PyObject_GetAttrString(module, "_internal_mod_quit"); + ++ if (PyErr_Occurred()) ++ PyErr_Clear(); ++ + /* If we could not load _internal_mod_quit, load quit function */ + if (!funcobj) + funcobj = PyObject_GetAttrString(module, "quit"); + +- /* Silence errors */ + if (PyErr_Occurred()) + PyErr_Clear(); + +@@ -322,7 +324,6 @@ pg_mod_autoquit(const char *modname) + Py_XDECREF(temp); + } + +- /* Silence errors */ + if (PyErr_Occurred()) + PyErr_Clear(); + + +From d8fae59ff0f3a02fe159cc302c891177af97a41f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> +Date: Sat, 7 Oct 2023 12:05:58 +0200 +Subject: [PATCH 2/2] pixelcopy: Clean up some error messaging + +--- + src_c/pixelcopy.c | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +diff --git a/src_c/pixelcopy.c b/src_c/pixelcopy.c +index 923072dde8..1d1eaf3267 100644 +--- a/src_c/pixelcopy.c ++++ b/src_c/pixelcopy.c +@@ -767,6 +767,9 @@ surface_to_array(PyObject *self, PyObject *args, PyObject *kwds) + Uint8 opaque = 255; + Uint8 clear = 0; + SDL_Surface *surf; ++ PyObject *type = NULL; ++ PyObject *value = NULL; ++ PyObject *traceback = NULL; + char *keywords[] = {"array", "surface", "kind", "opaque", "clear", 0}; + + if (!PyArg_ParseTupleAndKeywords( +@@ -794,8 +797,16 @@ surface_to_array(PyObject *self, PyObject *args, PyObject *kwds) + if (view_p->ndim == 2) { + if (view_kind == VIEWKIND_RGB) { + if (_copy_mapped(view_p, surf)) { ++ if (PyErr_Occurred()) { ++ PyErr_Fetch(&type, &value, &traceback); ++ PyErr_Clear(); ++ } ++ + pgBuffer_Release(&pg_view); + pgSurface_Unlock(surfobj); ++ if (type) { ++ PyErr_Restore(type, value, traceback); ++ } + return 0; + } + } +@@ -876,6 +887,8 @@ map_array(PyObject *self, PyObject *args) + _pc_pixel_t pixel = {0}; + int pix_bytesize; + Py_ssize_t i; ++ PyObject *type = NULL; ++ PyObject *value, *traceback; + + if (!PyArg_ParseTuple(args, "OOO!", &tar_array, &src_array, + &pgSurface_Type, &format_surf)) { +@@ -889,6 +902,11 @@ map_array(PyObject *self, PyObject *args) + /* Determine array shapes and check validity + */ + if (pgObject_GetBuffer(tar_array, &tar_pg_view, PyBUF_RECORDS)) { ++ if (PyErr_Occurred()) { ++ PyErr_Fetch(&type, &value, &traceback); ++ PyErr_Clear(); ++ } ++ + goto fail; + } + is_tar_alloc = 1; +@@ -912,6 +930,10 @@ map_array(PyObject *self, PyObject *args) + goto fail; + } + if (pgObject_GetBuffer(src_array, &src_pg_view, PyBUF_RECORDS_RO)) { ++ if (PyErr_Occurred()) { ++ PyErr_Fetch(&type, &value, &traceback); ++ PyErr_Clear(); ++ } + goto fail; + } + is_src_alloc = 1; +@@ -1134,6 +1156,11 @@ map_array(PyObject *self, PyObject *args) + pgBuffer_Release(&tar_pg_view); + } + pgSurface_Unlock(format_surf); ++ ++ if (type != NULL) { ++ PyErr_Restore(type, value, traceback); ++ } ++ + return 0; + } + diff --git a/dev-python/pygame/pygame-2.5.2.ebuild b/dev-python/pygame/pygame-2.5.2.ebuild new file mode 100644 index 000000000000..301793f17672 --- /dev/null +++ b/dev-python/pygame/pygame-2.5.2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for SDL multimedia library" +HOMEPAGE=" + https://www.pygame.org/ + https://github.com/pygame/pygame/ + https://pypi.org/project/pygame/ +" +SRC_URI=" + https://github.com/pygame/pygame/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples opengl test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/freetype + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/portmidi + media-libs/sdl2-image + media-libs/sdl2-mixer + media-libs/sdl2-ttf + X? ( media-libs/libsdl2[opengl?,threads,video,X] ) + !X? ( media-libs/libsdl2[threads] ) +" +DEPEND=" + ${RDEPEND} + test? ( + media-libs/sdl2-image[gif,jpeg,png,tiff,webp] + media-libs/sdl2-mixer[mp3,vorbis,wav] + ) +" +# fontconfig used for fc-list +RDEPEND+=" + media-libs/fontconfig +" +# util-linux provides script +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + media-libs/fontconfig + sys-apps/util-linux + ) +" + +src_prepare() { + local PATCHES=( + # https://github.com/pygame/pygame/pull/4035 + "${FILESDIR}/${P}-error.patch" + ) + + # some numpy-related crash (not a regression) + # https://github.com/pygame/pygame/issues/4049 + sed -e 's:import numpy:raise ImportError(""):' \ + -i test/pixelcopy_test.py || die + + distutils-r1_src_prepare +} + +python_configure() { + PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ + "${EPYTHON}" "${S}"/buildconfig/config.py || die +} + +python_configure_all() { + find src_c/cython -name '*.pyx' -exec touch {} + || die + "${EPYTHON}" setup.py cython_only || die +} + +python_test() { + local -x SDL_VIDEODRIVER=dummy + local -x SDL_AUDIODRIVER=disk + script -eqc "${EPYTHON} -m pygame.tests -v" || die +} + +python_install() { + distutils-r1_python_install + + # https://bugs.gentoo.org/497720 + rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples} || die +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest index 3a2d3967b40a..38c96ee63130 100644 --- a/dev-python/python-socketio/Manifest +++ b/dev-python/python-socketio/Manifest @@ -1,2 +1,3 @@ +DIST python-socketio-5.10.0.tar.gz 114300 BLAKE2B 134fc3a03f3923afb9ff96f3765c738cf296f875718fb35ccdeade77bae185ed2c5973e1adcdf69e3fcf4b98ecbe0177161c5405ef6782798c5ce355f427ca71 SHA512 e20a88d6031d69c64db777487bfc8cfe043d4e893e73194c82f529290d0852352b5d011d07f4ce82a51e71f34cf483be99a5851eb5969d520fc8126009d7363f DIST python-socketio-5.8.0.tar.gz 47872 BLAKE2B 465593a89bb0504af485ec4c94a52159548ce3cace3f58c9174d694e35b40c6eb68e5a0350ee34551b6d01c47d571be63f7cc91a42ca9815c2a3a271825f3624 SHA512 653a6764e22738f0aaad3fb03ef193d820780d61fcffede117a2a2cf7097c722974bded7869639f4ac01dc9a121d90dcbeca70fcc9bbb4e96e3b87bd39e69180 DIST python-socketio-5.9.0.tar.gz 47982 BLAKE2B 3fc120b597f92d404972807a40275a5cdb32a38e6e634034c6c4792cc94635dac1c0a911eec75aeaf961358399873c1de1ad6fcf43389ac96c6e5dc48746bced SHA512 145fbcc4a0d089f96d57aabea1b097badea1b9aaf64dc5401503908460e70400ce5c0581184ff574c97cfabce03fda89285223ec03814fa3d33557476d27ffc4 diff --git a/dev-python/python-socketio/python-socketio-5.10.0.ebuild b/dev-python/python-socketio/python-socketio-5.10.0.ebuild new file mode 100644 index 000000000000..11d8c4294ee3 --- /dev/null +++ b/dev-python/python-socketio/python-socketio-5.10.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the Socket.IO realtime server." +HOMEPAGE=" + https://python-socketio.readthedocs.org/ + https://github.com/miguelgrinberg/python-socketio/ + https://pypi.org/project/python-socketio" + +LICENSE="MIT" +SLOT="0" +#wait for dev-python/python-engineio +KEYWORDS="~amd64" +IUSE="client asyncio-client" + +RDEPEND="dev-python/bidict[${PYTHON_USEDEP}] + >=dev-python/python-engineio-4.0.0[${PYTHON_USEDEP}] + client? ( dev-python/requests[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] ) + asyncio-client? ( dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# pypi tarball does not contain tests +RESTRICT="test" diff --git a/dev-python/threadpoolctl/threadpoolctl-3.2.0.ebuild b/dev-python/threadpoolctl/threadpoolctl-3.2.0.ebuild index 1cfb2067b308..be0bab606d98 100644 --- a/dev-python/threadpoolctl/threadpoolctl-3.2.0.ebuild +++ b/dev-python/threadpoolctl/threadpoolctl-3.2.0.ebuild @@ -33,4 +33,9 @@ EPYTEST_DESELECT=( # or file bugs about missing architectures until upstream realizes # how bad idea that were. tests/test_threadpoolctl.py::test_architecture + # This test fails if the Python executable (or any library that it + # links to) uses OpenMP. This can particularly be the case with + # CPython 3.12 that links to app-crypt/libb2. + # https://github.com/joblib/threadpoolctl/issues/146 + tests/test_threadpoolctl.py::test_command_line_empty ) diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index 21832d66faac..ee5e9eb0e78d 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,2 @@ DIST tulir-telethon-1.30.0_alpha2.gh.tar.gz 493240 BLAKE2B dd7d464c187a08b71d3a7578922c6da91cb4878b6a29d36cbe9211f7978a10b9b397ea799b11aa144cdb1e458bd0bc6f80acc9b844d5efda63752f75ecc98c53 SHA512 6f472f7c48ea6b5602c0fb1898fc08be8f8336a7b6cec671b49d7e81255a5e52b2442cb38a8aab342a26aef107ef73f242a4c967249d8a013deb584340c71826 -DIST tulir-telethon-1.32.0_alpha1.gh.tar.gz 494851 BLAKE2B e34cb8dcfca3cce6ad34b2ff4c09c627b0bb742169b6ac74301a65de0887a7f6e75ef8a6968b2e5d6b496ffe3a7aee718ce53bccbe0367c4434223ee60dec175 SHA512 48e43fa0e713e779ac676db8906120df846463ea99c79833ae85181f12d7e2e494398e3c0fb05f2b2f313ab845f5aba8db768986c8a8a1af727bddae1b29a48d +DIST tulir-telethon-1.32.0_alpha2.gh.tar.gz 494857 BLAKE2B f39a8159716a5fd0f7f9d94bb6bdf9674fba678210f7c9dceb2bf7b90ddae5ee4eeade3f896dcb590f3e7f4985d18f72ea9fed35f59bc13680c1cf1c40fec890 SHA512 8b02b6f563844674fcf9449419cd68b646a10d7572534c5696501b1d043bf3b2c0d5969ca08c38664bd43ebefc1f99607649ec62180d6fca324bf799274e2873 diff --git a/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha2.ebuild index 5eef2e2bc26d..5eef2e2bc26d 100644 --- a/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha1.ebuild +++ b/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha2.ebuild |
