From: Morgan Smith <Morgan.J.Smith@outlook.com>
To: 72564@debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith@outlook.com>
Subject: [bug#72564] [PATCH 2/6] gnu: Add python-protobuf-5.
Date: Sat, 10 Aug 2024 13:27:08 -0400 [thread overview]
Message-ID: <CH3PR84MB3424BEAD5F7CA4A934C15A68C5BB2@CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
* gnu/packages/protobuf.scm (python-protobuf-5): New variable.
Change-Id: Ic181a92bc0e3eb66adf535d98b192cbb006028ad
---
gnu/packages/protobuf.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index d47b67fa61..f1a3259709 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -426,6 +426,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.45.2
next parent reply other threads:[~2024-08-10 17:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
2024-08-10 17:27 ` Morgan Smith [this message]
2024-08-10 17:27 ` [bug#72564] [PATCH 3/6] gnu: Add python-omemo-dr Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 4/6] gnu: gajim: Update to 1.9.3 Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 5/6] gnu: Remove gajim-omemo Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 6/6] gnu: gajim-openpgp: Update to 1.6.1 Morgan Smith
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=CH3PR84MB3424BEAD5F7CA4A934C15A68C5BB2@CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM \
--to=morgan.j.smith@outlook.com \
--cc=72564@debbugs.gnu.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.