public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/protobuf-python/
Date: Tue,  9 Jul 2024 12:52:34 +0000 (UTC)	[thread overview]
Message-ID: <1720529484.100044ece5d89f1cb08c58b06ce991b7a549ea3d.sam@gentoo> (raw)

commit:     100044ece5d89f1cb08c58b06ce991b7a549ea3d
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jul  7 16:03:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 12:51:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100044ec

dev-python/protobuf-python: add 5.27.2

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/protobuf-python/Manifest                |  1 +
 .../protobuf-python/protobuf-python-5.27.2.ebuild  | 78 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest
index 8695f23be04a..f5b9bc33329a 100644
--- a/dev-python/protobuf-python/Manifest
+++ b/dev-python/protobuf-python/Manifest
@@ -2,3 +2,4 @@ DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 33500612d103afb817062486a741e8e5503f8
 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe SHA512 6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
 DIST protobuf-22.5.tar.gz 4924661 BLAKE2B d69c73f4ebfddf45fd94b4f5f898faf00256fe674f2cbc0443c60a88d7a0f47fb96f2f6262879927c6da88095b4ea3ee7fd4c471c100bf42a2bae9edf48c07f1 SHA512 058ab2fec5b11007972e6043071056d1944c3b6fe1d31246cddba8eb57686e3b5280f6ad3d58e78940ca63005e74a8de3c72237f9f7c5066548c5a2513ddc584
 DIST protobuf-23.3.tar.gz 5043803 BLAKE2B ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3 SHA512 646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9dddd615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b
+DIST protobuf-python-5.27.2.tar.gz 401640 BLAKE2B 9d3420b75536ffd452cc2a3317a6ad1e16a62df36085f1e329f0178026032f5533e1a96f7b613f91093ac12a44d7ad4059ebededea636f38ded29da563afd075 SHA512 b3afcf13e223d7e855ac0aa000cc395e3ea1301b2e3dfe3c0d5435d8031be3726e6aec1fb6228c572aa1685f75aba2d97d2c9dfdb6d9e058a2e88321d6ba9180

diff --git a/dev-python/protobuf-python/protobuf-python-5.27.2.ebuild b/dev-python/protobuf-python/protobuf-python-5.27.2.ebuild
new file mode 100644
index 000000000000..8f12c5727960
--- /dev/null
+++ b/dev-python/protobuf-python/protobuf-python-5.27.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2008-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..13} )
+
+inherit distutils-r1
+
+PARENT_PN="${PN/-python/}"
+PARENT_PV="$(ver_cut 2-)"
+
+[[ "${PV}" == *9999 ]] && PARENT_PV="28.0"
+
+PARENT_P="${PARENT_PN}-${PARENT_PV}"
+
+DESCRIPTION="Google's Protocol Buffers - Python bindings"
+HOMEPAGE="
+	https://developers.google.com/protocol-buffers/
+	https://pypi.org/project/protobuf/
+"
+
+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="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+S="${WORKDIR}/${PARENT_P}/python"
+
+LICENSE="BSD"
+SLOT="0/${PARENT_PV}.0"
+
+DEPEND="${PYTHON_DEPS}
+"
+RDEPEND="
+	dev-libs/protobuf:0/${PARENT_PV}.0
+"
+
+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
+}


             reply	other threads:[~2024-07-09 12:52 UTC|newest]

