From d58f9a1d8c3c156bad50e5cd8f331ccd303af582 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 26 Jan 2025 09:08:15 +0000 Subject: Adding metadata --- dev-python/grpcio/Manifest | 2 +- dev-python/grpcio/grpcio-1.68.1.ebuild | 56 ---------------------- dev-python/grpcio/grpcio-1.70.0.ebuild | 56 ++++++++++++++++++++++ dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 +++++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 ++-- 7 files changed, 77 insertions(+), 66 deletions(-) delete mode 100644 dev-python/grpcio/grpcio-1.68.1.ebuild create mode 100644 dev-python/grpcio/grpcio-1.70.0.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch (limited to 'dev-python') diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 70a4136be177..f425e09fb9a3 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,2 +1,2 @@ -DIST grpcio-1.68.1.tar.gz 12694654 BLAKE2B 73dc8ef4371f43d232e452b4aba4a7a3c32f83a93631179123a020660484ecb54ce6da14ef262442ab537a60859c624876e9b6285882f998a17c3a1a144c5416 SHA512 98f517687a9e46f316a08943122e2d002eac03637049e319b070832121ec8b4f140a0e0e1c530d6f3e83973e3503b5a50cdf1532b59e23a2b2e3d8514cd4132d DIST grpcio-1.69.0.tar.gz 12738244 BLAKE2B b7849f57591407c6882da4596b31c974c6bd493eaea2e629e32cc757799dbdca618959db7140c0b985e9ee107a377c3fa82f6b71f705feba4a6ecbd344666daa SHA512 c2cc418c01d5c9550c6b5468f3ff6cc0417cf6dae7ab3d0cab62804ca1ce86b5c305b2fda3af2b66c9ae1e05ead41962b02c171b121ca8e75a434ecc47b16761 +DIST grpcio-1.70.0.tar.gz 12788932 BLAKE2B 890c066cd5f9cc6d92eaeee00b639f5c0c8ac5e7f113fb5f3cc0232d1861f002594179fcaac6fa350254f9aeb27cd049290bcd05c17704caf7bb05df7e4bbca6 SHA512 0e01b8042352d8f6be28b30be64f9bf17d29d19f2d8889e21e6bdd56c6f78cea39a4bd4534afb2e3ded48c119a6ad9a863912088642f306088a5a319c8bfd784 diff --git a/dev-python/grpcio/grpcio-1.68.1.ebuild b/dev-python/grpcio/grpcio-1.68.1.ebuild deleted file mode 100644 index 25d98571bc9a..000000000000 --- a/dev-python/grpcio/grpcio-1.68.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2022-2024 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 multiprocessing prefix pypi - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="libressl" - -RDEPEND=" - !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist(-)] ) - >=dev-libs/re2-0.2021.11.01:= - dev-python/cython[${PYTHON_USEDEP}] - >=dev-libs/protobuf-25.0 - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -src_prepare() { - default -} - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - if use libressl; then - export GRPC_BUILD_WITH_BORING_SSL_ASM=1 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=0 - else - export GRPC_BUILD_WITH_BORING_SSL_ASM=9 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - fi - - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio/grpcio-1.70.0.ebuild b/dev-python/grpcio/grpcio-1.70.0.ebuild new file mode 100644 index 000000000000..c752c57ec39a --- /dev/null +++ b/dev-python/grpcio/grpcio-1.70.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022-2025 LiGurOs Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 multiprocessing prefix pypi + +DESCRIPTION="High-performance RPC framework (python libraries)" +HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +IUSE="libressl" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist(-)] ) + >=dev-libs/re2-0.2021.11.01:= + dev-python/cython[${PYTHON_USEDEP}] + >=dev-libs/protobuf-25.0 + dev-python/protobuf[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + net-dns/c-ares:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND}" + +src_prepare() { + default +} + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + if use libressl; then + export GRPC_BUILD_WITH_BORING_SSL_ASM=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=0 + else + export GRPC_BUILD_WITH_BORING_SSL_ASM=9 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + fi + + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..eb2586280d80 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ - marcin.deranek@slonko.net - Marcin Deranek + pastalian46@gmail.com + Takuya Wakazono - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file -- cgit v1.3.1