commit: 780d21cd10138d5ccbb8281bfe1c0318c5909b5a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 05:08:19 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 05:30:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780d21cd
dev-python/proto-plus: Bump to 1.26.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/proto-plus/Manifest | 1 +
dev-python/proto-plus/proto-plus-1.26.0.ebuild | 45 ++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest
index 75ebc172a90a..6e1787911389 100644
--- a/dev-python/proto-plus/Manifest
+++ b/dev-python/proto-plus/Manifest
@@ -1 +1,2 @@
DIST proto-plus-python-1.25.0.gh.tar.gz 101442 BLAKE2B
a98b5131f4e55473eadb09ec9a692ef7d53312ae8f4c925ab0c5ffada25c3c3b154738c766a4e41e753c3b292c93faee54e6d7f8800c7a0af6665e4e341086ce
SHA512
449fb9fe2950cff98d05fc86b4f35fab4a1b4f7c27a3b9174dbb1f6aac92484088f44c9fda4109c3f693d890606505808d7a489412be2d091e9962363c57be4e
+DIST proto-plus-python-1.26.0.gh.tar.gz 93568 BLAKE2B
244932abd2137a2dad85d5bb7d5105a59a3d1ac16c9660868120260a36f85edb77cfb8b2b8fd3d6407a6e2c3e2a62ec55b0ea9d1a96e9265659a6d75c17a579a
SHA512
70e29cafa1a32ebe0e7c3f1d99b45681bc87369588b046221a5fc34e2c28ca932e05df9ee998feb710fc2221ffa8b02ef26c5ff00d7a7a6947e34afd91621551
diff --git a/dev-python/proto-plus/proto-plus-1.26.0.ebuild
b/dev-python/proto-plus/proto-plus-1.26.0.ebuild
new file mode 100644
index 000000000000..171a59ec1c1f
--- /dev/null
+++ b/dev-python/proto-plus/proto-plus-1.26.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+MY_P=${PN}-python-${PV}
+DESCRIPTION="Beautiful, Pythonic protocol buffers"
+HOMEPAGE="
+ https://github.com/googleapis/proto-plus-python/
+ https://pypi.org/project/proto-plus/
+"
+SRC_URI="
+ https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ <dev-python/protobuf-6[${PYTHON_USEDEP}]
+ >=dev-python/protobuf-3.19.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/google-api-core-1.31.5[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}