From: Luca Matei Pintilie via Guix-patches via <guix-patches@gnu.org>
To: 72564@debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith@outlook.com>,
Luca Matei Pintilie <luca@lucamatei.com>,
lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com,
sharlatanus@gmail.com, tanguy@bioneland.org, jga@debbugs.gnu.org
Subject: [bug#72564] [PATCH v2 2/6] gnu: Add python-protobuf-5.
Date: Sat, 23 Nov 2024 17:58:51 +0100 [thread overview]
Message-ID: <20241123165855.23312-2-luca@lucamatei.com> (raw)
In-Reply-To: <20241123165855.23312-1-luca@lucamatei.com>
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/protobuf.scm (python-protobuf-5): New variable.
Change-Id: Ic181a92bc0e3eb66adf535d98b192cbb006028ad
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
---
gnu/packages/protobuf.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index b8679eff25..59f49c8cf4 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -436,6 +436,39 @@ (define-public python-nanopb
(propagated-inputs (list python-protobuf))
(synopsis "Small code-size Protocol Buffers implementation in Python")))
+(define-public python-protobuf-5
+ (package
+ (name "python-protobuf")
+ (version "5.27.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "protobuf" version))
+ (sha256
+ (base32
+ "0b6qxb6hnhzmiz1wnjrjdmwxx2ddv9zr86p89vivgwj0wq1hjil2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; FIXME: ImportError: 'testing_refleaks' module incorrectly imported from
+ ;; '/gnu/store/...-python-protobuf-5.27.3/lib/python3.10/site-packages/google/protobuf/internal'.
+ ;; Expected '/tmp/guix-build-python-protobuf-5.27.3.drv-0/protobuf-5.27.3/google/protobuf/internal'.
+ ;; Is this module globally installed?
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "unittest" )))))))
+ (inputs (list protobuf))
+ (home-page "https://github.com/protocolbuffers/protobuf")
+ (synopsis "Protocol buffers is a data interchange format")
+ (description
+ "Protocol buffers are a language-neutral, platform-neutral extensible
+mechanism for serializing structured data.")
+ (license license:bsd-3)))
+
(define-public python-protobuf
(package
(name "python-protobuf")
--
2.47.0
next prev parent reply other threads:[~2024-11-23 17:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-10 17:16 [bug#72564] [PATCH 0/6] gnu: gajim: Update to 1.9.3 Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 1/6] gnu: python-nbxmpp: Update to 5.0.3 Morgan Smith
2024-11-23 15:22 ` [bug#72564] QA review for 72564 Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 1/6] gnu: python-nbxmpp: Update to 5.0.3 Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` Luca Matei Pintilie via Guix-patches via [this message]
2024-11-23 16:58 ` [bug#72564] [PATCH v2 3/6] gnu: Add python-omemo-dr Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 4/6] gnu: gajim: Update to 1.9.3 Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 5/6] gnu: Deprecate gajim-omemo Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 6/6] gnu: gajim-openpgp: Update to 1.6.1 Luca Matei Pintilie via Guix-patches via
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241123165855.23312-2-luca@lucamatei.com \
--to=guix-patches@gnu.org \
--cc=72564@debbugs.gnu.org \
--cc=Morgan.J.Smith@outlook.com \
--cc=jga@debbugs.gnu.org \
--cc=lars@6xq.net \
--cc=luca@lucamatei.com \
--cc=marius@gnu.org \
--cc=me@bonfacemunyoki.com \
--cc=sharlatanus@gmail.com \
--cc=tanguy@bioneland.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).