From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: csantosb@inventati.org, ekaitz@elenq.tech, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 08 Apr 2025 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77645@debbugs.gnu.org Cc: Cayetano Santos , Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.174412107215937 (code B ref -1); Tue, 08 Apr 2025 14:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2025 14:04:32 +0000 Received: from localhost ([127.0.0.1]:34239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u29Z0-00048r-At for submit@debbugs.gnu.org; Tue, 08 Apr 2025 10:04:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39616) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u29Yx-00046g-1s for submit@debbugs.gnu.org; Tue, 08 Apr 2025 10:04:27 -0400 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 1u29YG-0001n3-Qg for guix-patches@gnu.org; Tue, 08 Apr 2025 10:03:46 -0400 Received: from latitanza.investici.org ([82.94.249.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u29YC-0004ms-Tf for guix-patches@gnu.org; Tue, 08 Apr 2025 10:03:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744121017; bh=AgtGf2bWgIZ++9L8oxlMsdJAQ6mSpN+M+40zl52YGPE=; h=From:To:Cc:Subject:Date:From; b=f9V29TbbHDLe7aC3PvhyKmGYs7ukhS2Cz6YEJ1eUsQTbK8qrTFRKgcbokddYDJB9V wz8Otk/Bh9vRfjUONrhmJrNnlUliPsNxIbPSVeEZw+kYW7/6X39u9j9G5r5IhIdB3v I9iB89NKQtDH+XscaVEyA7JmZeqhaVGk6+Hh4X7w= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZX78n0kthzGp5d; Tue, 8 Apr 2025 14:03:37 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZX78m6Z7pzGp4H; Tue, 8 Apr 2025 14:03:36 +0000 (UTC) From: Cayetano Santos Date: Tue, 8 Apr 2025 16:03:01 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=82.94.249.234; envelope-from=csantosb@inventati.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/electronics.scm (python-surf): New variable. Change-Id: Iddedfd5acfe3dbe04e092de27b42b6fdf1c95fb1 --- gnu/packages/electronics.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 09875e4d63..bbd9c03ea9 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -64,7 +64,8 @@ (define-module (gnu packages electronics) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages stb) - #:use-module (gnu packages toolkits)) + #:use-module (gnu packages toolkits) + #:use-module (gnu packages version-control)) (define-public libserialport (package @@ -597,3 +598,36 @@ (define-public python-vsg "VSG lets you define a VHDL coding style and provides a command-line tool to enforce it.") (license license:gpl3+))) + +(define-public python-surf + (package + (name "python-surf") + (version "2.57.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slaclab/surf/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ncb34mdxaw0m6cnk7kvl7mkhwa6hpcxkc2lgarwcmmnfydr8kg3")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-deps + (lambda _ + (invoke "git" "init") ;expects a git repo + ;; fix version + (substitute* "setup.py" + (("rawVer .*") + (string-append "rawVer = \"v" + #$version "\"")))))))) + (native-inputs (list python-setuptools python-wheel python-gitpython + git-minimal/pinned)) + (home-page "https://slaclab.github.io/surf/") + (synopsis "SLAC Ultimate RTL Framework") + (description "A huge VHDL library for FPGA development.") + (license license:bsd-3))) base-commit: 1dab24555a494beb3db5a335c675f07043e77f1c -- 2.49.0 From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Apr 2025 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Cayetano Santos Cc: 77645@debbugs.gnu.org Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.174413988225993 (code B ref 77645); Tue, 08 Apr 2025 19:19:02 +0000 Received: (at 77645) by debbugs.gnu.org; 8 Apr 2025 19:18:02 +0000 Received: from localhost ([127.0.0.1]:35542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2ESQ-0006l1-4s for submit@debbugs.gnu.org; Tue, 08 Apr 2025 15:18:02 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:54374) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2ESM-0006kS-OY for 77645@debbugs.gnu.org; Tue, 08 Apr 2025 15:17:59 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8319C568; Tue, 8 Apr 2025 21:17:51 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id 4FmHtW7t9WJA; Tue, 8 Apr 2025 21:17:50 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A100029C; Tue, 8 Apr 2025 21:17:47 +0200 (CEST) Date: Tue, 8 Apr 2025 21:17:42 +0200 From: Andreas Enge Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: hera X-Spamd-Bar: +++++ X-Rspamd-Queue-Id: 8319C568 X-Spamd-Result: default: False [5.40 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_SPAM(3.00)[1.000]; BAYES_HAM(-3.00)[99.99%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Spam-Level: ***** X-Rspamd-Action: greylist X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Cayetano, Am Tue, Apr 08, 2025 at 04:03:01PM +0200 schrieb Cayetano Santos: > + (description "A huge VHDL library for FPGA development.") could you please replace this by full sentences, preferably a little longer than just some keywords, and without marketing speak such as "huge"? I do not know if you have run "guix lint" on the package, which is always a good idea. Thanks, Andreas From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH v2] gnu: Add python-surf. References: In-Reply-To: Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: csantosb@inventati.org, ekaitz@elenq.tech, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 09 Apr 2025 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77645@debbugs.gnu.org Cc: Cayetano Santos , Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer X-Debbugs-Original-Xcc: Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.174418656220219 (code B ref 77645); Wed, 09 Apr 2025 08:17:01 +0000 Received: (at 77645) by debbugs.gnu.org; 9 Apr 2025 08:16:02 +0000 Received: from localhost ([127.0.0.1]:37262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2QbK-0005Fv-2P for submit@debbugs.gnu.org; Wed, 09 Apr 2025 04:16:02 -0400 Received: from latitanza.investici.org ([82.94.249.234]:29617) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2QbH-0005FN-1L for 77645@debbugs.gnu.org; Wed, 09 Apr 2025 04:16:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744186557; bh=YUYaOQh2cpAzerX3x75qKSFCud9xXeEywDZGBAkN4SY=; h=From:To:Cc:Subject:Date:From; b=UnxfZHuieAbCPsLSdv0fVg94alYGMzTuRXmOmSxEd8/Ob4wU8yuW9AEtSxMpSN5UD FBiq0r8H1dkn3m1mJZJ3tI1sfGyQaiu1+tDVncA2ymwQVk7PyosrftegATgTktCu1q gue5bZnuOf2TJCmdRKZrWxN1JuUqiWqDNj7qV+DU= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZXbP93SgbzGp6b; Wed, 9 Apr 2025 08:15:57 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZXbP92GG4zGp6T; Wed, 9 Apr 2025 08:15:57 +0000 (UTC) From: Cayetano Santos Date: Wed, 9 Apr 2025 10:15:32 +0200 Message-ID: <621e613d252450f05059a2eaf746970f559faf7b.1744186532.git.csantosb@inventati.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/electronics.scm (python-surf): New variable. Change-Id: Iddedfd5acfe3dbe04e092de27b42b6fdf1c95fb1 --- gnu/packages/electronics.scm | 39 +++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 09875e4d63..74d9426420 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -64,7 +64,8 @@ (define-module (gnu packages electronics) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages stb) - #:use-module (gnu packages toolkits)) + #:use-module (gnu packages toolkits) + #:use-module (gnu packages version-control)) (define-public libserialport (package @@ -597,3 +598,39 @@ (define-public python-vsg "VSG lets you define a VHDL coding style and provides a command-line tool to enforce it.") (license license:gpl3+))) + +(define-public python-surf + (package + (name "python-surf") + (version "2.57.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slaclab/surf/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ncb34mdxaw0m6cnk7kvl7mkhwa6hpcxkc2lgarwcmmnfydr8kg3")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-deps + (lambda _ + (invoke "git" "init") ;expects a git repo + ;; fix version + (substitute* "setup.py" + (("rawVer .*") + (string-append "rawVer = \"v" + #$version "\"")))))))) + (native-inputs (list python-setuptools python-wheel python-gitpython + git-minimal/pinned)) + (home-page "https://slaclab.github.io/surf/") + (synopsis "SLAC Ultimate RTL Framework") + (description + "Surf is a python library with support functions for VHDL gateware +digital design. It provides implementation modules compatible with FPGA and ASIC +design.") + (license license:bsd-3))) base-commit: 1dab24555a494beb3db5a335c675f07043e77f1c -- 2.49.0 From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. References: In-Reply-To: Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Apr 2025 20:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77645@debbugs.gnu.org Cc: andreas@enge.fr, csantosb@inventati.org Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.17445773207319 (code B ref 77645); Sun, 13 Apr 2025 20:49:01 +0000 Received: (at 77645) by debbugs.gnu.org; 13 Apr 2025 20:48:40 +0000 Received: from localhost ([127.0.0.1]:44111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u44Fr-0001tz-LO for submit@debbugs.gnu.org; Sun, 13 Apr 2025 16:48:39 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:44318) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u44Fo-0001th-2E for 77645@debbugs.gnu.org; Sun, 13 Apr 2025 16:48:37 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43cfe574976so25446565e9.1 for <77645@debbugs.gnu.org>; Sun, 13 Apr 2025 13:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744577310; x=1745182110; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=g+xQcCk2zCG/DNVBm8E8auLru9Btfi1DC9BS/Yo0Gno=; b=lyTscRUVmapNZzvgCQLJfe/hkJddIV4CuXO8vmz0F/FY2/Cpyj3sTiBxGnlTQ925ru cyXN7nnYNzUcA+cIYutr809K/ingLPKjcRRO8tznk1Qc77htZ+phTtEGTjx2GC+HtVue YuiO34vPbF23txShFWADgxxPbqYR/v4SKjsV1Mmhum9I1UynAGqk1VnrQ7IGtFnzMoOO XYXkcV9xidwkPGcIZWykE3AkykI1/0VUH9MnxiVPv8xMXefKEQOWzORllBQB809AjDaa YKLPKOHdOghM+qTH5vK5wpzqmy+rcxBcSHcq1t/G3SEdz1HvGMa7rr38UZZeTBYcDhta ws0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744577310; x=1745182110; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g+xQcCk2zCG/DNVBm8E8auLru9Btfi1DC9BS/Yo0Gno=; b=lw995NRWWk3XR2EKL3rvJUlQCrDoV77sdv+k5HFmRYN1zlBYKmw4Ew38xWVcBcVhq8 JP9vu8kg05tkE5ztTXtb+shnSSOy6kyoa8/VjoKBFEK2WwiiFITMin1/qmkmcxKaEKL1 BxlZvpkuyup2WxN5DAAqPg46PrTAZUzNP0t8tPc99k0dYDBk4z+8XHwnkgHEREslqTLD RkZiUtGz99MC5M/qcs1ks6VowjyrmQP9AjdkN3GVEMFUVC1hwc548cHYxHIoSoWn3Im0 +AhrKFAr2EE46IS9/rGmlls69dk1KPAY0zPEkKOufGA5Aij1YjsNVTbZo+p9qCTPQpAg oSYw== X-Gm-Message-State: AOJu0YyynB54agcX3QSIGeUtx7eTO73LdgDZfc/sUMaORblVu0FTe22L +XUp9svuMjWVAZy/+ihXZQTzsSWGSNzyR1yM35yApl1LL82Bd+ui X-Gm-Gg: ASbGnctKm+wNpzGOKF1OwvfUSX9tcNaTuTtYe1PdsHQgRc5eWA5cF/3nkGy4m22Jkh0 YgeSk3yTAUw27xFvUXSDYQBXAAdWTIJBK9NgOsPywzoVcynfFZmtFly6Qq094S68cjsMdGBa76C OdlHT0ffYIBxYO9ougrgyhiS+bHkHtMTRszAZahBCzIcbw/gJX6bJNJ/+zphbS0QUHADjDctEfU 91fcDeTOhmmtHbimzzaIveeIvUVIqvJnVDbK+oLzLKjKIurBGZWhErVmqcXqw/TnKFAZOaVRsXU j+quxxo2C4eCQs/Y0txJjQQ+oIFBZD/7wQxvjY4Ps0QpI1u20iSVZqnpHvWiTTAYNvAJUYBNUCQ 4S2MHZEZxSnpGPnaR X-Google-Smtp-Source: AGHT+IEQ4XKYbAjmvSOLJtp/XZ7uF2RdXeb/VSrCZTdozTRNQ2G76TCxCsY0V7rtBmrwLbYYNQdt0w== X-Received: by 2002:a05:6000:2508:b0:39c:3475:b35a with SMTP id ffacd0b85a97d-39ea5217b96mr8060190f8f.28.1744577309691; Sun, 13 Apr 2025 13:48:29 -0700 (PDT) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39ed15caa5asm3830388f8f.20.2025.04.13.13.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Apr 2025 13:48:28 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 13 Apr 2025 21:48:28 +0100 Message-ID: <87jz7neqjn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I'm not sure if this patch may be accepted to Guix because of the licence: =2D-8<---------------cut here---------------start------------->8--- Copyright (c) 2025, The Board of Trustees of the Leland Stanford Junior=20 University, through SLAC National Accelerator Laboratory (subject to receip= t=20 of any required approvals from the U.S. Dept. of Energy). All rights reserv= ed.=20 Redistribution and use in source and binary forms, with or without=20 modification, are permitted provided that the following conditions are met: =2D-8<---------------cut here---------------end--------------->8--- =2D- Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmf8IxwWHHNoYXJsYXRh bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStXg6D/9SnMQSPouW/w38ga+vk5vSBuWm 93Gt840LZR/v+4exTCF8rkMvHbaGje9qg/8UddVm3gpiTT8WkiSUO2CL608XqCLZ F/bB+QSPiJgQXn2T/BpwVpUhI91VeyeInKI5qkBlPlXKs1e0HDGUgmAMdSe+Z8JQ UNbpjTjrKLgbdbT5UMS5W0qgH+eN3idQ0yNvR2LPT4AoZ4k9+vm/aLhTq7xMEb8v Ggs6USPUcV1rEbj/QF9lfE7S5ESSvkBqU3ApLyRPOztcnGmTMtYskKY/r3Gsa7rA 7VW+DC5hECdfVvAD250YT2DFqfFk7udD7gHPr6DhBergh5Vv/GTpU9ZYBuC6/QC2 2fwHYgnvfqXCz3TnpreF4FULyNH7hLD5HA7PFla+fY4+V9JwX0J9O9bWMQCm2irg TotWo33LzGrs7fUsgxURH6l6iDpf3mn2UG5Q/XdoPl6Inwvp3NSFhYutzcXVAwI9 a/G9Eu8VwRGF1BGF5IDOrWqKSkPhXdC5uY4JdrY4LXFwhl2Yj8rStvDZCb456uxj 7VwlOi4CXEcsS6D3o8UCw/xot54YvZWNCLgh2mCez5iyDuObT8Z9btaaPkeq79PY Gtfk8b/sgQEIF+7a5kGEnzRFjP4ZuI9zJHPvjhrmYBl873s3tp0WnrJdjJGExf8m wCxWFuhB39g10xXBHQ== =MBm3 -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. References: In-Reply-To: Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Apr 2025 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77645@debbugs.gnu.org Cc: andreas@enge.fr, csantosb@inventati.org Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.17445773347353 (code B ref 77645); Sun, 13 Apr 2025 20:49:02 +0000 Received: (at 77645) by debbugs.gnu.org; 13 Apr 2025 20:48:54 +0000 Received: from localhost ([127.0.0.1]:44114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u44G5-0001uW-Vq for submit@debbugs.gnu.org; Sun, 13 Apr 2025 16:48:54 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:57684) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u44G3-0001uE-SE for 77645@debbugs.gnu.org; Sun, 13 Apr 2025 16:48:52 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-39ac9aea656so3578268f8f.3 for <77645@debbugs.gnu.org>; Sun, 13 Apr 2025 13:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744577326; x=1745182126; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=pa9Er4TAgPl1MSnMWfeNMSphkjratBx1jkFG9boJsvs=; b=i4rPCFy2AJAdP+/m2VdvHYTCi0a7ftnOUSWTbgt79i/6CuZHKSRx1ePbfrDITNxh9k myFJ6xr9+TNl22oed2Py3eEvzh9gS7pWinHQjwCIUJSH+lUm9Ntsaw/+L8o5rEboldV4 AtFAUy1n7Nnc43oG7CJ6c3a8At24RSi6K94WcQJtgRUdoFDA26DyrMtADwBAe7JCYoZ3 po1XpDmmEs1PuT5Cwn6F5WzyM5opCgQHubJXsvhZoyAFCrE1N6GtKR/WKZ8X0PVLAHnj wbML5smPupGsTLiCiwQ94peqBIVwjXMHzltJqi5YeXVtedhYqU6bmjYZHBgE8bFf3lbc KRew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744577326; x=1745182126; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pa9Er4TAgPl1MSnMWfeNMSphkjratBx1jkFG9boJsvs=; b=dk5cY5qE0jMhmJPBqfczKGixg7WLBdbI8+p+lQyFI7s7dnNHc0in4US5FVcvGXxMPQ P4xM6v08CQwuzMU1EXyBVBDORPp+cxrNo9E9/yE5VyqILX2Ib4qI55y5gjPPotHPqu/1 eS3xbCwhA6szNyCId9zmGIlg/GO7uYi4ITdC6uGYi1ll/yMrKBj8bKyM1mj2Q9X/kvFg eKlTSHIjEf2NcLSIJdzp8NlZ5+UfUCXT3Qv1yBnVB6lrTXXbOC5lDX+GqdnX1tDcWGIV GHHIsm+fCpN96tqetx71BqFuzWcBgoVfX2vgqbLot/1I2Rq4YSzPOZKLNMRElrtI0MSR b9Kg== X-Gm-Message-State: AOJu0YzY5qYlrGKoslO9oN06jRv1vWM8cxHmrrD8V+a0tXFXbING6WPh PEaOFVGx0e2+5nH7JLoE/SlGsEw6axWRvnNotcBqJYWyncP6eiyY X-Gm-Gg: ASbGnctlsXeaS1Rpjhf+d2ahsfgW3m4caymxvNDJyHwGTXREoJTp8fs9e2d1YOthZi+ rqLa/wm3J0Bja4MknFiZbPAqMDJWfBB/ppdTmWujZ5Ws5zMBjXOK/yrH62o6svPDhYRyaz0xtPZ +uFgbd4gtbuy5PtYu7y/V+cRbCvbrU7zIbthl1PYBtif8bmBqlrQRrJfEkNQWPFNZGJlmNT9inz phWR8IbpOKOse1I3y9EEC08Tk6zW2OG4bl1K2XpBzrd2gqXQre5sK16Kgr5mILYVck0y3i8RLbr orzkye2csCyLvbUIVn3Fa+ylfwufl6+LXBkC09qL3ZzwScJa5TypfZgqmg7yG1Ke7OiM+5TKMgL ePlNKatBX297utugv X-Google-Smtp-Source: AGHT+IHnY7Jx0mubDFH7GCU36Y3sG92/U+tYSWVV/6NDdm8e/Lu2Cks6hiv2mMzDiwNtVLsCRe5hcQ== X-Received: by 2002:a05:6000:1863:b0:391:2dea:c9a5 with SMTP id ffacd0b85a97d-39ea5203723mr7851085f8f.20.1744577325586; Sun, 13 Apr 2025 13:48:45 -0700 (PDT) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43f205ecf30sm157791485e9.1.2025.04.13.13.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Apr 2025 13:48:44 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 13 Apr 2025 21:48:43 +0100 Message-ID: <87ikn7eqj8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I'm not sure if this patch may be accepted to Guix because of the licence: =2D-8<---------------cut here---------------start------------->8--- Copyright (c) 2025, The Board of Trustees of the Leland Stanford Junior=20 University, through SLAC National Accelerator Laboratory (subject to receip= t=20 of any required approvals from the U.S. Dept. of Energy). All rights reserv= ed.=20 Redistribution and use in source and binary forms, with or without=20 modification, are permitted provided that the following conditions are met: =2D-8<---------------cut here---------------end--------------->8--- =2D- Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmf8IysWHHNoYXJsYXRh bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStUmdD/0R64bm/wf/7kg1/Qv/arNkgH6U UFcrJufleC8Xf0WbKVcOR9olVq6fJpN6ptqPrw9FTm1CeKad1Sk2UvGfqJMCmcP+ /xclqL4n7m+c4nUHI9ga6wU27SAsTkVCGQY/YTcBM+AVAr14eFHw00pL++12WBIu PjVL6nbYlloi3rJABsxqd0iskj9EtpZ4xBb89U0fsaueH5VmbUj97o+38rpxUre2 1IFVOvkSYVxTVXWZIxF/4X8js7MJMPab/teeRd0i4i4b2RUM+PYbSmU03dI2QJam Id4435MpdZeentHvT4AqxbbKxtxbcoR4Nriq2XO7BQCpUYtkxwj78aKXLqGm9rnR MehrtPqAi5Y1nFs+jDzNsho2fH+MXIX1fBDjgFsilbovoeBf0TcHx5b6ta1ZD+lw vbxG3yr0DV8t7XOZQMZTcI3ckwlBKCIJoyBrIjsF2UoGwyKjAKaazQ0qpxevpZw3 arYYYzGQTFXg957vKTO3CrRxPQOIaJG+AN0kp6lzdkoEnbK/P9KQ6xG04WDMObGE wkJ6sq7fHw/o0+qTYpbqrV2/mNlPFwR4zEe7Gvkb74tEhfH9iyEEubjvL2OZz6VC DuP0MPhr0GMFTLmi4tASJs+e8p4M0mN4zApCcR7CMRL+FvCAhJ0tZVhQL1ldOnnG YQwaNQkEecLmrb0Y8A== =1of+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Apr 2025 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sharlatan Hellseher Cc: csantosb@inventati.org, 77645@debbugs.gnu.org Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.17446180647850 (code B ref 77645); Mon, 14 Apr 2025 08:08:02 +0000 Received: (at 77645) by debbugs.gnu.org; 14 Apr 2025 08:07:44 +0000 Received: from localhost ([127.0.0.1]:45593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4Er2-00022X-4d for submit@debbugs.gnu.org; Mon, 14 Apr 2025 04:07:44 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:34748) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4Eqy-00022D-IW for 77645@debbugs.gnu.org; Mon, 14 Apr 2025 04:07:41 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 08C02127; Mon, 14 Apr 2025 10:07:34 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id UOG1M078Eevi; Mon, 14 Apr 2025 10:07:33 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3054D31; Mon, 14 Apr 2025 10:07:31 +0200 (CEST) Date: Mon, 14 Apr 2025 10:07:28 +0200 From: Andreas Enge Message-ID: References: <87jz7neqjn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87jz7neqjn.fsf@gmail.com> X-Rspamd-Queue-Id: 08C02127 X-Spamd-Result: default: False [-9.60 / 15.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-3.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCPT_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Spamd-Bar: --------- X-Rspamd-Server: hera X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Oleg, thanks for looking at the license, that is always an important step in package submission and acceptance. Am Sun, Apr 13, 2025 at 09:48:28PM +0100 schrieb Sharlatan Hellseher: > --8<---------------cut here---------------start------------->8--- > Copyright (c) 2025, The Board of Trustees of the Leland Stanford Junior > University, through SLAC National Accelerator Laboratory (subject to receipt > of any required approvals from the U.S. Dept. of Energy). All rights reserved. > Redistribution and use in source and binary forms, with or without > modification, are permitted provided that the following conditions are met: > --8<---------------cut here---------------end--------------->8--- > The license given there is essentially the bsd-3 license: https://directory.fsf.org/wiki/License:BSD-3-Clause with "the author" replaced by the actual name of the copyright holder. So it is fine to add the package to Guix; I think we use the (define* (non-copyleft uri #:optional (comment "")) "Return a lax, permissive, non-copyleft license (for example a variant of the 3-clause BSD license or the Expat license), whose full text can be found at URI, which may be a file:// URI pointing the package's tree." (license "non-copyleft" uri (string-append "This is a lax, non-copyleft free software license. " "Check the URI for details. " comment))) form of the license in this case, for "a variant of the 3-clause BSD license". Andreas From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH v2] gnu: Add python-surf. References: In-Reply-To: Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: csantosb@inventati.org, ekaitz@elenq.tech, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 14 Apr 2025 08:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77645@debbugs.gnu.org Cc: Cayetano Santos , Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer X-Debbugs-Original-Xcc: Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.174462055715749 (code B ref 77645); Mon, 14 Apr 2025 08:50:02 +0000 Received: (at 77645) by debbugs.gnu.org; 14 Apr 2025 08:49:17 +0000 Received: from localhost ([127.0.0.1]:45692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4FVE-00045w-O5 for submit@debbugs.gnu.org; Mon, 14 Apr 2025 04:49:17 -0400 Received: from devianza.investici.org ([198.167.222.108]:56033) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4FVB-00045l-Ak for 77645@debbugs.gnu.org; Mon, 14 Apr 2025 04:49:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744620551; bh=Bpp080L1hBhWmptSy9hI9bs0H4UnUH31guI6Gelx0JA=; h=From:To:Cc:Subject:Date:From; b=fEAEAR/vjaDdw2FN9WlVPiE2JyQcavfFDHGK2pwyhks6L9rhVYX4gLMjhrazFn6Yu YDtgLzjzBeM/X7oTYRP6EeLoR11xGwBUBKIAw6xQA1vFUtRqIqpEBAI75i3Lg6fsCK TQctOJJqVEPNKoJP1wiJ/AqeFxt7wrSSUHJfbrws= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4ZbgvC5N9Bz6vLD; Mon, 14 Apr 2025 08:49:11 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZbgvC2ZtNz6vKN; Mon, 14 Apr 2025 08:49:11 +0000 (UTC) From: Cayetano Santos Date: Mon, 14 Apr 2025 10:48:16 +0200 Message-ID: <5e93fe9f53375b794d05ed806fb5e2bedfb937c6.1744620496.git.csantosb@inventati.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/electronics.scm (python-surf): New variable. Change-Id: Iddedfd5acfe3dbe04e092de27b42b6fdf1c95fb1 --- gnu/packages/electronics.scm | 39 +++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 0d2d9db73c..239a51cd3e 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -65,7 +65,8 @@ (define-module (gnu packages electronics) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages stb) - #:use-module (gnu packages toolkits)) + #:use-module (gnu packages toolkits) + #:use-module (gnu packages version-control)) (define-public libserialport (package @@ -645,3 +646,39 @@ (define-public python-vsg "VSG lets you define a VHDL coding style and provides a command-line tool to enforce it.") (license license:gpl3+))) + +(define-public python-surf + (package + (name "python-surf") + (version "2.57.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slaclab/surf/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ncb34mdxaw0m6cnk7kvl7mkhwa6hpcxkc2lgarwcmmnfydr8kg3")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-deps + (lambda _ + (invoke "git" "init") ;expects a git repo + ;; fix version + (substitute* "setup.py" + (("rawVer .*") + (string-append "rawVer = \"v" + #$version "\"")))))))) + (native-inputs (list python-setuptools python-wheel python-gitpython + git-minimal/pinned)) + (home-page "https://slaclab.github.io/surf/") + (synopsis "SLAC Ultimate RTL Framework") + (description + "Surf is a python library with support functions for VHDL gateware +digital design. It provides implementation modules compatible with FPGA and ASIC +design.") + (license license:non-copyleft))) base-commit: 98a6071b5a49dc160824617a1d359932962763f8 -- 2.49.0 From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Apr 2025 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andreas Enge Cc: Sharlatan Hellseher , 77645@debbugs.gnu.org Received: via spool by 77645-submit@debbugs.gnu.org id=B77645.174462062616268 (code B ref 77645); Mon, 14 Apr 2025 08:51:02 +0000 Received: (at 77645) by debbugs.gnu.org; 14 Apr 2025 08:50:26 +0000 Received: from localhost ([127.0.0.1]:45715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4FWL-0004EJ-Ls for submit@debbugs.gnu.org; Mon, 14 Apr 2025 04:50:26 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:47301) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4FWJ-0004E1-26 for 77645@debbugs.gnu.org; Mon, 14 Apr 2025 04:50:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744620620; bh=f3R+9sY3nVPd/MeZRlCS9UroqsCHmCxANm/x/QOO0yc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=icMQMdrOAHMmwmMNm3O7spuavd/csKx8il6kzDt5OPOxWUzUbt3iF/Noggklabyt/ xnr9g10Z+8Z6QJa5Q5CmY0zuy7mO0YllmCGAzZU3/KLhRMqmP7uiyzJ2QH2V/C/6Gz ojNrpJVT3UQvJKIiK4r9lnLcnIlX3NgSIb2duRNw= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZbgwX0Z8SzGp3X; Mon, 14 Apr 2025 08:50:20 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZbgwW5dKwzGp3M; Mon, 14 Apr 2025 08:50:19 +0000 (UTC) From: Cayetano Santos In-Reply-To: (Andreas Enge's message of "Mon, 14 Apr 2025 10:07:28 +0200") References: <87jz7neqjn.fsf@gmail.com> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Mon, 14 Apr 2025 10:50:18 +0200 Message-ID: <87jz7nm8j9.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain >Mon 14 Apr 2025 at 10:07, Andreas Enge wrote: > Hello Oleg, > > thanks for looking at the license, that is always an important step in > package submission and acceptance. > > Am Sun, Apr 13, 2025 at 09:48:28PM +0100 schrieb Sharlatan Hellseher: >> --8<---------------cut here---------------start------------->8--- >> Copyright (c) 2025, The Board of Trustees of the Leland Stanford Junior >> University, through SLAC National Accelerator Laboratory (subject to receipt >> of any required approvals from the U.S. Dept. of Energy). All rights reserved. >> Redistribution and use in source and binary forms, with or without >> modification, are permitted provided that the following conditions are met: >> --8<---------------cut here---------------end--------------->8--- >> > > The license given there is essentially the bsd-3 license: > https://directory.fsf.org/wiki/License:BSD-3-Clause > with "the author" replaced by the actual name of the copyright holder. > > So it is fine to add the package to Guix; I think we use the > (define* (non-copyleft uri #:optional (comment "")) > "Return a lax, permissive, non-copyleft license (for example a variant of > the 3-clause BSD license or the Expat license), whose full text can be found > at URI, which may be a file:// URI pointing the package's tree." > (license "non-copyleft" > uri > (string-append > "This is a lax, non-copyleft free software license. " > "Check the URI for details. " > comment))) > form of the license in this case, for "a variant of the 3-clause BSD > license". > > Andreas Thanks for noticing about the license. I just sent a v2 to fix it. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ/zMShccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mguMQAQDeZnvwhDcqWl0LKaxhg3SWvWz9 OWKK0Xbr11cvmQobcQD/eIBvG+0k3vGdhh2Wsic5FFo8RB2b6fPlimdbyXJyAA8= =7BdV -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 14 22:19:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Cayetano Santos Subject: bug#77645: closed (Re: [PATCH] gnu: Add python-surf.) Message-ID: References: X-Gnu-PR-Message: they-closed 77645 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 77645@debbugs.gnu.org Date: Mon, 14 Apr 2025 09:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1744621382-18531-1" This is a multi-part message in MIME format... ------------=_1744621382-18531-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77645: [PATCH] gnu: Add python-surf. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77645@debbugs.gnu.org. --=20 77645: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77645 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1744621382-18531-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77645-done) by debbugs.gnu.org; 14 Apr 2025 09:02:41 +0000 Received: from localhost ([127.0.0.1]:45756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4FiD-0004oF-Db for submit@debbugs.gnu.org; Mon, 14 Apr 2025 05:02:41 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:47526) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4FiB-0004ny-SU for 77645-done@debbugs.gnu.org; Mon, 14 Apr 2025 05:02:40 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1B7A2499; Mon, 14 Apr 2025 11:02:33 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id 943UN1soMRuS; Mon, 14 Apr 2025 11:02:32 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4767A4F2; Mon, 14 Apr 2025 11:02:22 +0200 (CEST) Date: Mon, 14 Apr 2025 11:02:20 +0200 From: Andreas Enge To: Cayetano Santos Subject: Re: [PATCH] gnu: Add python-surf. Message-ID: References: <87jz7neqjn.fsf@gmail.com> <87jz7nm8j9.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87jz7nm8j9.fsf@inventati.org> X-Rspamd-Queue-Id: 1B7A2499 X-Spamd-Result: default: False [-9.17 / 15.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-2.57)[-0.858]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_CC(0.00)[gmail.com,debbugs.gnu.org] X-Rspamd-Action: no action X-Spamd-Bar: --------- X-Rspamd-Server: hera X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77645-done Cc: Sharlatan Hellseher , 77645-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Am Mon, Apr 14, 2025 at 10:50:18AM +0200 schrieb Cayetano Santos: > Thanks for noticing about the license. I just sent a v2 to fix it. you forgot to test whether it works :) This version does not even compile, since license:non-copyleft is not a license object, but a function that returns one, see the source code I copied into my previous message. Since everything has gone through QA already, I have repaired this and pushed. Thanks! Andreas ------------=_1744621382-18531-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Apr 2025 14:04:32 +0000 Received: from localhost ([127.0.0.1]:34239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u29Z0-00048r-At for submit@debbugs.gnu.org; Tue, 08 Apr 2025 10:04:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39616) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u29Yx-00046g-1s for submit@debbugs.gnu.org; Tue, 08 Apr 2025 10:04:27 -0400 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 1u29YG-0001n3-Qg for guix-patches@gnu.org; Tue, 08 Apr 2025 10:03:46 -0400 Received: from latitanza.investici.org ([82.94.249.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u29YC-0004ms-Tf for guix-patches@gnu.org; Tue, 08 Apr 2025 10:03:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744121017; bh=AgtGf2bWgIZ++9L8oxlMsdJAQ6mSpN+M+40zl52YGPE=; h=From:To:Cc:Subject:Date:From; b=f9V29TbbHDLe7aC3PvhyKmGYs7ukhS2Cz6YEJ1eUsQTbK8qrTFRKgcbokddYDJB9V wz8Otk/Bh9vRfjUONrhmJrNnlUliPsNxIbPSVeEZw+kYW7/6X39u9j9G5r5IhIdB3v I9iB89NKQtDH+XscaVEyA7JmZeqhaVGk6+Hh4X7w= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZX78n0kthzGp5d; Tue, 8 Apr 2025 14:03:37 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZX78m6Z7pzGp4H; Tue, 8 Apr 2025 14:03:36 +0000 (UTC) From: Cayetano Santos To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-surf. Date: Tue, 8 Apr 2025 16:03:01 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Cayetano Santos , Ekaitz Zarraga , Maxim Cournoyer Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=82.94.249.234; envelope-from=csantosb@inventati.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Cayetano Santos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/electronics.scm (python-surf): New variable. Change-Id: Iddedfd5acfe3dbe04e092de27b42b6fdf1c95fb1 --- gnu/packages/electronics.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 09875e4d63..bbd9c03ea9 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -64,7 +64,8 @@ (define-module (gnu packages electronics) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages stb) - #:use-module (gnu packages toolkits)) + #:use-module (gnu packages toolkits) + #:use-module (gnu packages version-control)) (define-public libserialport (package @@ -597,3 +598,36 @@ (define-public python-vsg "VSG lets you define a VHDL coding style and provides a command-line tool to enforce it.") (license license:gpl3+))) + +(define-public python-surf + (package + (name "python-surf") + (version "2.57.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slaclab/surf/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ncb34mdxaw0m6cnk7kvl7mkhwa6hpcxkc2lgarwcmmnfydr8kg3")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-deps + (lambda _ + (invoke "git" "init") ;expects a git repo + ;; fix version + (substitute* "setup.py" + (("rawVer .*") + (string-append "rawVer = \"v" + #$version "\"")))))))) + (native-inputs (list python-setuptools python-wheel python-gitpython + git-minimal/pinned)) + (home-page "https://slaclab.github.io/surf/") + (synopsis "SLAC Ultimate RTL Framework") + (description "A huge VHDL library for FPGA development.") + (license license:bsd-3))) base-commit: 1dab24555a494beb3db5a335c675f07043e77f1c -- 2.49.0 ------------=_1744621382-18531-1-- From unknown Thu Aug 14 22:19:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77645] [PATCH] gnu: Add python-surf. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Apr 2025 09:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andreas Enge Cc: Sharlatan Hellseher , 77645-done@debbugs.gnu.org Received: via spool by 77645-done@debbugs.gnu.org id=D77645.174462250022051 (code D ref 77645); Mon, 14 Apr 2025 09:22:01 +0000 Received: (at 77645-done) by debbugs.gnu.org; 14 Apr 2025 09:21:40 +0000 Received: from localhost ([127.0.0.1]:45786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4G0a-0005jb-9B for submit@debbugs.gnu.org; Mon, 14 Apr 2025 05:21:40 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:40663) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4G0X-0005jJ-AB for 77645-done@debbugs.gnu.org; Mon, 14 Apr 2025 05:21:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744622493; bh=gD3ol2F8LO/FAwkkOlcgeVd7hT7KS3VQ1tExm/+q6ng=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qdOb65COaI9gAC8gMcAUKfmdYH4k+xL9FIwTWnss9ccf/lFoyo1FIwpN03SVdkuUD KeHRg1zFGpC9sSgD4zkGR7kljadtU2myJTfYt4/fUbeV9Lk7OtUTKWTVMOQqdLDou/ I8UqZhqX4BDvZlJtJx7Oko5XFMvv/gY5FVoQYhUw= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4ZbhcY4KG6z12N6; Mon, 14 Apr 2025 09:21:33 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZbhcY2RTyz12N5; Mon, 14 Apr 2025 09:21:33 +0000 (UTC) From: Cayetano Santos In-Reply-To: (Andreas Enge's message of "Mon, 14 Apr 2025 11:02:20 +0200") References: <87jz7neqjn.fsf@gmail.com> <87jz7nm8j9.fsf@inventati.org> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Mon, 14 Apr 2025 11:21:31 +0200 Message-ID: <87y0w3hzdw.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >Mon 14 Apr 2025 at 11:02, Andreas Enge wrote: > Hello, > > Am Mon, Apr 14, 2025 at 10:50:18AM +0200 schrieb Cayetano Santos: >> Thanks for noticing about the license. I just sent a v2 to fix it. > > you forgot to test whether it works :) > This version does not even compile, since license:non-copyleft is not a > license object, but a function that returns one, see the source code > I copied into my previous message. Ups, sorry about that ! I=E2=80=99ll be more careful next time. Thanks again, C. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ/zTmxccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgsS6AP9OluOsf78lvTfTaSX6a3FtYhqK O+qf6++Tj/7V4JxDAAEAjOyf25YNr3J4dPazbjwDuBm/gmul3puXIbWs+yfFYgk= =UzoR -----END PGP SIGNATURE----- --=-=-=--