summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-07-13 21:12:50 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-08-13 19:23:18 +0300
commitc33822b35557af594d12e5bce50ed606d48ebd87 (patch)
tree0b4b910a5e0bedd96935c79585c613b68d620048 /dev-python/protobuf-python/protobuf-python-4.25.4.ebuild
parentf8593bd5b62667ba9ea3f8ac06d588f33bd617f5 (diff)
downloadgentoo-c33822b35557af594d12e5bce50ed606d48ebd87.tar.gz
gentoo-c33822b35557af594d12e5bce50ed606d48ebd87.tar.bz2
gentoo-c33822b35557af594d12e5bce50ed606d48ebd87.zip
dev-python/protobuf-python: add 4.25.4
Add 4.25.4 for abseil-cpp:0/20230802 See-Also: https://github.com/gentoo/gentoo/pull/37487#issuecomment-2217842143 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37546 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/protobuf-python/protobuf-python-4.25.4.ebuild')
-rw-r--r--dev-python/protobuf-python/protobuf-python-4.25.4.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild b/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild
new file mode 100644
index 000000000000..b0d4a3ec76a7
--- /dev/null
+++ b/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2008-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Default implementation currently is upb, which doesn't match dev-libs/protobuf
+# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+PYPI_PN="protobuf"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Google's Protocol Buffers - Python bindings"
+HOMEPAGE="
+ https://protobuf.dev/
+ https://pypi.org/project/protobuf/
+"
+
+# Rename sdist to avoid conflicts with dev-libs/protobuf
+SRC_URI="
+ $(pypi_sdist_url)
+ -> ${P}.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1-3)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"