summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-10-23 22:25:14 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-10-23 22:32:57 +0300
commite497a4963248db41223ac0f84e16896ba11be21c (patch)
tree843f0d74c848efccad9c205792c63ffd0c90c654 /dev-python
parenta44e69488b1a95d48d0cecf25a89915b4c0629db (diff)
downloadgentoo-e497a4963248db41223ac0f84e16896ba11be21c.tar.gz
gentoo-e497a4963248db41223ac0f84e16896ba11be21c.tar.bz2
gentoo-e497a4963248db41223ac0f84e16896ba11be21c.zip
dev-python/proto-plus: add 1.25.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/proto-plus/Manifest1
-rw-r--r--dev-python/proto-plus/proto-plus-1.25.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest
index 8e64f520293d..2213b5c17e0e 100644
--- a/dev-python/proto-plus/Manifest
+++ b/dev-python/proto-plus/Manifest
@@ -1 +1,2 @@
DIST proto-plus-python-1.24.0.gh.tar.gz 100401 BLAKE2B 29094738e9c84559b8b51b078ecb059e7475c5c6e9392f23925c6df264efebd22c191c5b593fc659aabb20ce9cb0d93cde9df28b0b40aac4bbc80e075a95ec24 SHA512 3995df0a7df60a9a5c9325c29456f73d8482ae3d765f9553e5633b8d0ae0869c6fe3cd60e780f8fcd49d04470205abf621bc56c20d64252b76d51c19ff283372
+DIST proto-plus-python-1.25.0.gh.tar.gz 101442 BLAKE2B a98b5131f4e55473eadb09ec9a692ef7d53312ae8f4c925ab0c5ffada25c3c3b154738c766a4e41e753c3b292c93faee54e6d7f8800c7a0af6665e4e341086ce SHA512 449fb9fe2950cff98d05fc86b4f35fab4a1b4f7c27a3b9174dbb1f6aac92484088f44c9fda4109c3f693d890606505808d7a489412be2d091e9962363c57be4e
diff --git a/dev-python/proto-plus/proto-plus-1.25.0.ebuild b/dev-python/proto-plus/proto-plus-1.25.0.ebuild
new file mode 100644
index 000000000000..a7ff53eec871
--- /dev/null
+++ b/dev-python/proto-plus/proto-plus-1.25.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021-2024 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-python-6[${PYTHON_USEDEP}]
+ >=dev-python/protobuf-python-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
+}