From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qPLAFzwKQmdENAEAe85BDQ:P1 (envelope-from ) for ; Sat, 23 Nov 2024 17:00:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qPLAFzwKQmdENAEAe85BDQ (envelope-from ) for ; Sat, 23 Nov 2024 18:00:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51E101AA40 for ; Sat, 23 Nov 2024 18:00:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEtUW-0000V8-ML; Sat, 23 Nov 2024 12:00:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEtUM-0000QI-10 for guix-patches@gnu.org; Sat, 23 Nov 2024 12:00:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEtUL-0002GY-LE; Sat, 23 Nov 2024 12:00:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=RBa3LorB9RLmby5KhN5KqDI/onhvQL2GWu2mNwApTzs=; b=BFpKr7KKj2UkLWBiS6/3TF+pXaFipO8FQNuLfPlZOCo36okIJkDSc7IvL7p9Q8nGIU59FtUUopO1oCrk8xMDln7zLet1EoHco0j3P6EKypUdkEeiGcAE8ehL2QIJzmsPzGhaS4yqF+/oVOXJjy/WDqyuUqpPXEm1N7XWHITx7O+/lsMAgaUU63KfbCBJk426xlD26UsCOYPeKoXtsg0F0Og4hxORRiWHpJNUik9QyT3/+hjtINwKFLVQC8fDaMqWO83u0OvHNqzs+PiOIzBUQ1uHBR02sr/8vNlnzimQp7O/J1c/33QiMPLMUiCwbMM/xA5QsnEzmY5XnlEcniy1kA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEtUL-0000sD-AT; Sat, 23 Nov 2024 12:00:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72564] [PATCH v2 2/6] gnu: Add python-protobuf-5. Resent-From: Luca Matei Pintilie Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jga@debbugs.gnu.org, guix-patches@gnu.org Resent-Date: Sat, 23 Nov 2024 17:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72564 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72564@debbugs.gnu.org Cc: Morgan Smith , Luca Matei Pintilie , lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jga@debbugs.gnu.org X-Debbugs-Original-Xcc: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jga Received: via spool by 72564-submit@debbugs.gnu.org id=B72564.17323811943249 (code B ref 72564); Sat, 23 Nov 2024 17:00:05 +0000 Received: (at 72564) by debbugs.gnu.org; 23 Nov 2024 16:59:54 +0000 Received: from localhost ([127.0.0.1]:58861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEtUA-0000qI-4w for submit@debbugs.gnu.org; Sat, 23 Nov 2024 11:59:54 -0500 Received: from out-175.mta1.migadu.com ([95.215.58.175]:37904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEtU7-0000ph-Dr for 72564@debbugs.gnu.org; Sat, 23 Nov 2024 11:59:52 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucamatei.com; s=key1; t=1732381150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RBa3LorB9RLmby5KhN5KqDI/onhvQL2GWu2mNwApTzs=; b=vmA9bDiMSRzqEaDU5IhB7+N5W5hkhvO/Fyr8qCfbCfLM4oIkgMcqEXl2QJ9Kmgzn8Ify8l 5EKZLinCw77gx6MPw0YKD9eV4UACE9el4Xv7VYW3IoVfMqJsf7GBbmuhzekRhypzCBxJpH IzHl9GqeicMEBeUvX7YgrHHrnGukwk7rI2XHeUXO/DKGCPhhXJVy2z0LzszzIYZL3vYOqN RxMPofABXTrwC6xiZBETRZ2fsMjIlAynTIObtTuBl4hBuQS8McW0uDEzr0BXto/WWV2aaq bv8zFbrzyhkTYxwIe4bGhBzRbuJLQQhJ7rGScXYICjAJhjk4Cp7jW1xqcnlq1g== Date: Sat, 23 Nov 2024 17:58:51 +0100 Message-ID: <20241123165855.23312-2-luca@lucamatei.com> In-Reply-To: <20241123165855.23312-1-luca@lucamatei.com> References: <20241123165855.23312-1-luca@lucamatei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Luca Matei Pintilie X-ACL-Warn: , Luca Matei Pintilie via Guix-patches From: Luca Matei Pintilie via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.00 X-Spam-Score: -4.00 X-Migadu-Queue-Id: 51E101AA40 X-Migadu-Scanner: mx12.migadu.com X-TUID: DBLYu+4M/OKr From: Morgan Smith * gnu/packages/protobuf.scm (python-protobuf-5): New variable. Change-Id: Ic181a92bc0e3eb66adf535d98b192cbb006028ad Signed-off-by: Luca Matei Pintilie --- 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