Thread overview: 199+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-09 12:52 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-12 22:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/protobuf-python/ Sam James
2024-09-09 17:26 Arthur Zamarin
2024-09-05  2:12 Sam James
2024-09-02  7:29 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-13 16:23 Joonas Niilola
2024-07-09 12:52 Sam James
2024-06-15  8:13 Joonas Niilola
2024-06-15  7:10 Sam James
2024-06-13  4:10 Sam James
2024-06-12 17:43 Sam James
2024-06-12  5:32 Arthur Zamarin
2024-06-11 16:58 Sam James
2024-06-11 16:58 Sam James
2024-02-05 14:31 Sam James
2024-02-05 12:44 Sam James
2024-02-05 12:44 Sam James
2023-12-16  1:29 Sam James
2023-11-29 18:06 Michał Górny
2023-10-14 16:53 Arthur Zamarin
2023-09-14 11:02 Andrew Ammerlaan
2023-08-21 18:22 Sam James
2023-08-21 18:22 Sam James
2023-07-27  5:25 WANG Xuerui
2023-07-27  5:25 WANG Xuerui
2023-05-04 16:22 Michał Górny
2023-01-05 11:55 Michał Górny
2023-01-05  7:58 Sam James
2023-01-05  7:58 Sam James
2023-01-05  7:58 Sam James
2023-01-05  7:55 Sam James
2023-01-05  7:54 Sam James
2023-01-05  7:54 Sam James
2023-01-05  7:54 Sam James
2023-01-05  7:54 Sam James
2023-01-05  7:54 Sam James
2023-01-05  7:54 Sam James
2022-11-07 17:27 Arthur Zamarin
2022-11-06  9:30 Sam James
2022-11-06  7:25 Sam James
2022-10-30 22:05 Sam James
2022-10-25 21:55 Sam James
2022-09-02 15:18 Arthur Zamarin
2022-07-10 19:25 Arthur Zamarin
2022-07-10 19:12 Sam James
2022-07-10 18:30 Arthur Zamarin
2022-07-10 18:04 Arthur Zamarin
2022-05-18  6:59 Michał Górny
2022-04-22 11:54 Michał Górny
2022-04-22  6:28 Arthur Zamarin
2022-04-22  6:28 Arthur Zamarin
2022-04-22  6:28 Arthur Zamarin
2022-04-21 17:35 Arthur Zamarin
2022-04-21 17:35 Arthur Zamarin
2022-04-20 14:12 Jakov Smolić
2022-04-12 11:06 Michał Górny
2022-03-25  4:23 Sam James
2022-03-19  7:53 Agostino Sarubbo
2022-02-13 23:18 Jakov Smolić
2022-01-29 16:14 Sam James
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2021-12-31 18:49 Arthur Zamarin
2021-12-17  3:07 Sam James
2021-12-10  4:40 Sam James
2021-12-10  0:27 Sam James
2021-11-18 22:22 Mike Gilbert
2021-11-18 22:22 Mike Gilbert
2021-07-05 22:35 Sam James
2021-07-02  6:28 Agostino Sarubbo
2021-07-02  6:27 Agostino Sarubbo
2021-07-02  4:10 Sam James
2021-07-02  4:09 Sam James
2021-07-01 21:15 Conrad Kostecki
2021-06-29  5:53 Yixun Lan
2021-06-09 20:10 Mike Gilbert
2021-06-06 17:04 Mike Gilbert
2021-06-06 17:04 Mike Gilbert
2021-06-06 17:04 Mike Gilbert
2021-06-06 17:04 Mike Gilbert
2021-06-04 19:51 Mike Gilbert
2021-06-02 16:44 Sam James
2021-06-02 10:39 Sam James
2021-06-01 15:29 Sam James
2021-05-31 23:04 Mike Gilbert
2021-05-31 23:04 Mike Gilbert
2021-05-09 13:44 Mike Gilbert
2021-05-05 12:14 Agostino Sarubbo
2021-05-03 16:55 Sam James
2021-04-09 22:32 Mike Gilbert
2021-04-09 22:32 Mike Gilbert
2021-04-05 23:51 Thomas Deutschmann
2021-03-26 14:38 Mike Gilbert
2021-01-30 16:14 Sam James
2021-01-21  7:40 Agostino Sarubbo
2021-01-07 20:15 Sam James
2020-11-24 11:25 Sam James
2020-11-24  7:42 Agostino Sarubbo
2020-11-24  7:41 Agostino Sarubbo
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-10-09  8:40 Agostino Sarubbo
2020-10-04 23:45 Sam James
2020-10-01 23:06 Sergei Trofimovich
2020-09-25 21:49 Sam James
2020-09-25 10:20 Michał Górny
2020-09-24 14:26 Mike Gilbert
2020-09-24 14:26 Mike Gilbert
2020-09-21 17:48 Michał Górny
2020-09-21 15:30 Michał Górny
2020-09-20  8:43 Sergei Trofimovich
2020-09-15 18:34 Mike Gilbert
2020-09-15 18:34 Mike Gilbert
2020-09-15 18:34 Mike Gilbert
2020-09-15 18:34 Mike Gilbert
2020-07-20 14:40 Michał Górny
2020-07-04 13:53 Mike Gilbert
2020-03-28 12:42 Michał Górny
2020-03-15 12:24 Mikle Kolyada
2020-03-10 10:33 Agostino Sarubbo
2020-03-10  8:56 Agostino Sarubbo
2020-03-10  8:55 Agostino Sarubbo
2020-03-09 19:29 Mike Gilbert
2020-03-09 19:29 Mike Gilbert
2020-03-09 19:29 Mike Gilbert
2020-01-01 22:10 Mike Gilbert
2020-01-01 19:43 Agostino Sarubbo
2019-12-31  8:19 Agostino Sarubbo
2019-12-31  8:18 Agostino Sarubbo
2019-12-31  8:15 Agostino Sarubbo
2019-12-29 19:34 Mike Gilbert
2019-12-29 19:34 Mike Gilbert
2019-12-29 19:34 Mike Gilbert
2019-12-06 20:25 Mike Gilbert
2019-12-06 20:25 Mike Gilbert
2019-12-06 20:25 Mike Gilbert
2019-09-29  2:56 Mike Gilbert
2019-09-13 17:27 Mikle Kolyada
2019-08-28 12:54 Agostino Sarubbo
2019-08-23 10:06 Agostino Sarubbo
2019-08-22 22:01 Agostino Sarubbo
2019-08-19  6:58 Sergei Trofimovich
2019-08-16 17:03 Mike Gilbert
2019-08-16 17:03 Mike Gilbert
2019-07-28 14:07 Mikle Kolyada
2019-06-28 18:10 Mike Gilbert
2019-06-27 12:15 Agostino Sarubbo
2019-06-22  9:38 Sergei Trofimovich
2019-06-22  9:32 Sergei Trofimovich
2019-06-22  8:26 Sergei Trofimovich
2019-06-18 15:59 Mike Gilbert
2019-06-18 15:59 Mike Gilbert
2019-04-19 16:39 Mike Gilbert
2019-04-19 16:39 Mike Gilbert
2019-02-25 21:25 Mike Gilbert
2018-12-11 17:48 Mike Gilbert
2018-11-27 20:57 Tobias Klausmann
2018-11-17 15:34 Mikle Kolyada
2018-10-28 17:25 Sergei Trofimovich
2018-10-20 11:46 Sergei Trofimovich
2018-10-20 11:35 Sergei Trofimovich
2018-10-19 17:39 Mike Gilbert
2018-10-02 20:08 Mike Gilbert
2018-08-22 19:01 Mike Gilbert
2018-07-07  2:03 Mike Gilbert
2018-06-27 21:54 Sergei Trofimovich
2018-05-17 17:17 Mikle Kolyada
2018-05-14 19:21 Tobias Klausmann
2018-05-01  8:07 Sergei Trofimovich
2018-04-30 15:58 Mike Gilbert
2018-04-22  9:26 Mikle Kolyada
2018-04-03 15:28 Jonas Stein
2018-03-13 22:14 Sergei Trofimovich
2018-03-08 19:33 Mike Gilbert
2018-03-05 21:31 Tobias Klausmann
2018-02-23 22:45 Sergei Trofimovich
2018-02-22  9:49 Jason Zaman
2018-02-21 20:34 Mike Gilbert
2018-02-13 20:11 Thomas Deutschmann
2018-02-12 21:11 Jonas Stein
2018-01-28 16:59 Tobias Klausmann
2018-01-08 21:31 Mike Gilbert
2018-01-02 11:08 Mike Frysinger
2017-11-24  6:15 Markus Meier
2017-11-19 19:16 Sergei Trofimovich
2017-11-18 20:44 Sergei Trofimovich
2017-11-18 19:32 Sergei Trofimovich
2017-10-30  1:08 Manuel Rüger
2017-10-01  0:04 Thomas Deutschmann
2017-09-21 21:06 Mike Gilbert
2017-07-23 11:05 Alexey Shvetsov
2017-05-09 18:43 Michał Górny
2016-12-08 20:37 Patrice Clement
2016-07-04  3:10 Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1720529484.100044ece5d89f1cb08c58b06ce991b7a549ea3d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox