dev-python/protobuf-python: add 4.25.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-02-11 19:13:10 +01:00
parent d2a22b8554
commit 2865e03a80
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 85 additions and 4 deletions

View File

@ -1,5 +1,7 @@
DIST protobuf-24.3.gh.tar.gz 5179711 BLAKE2B 9473a1a9489d4cb92fb7ee56ac51a891cd6de005607be3f5a385957318045d2d8e6bdaa9ffa3c3f88d376b1d9a499ba9560054ae87fe031afffb62b3292ef365 SHA512 2c1a381f81bb2c0afa3a2ff6681f9f37bc7aef3a3882c371eea7284f4e9524c2a0c834de6c7f681706890eee2220a42442367b8f8dc8370f182fab9e2c37cfd2
DIST protobuf-25.1.gh.tar.gz 5878124 BLAKE2B a0b917e4518b07b221afd01e801e45b5b6fa35c7ccf8c21120d6a63f7174e53cc37d0516b1802d9243f8bb37b72b7f460a36dcbf0fffb09e011b05315c53efc3 SHA512 d2fad2188118ced2cd951bdb472d72cc9e9b2158c88eeca652c76332a884b5b5b4b58628f7777272fa693140753823584ea9c7924f1655b1d5a363f59bdf7a4c
EBUILD protobuf-python-4.24.3-r1.ebuild 1576 BLAKE2B 189f3b9dc14460ab9ef9f8f411f7704d6b1348fbb91cbbec11a2fd2c6510af9bf16f7c42659296582d0b5a1a5cd2fe8acc695d1a9d38486e152a11663b97af51 SHA512 384c25b4f76e273fa55efc1a64853121f041ba7525981e00b0115af2c8937c4d00e2da4f65bd49d716c3bea460220af498e44361867eb95985a959d52cee409c
EBUILD protobuf-python-4.25.1.ebuild 1576 BLAKE2B d93fe0ad9cea349477678b4e099c6188760c6174e485e10bdd303755f99c41086f6d86d50fdb814304bd8ce51229749e280b4717dabf3664212cd0deebfa3e10 SHA512 048719561df2d838711e462dd0ab4cb36cd23df559b04ea6680f7dd81b4f8fed0bdccb644678fa960c8ff0d3aba62fe9f4fd8c3d4e25d1bfdedba43f4d8d44a3
DIST protobuf-25.2.gh.tar.gz 5878387 BLAKE2B 1ee7a48d3a481f523ff240c79e8cacb39b6a7e2c671279812cbffd5ce9be595034461fba41f03bed363133118c1b92bd14bcfd8c4e46ac6368e6407a23fb02ea SHA512 66f0b177eae0e2e40b8b17c8f411cd9dec5355dcfc145b8a79426e6367babcc28b9a8078bbe4ba2de47a82811a2e1a89d36955d6fa0c8d391cfeada4eb160fdb
EBUILD protobuf-python-4.24.3-r1.ebuild 1576 BLAKE2B f4a3287453ef9fd68cae8046be018afd826ad2bd563749bdebac6dbfaff6674b25dcc9f8f42a8835213faa1153dc677a6847928fead074dcbfbd9c6267e31416 SHA512 c82dd9ae66c74920d8ad24c4779561fda289ad545059065796a794e7ce256d5b15e8d492105247abeecf0ddb029c4515d98856b0c6cb0825fc17a5dacc470d90
EBUILD protobuf-python-4.25.1.ebuild 1576 BLAKE2B 03e3b05bca60017210c6ba8a611635ee3b666f93c89c76ab9178531dfbd6f50e5d16cb76327f9ecfc7dd1dcf37e4d12c39af18b690465cd824e99ec774f5b9d8 SHA512 092a84eb19608752c35d74bd5ae5a88b579732dde2b0d8b9a9194f7488fd17560436274953b956c6c4db1377cb73fe2bd949d7bf627c13cb95c3d612dcddeaae
EBUILD protobuf-python-4.25.2.ebuild 1576 BLAKE2B 03e3b05bca60017210c6ba8a611635ee3b666f93c89c76ab9178531dfbd6f50e5d16cb76327f9ecfc7dd1dcf37e4d12c39af18b690465cd824e99ec774f5b9d8 SHA512 092a84eb19608752c35d74bd5ae5a88b579732dde2b0d8b9a9194f7488fd17560436274953b956c6c4db1377cb73fe2bd949d7bf627c13cb95c3d612dcddeaae
MISC metadata.xml 594 BLAKE2B 433b449286cd4cc56adf2f920215ce22f9678052a5797e683adf7c7d58920ec95f6db81587c7f839458037dd8e61b1f655068e057feede8d4e5e394ff2adae3a SHA512 b1275564f5ee25ee71f49d8e8d04e0c90be2d2b5d590f49e775f6d8f5f842aa7745140e155cf85749efe820777db9a7630c8193c707ac360e49f9b05b8eba97a

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@ -0,0 +1,79 @@
# Copyright 1999-2024 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_{10..12} )
inherit distutils-r1
PARENT_PN="${PN/-python/}"
PARENT_PV="$(ver_cut 2-)"
PARENT_P="${PARENT_PN}-${PARENT_PV}"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git"
EGIT_SUBMODULES=()
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
else
SRC_URI="
https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz
-> ${PARENT_P}.gh.tar.gz
"
KEYWORDS="amd64 arm arm64 x86"
fi
DESCRIPTION="Google's Protocol Buffers - Python bindings"
HOMEPAGE="
https://protobuf.dev
https://pypi.org/project/protobuf/
"
LICENSE="BSD"
SLOT="0/25.1.0"
S="${WORKDIR}/${PARENT_P}/python"
BDEPEND="
"
DEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${BDEPEND}
dev-libs/protobuf:${SLOT}
"
distutils_enable_tests setup.py
# Same than PATCHES but from repository's root directory,
# please see function `python_prepare_all` below.
# Simplier for users IMHO.
PARENT_PATCHES=(
)
# Here for patches within "python/" subdirectory.
PATCHES=(
)
python_prepare_all() {
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
eapply_user
popd > /dev/null || die
distutils-r1_python_prepare_all
}
src_configure() {
DISTUTILS_ARGS=( --cpp_implementation )
}
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die
}