From unknown Sun Jun 22 06:25:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58963] [PATCH] gnu: python-funcparserlib: Enable tests. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Nov 2022 07:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58963@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16673726471348 (code B ref -1); Wed, 02 Nov 2022 07:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Nov 2022 07:04:07 +0000 Received: from localhost ([127.0.0.1]:44759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq7nD-0000Lg-IN for submit@debbugs.gnu.org; Wed, 02 Nov 2022 03:04:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:54510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq7nB-0000LY-Sm for submit@debbugs.gnu.org; Wed, 02 Nov 2022 03:04:06 -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 1oq7nA-0001cR-Rg for guix-patches@gnu.org; Wed, 02 Nov 2022 03:04:05 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oq7n8-0007nL-IO for guix-patches@gnu.org; Wed, 02 Nov 2022 03:04:04 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 615f44d1 for ; Wed, 2 Nov 2022 08:03:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=sovbqTxcfDIZGXNQoWg61IOhk4eh+wSoJ50iSMxQ9Iw=; b= IPxSbqmCId8/xbtOaSet/CC6IcN7wweVrSne6PQyoLyysDoCnhOO/qcok5rrnx3O tgGgQaB57INyk1KfasPMXEOPSbtxyCTuNlLFTcK8YafS59P/GdNF3tCPrDdVlXWW nuJqelIlUr7vZOh4M+D4e7+/sPnBQQzX2igwe7YFQZE2Ooxe2K+FYsuLgc8WNz+H xqmjlFbKwb/OZB0PcxNOm0VZJNs834jniHVlBg1k9nTwF4Z+9g6QW0PioGafcO8X u4mCkBgEmdKoDo0+oyETsBQ6BkOXkyBOkNp2l0x/nrDgYuss4LLOKBpQ/mb4qy5H /ti/5VugYnLA7vyCMjSMjg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 772dc45e for ; Wed, 2 Nov 2022 08:03:57 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id ff1a8011 for ; Wed, 2 Nov 2022 08:03:57 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c1a96aa9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 2 Nov 2022 08:03:56 +0100 (CET) From: jgart Date: Wed, 2 Nov 2022 02:03:46 -0500 Message-Id: <20221102070346.12715-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) * gnu/packages/python-xyz.scm (python-funcparserlib): Enable tests. [origin]: Use GitHub since it includes the tests unlike PyPi. [build-system]: Use pyproject-build-system. [arguments]: Run tests. [native-inputs]: Add python-poetry-core. --- gnu/packages/python-xyz.scm | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1c2f9d7b73..eb5b74c993 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25303,14 +25303,25 @@ (define-public python-funcparserlib (name "python-funcparserlib") (version "1.0.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "funcparserlib" version)) - (sha256 - (base32 "0swbqf53x7lfnczvi566s1g3nkf5mfrxz7sbpyymricz57a3vlvx")))) - (build-system python-build-system) + (origin + ;; Source tarball on PyPi lacks tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/vlasovskikh/funcparserlib") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00pswdys5c4hpqpvfcy5zqv30gyjvjvagi12811jizw57hxrm1cs")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f)) ; no tests in PyPI and no setup.py in GitHub + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" "discover" "-v"))))))) + ;; ModuleNotFoundError: No module named 'poetry' + (native-inputs (list python-poetry-core)) (home-page "https://github.com/vlasovskikh/funcparserlib") (synopsis "Recursive descent parsing library based on functional combinators") -- 2.38.1 From unknown Sun Jun 22 06:25:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58963] [PATCH] gnu: python-funcparserlib: Enable tests. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Nov 2022 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: jgart Cc: 58963-done@debbugs.gnu.org, 58963@debbugs.gnu.org X-Debbugs-Original-Cc: 58963-done@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16676460593160 (code B ref -1); Sat, 05 Nov 2022 11:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2022 11:00:59 +0000 Received: from localhost ([127.0.0.1]:55698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGv5-0000ot-GB for submit@debbugs.gnu.org; Sat, 05 Nov 2022 07:00:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:39536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGv2-0000ok-Jh for submit@debbugs.gnu.org; Sat, 05 Nov 2022 07:00:56 -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 1orGv1-0004TM-Vw for guix-patches@gnu.org; Sat, 05 Nov 2022 07:00:56 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orGv0-0006jc-JR for guix-patches@gnu.org; Sat, 05 Nov 2022 07:00:55 -0400 Received: from localhost (unknown [54.36.30.212]) by mira.cbaines.net (Postfix) with ESMTPSA id 4FB6827BBE9; Sat, 5 Nov 2022 11:00:53 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e3708c23; Sat, 5 Nov 2022 11:00:52 +0000 (UTC) References: <20221102070346.12715-1-jgart@dismail.de> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines Date: Sat, 05 Nov 2022 12:00:29 +0100 In-reply-to: <20221102070346.12715-1-jgart@dismail.de> Message-ID: <874jvdis2k.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) --=-=-= Content-Type: text/plain jgart via Guix-patches via writes: > * gnu/packages/python-xyz.scm (python-funcparserlib): Enable tests. > [origin]: Use GitHub since it includes the tests unlike PyPi. > [build-system]: Use pyproject-build-system. > [arguments]: Run tests. > [native-inputs]: Add python-poetry-core. > --- > gnu/packages/python-xyz.scm | 25 ++++++++++++++++++------- > 1 file changed, 18 insertions(+), 7 deletions(-) Looks good to me, I've pushed to master as f91713e71b6bc1222c8f5b218dede3dc7e670a3c. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNmQmNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcawxAAs2sHYLw2LY/HrnCpvTcVAkyZB4qyVIag pfbJq0fDTgeWvPFnDr2O/WCah9roKSESivKjPN3cJKgTuSyPOyR1O28n2SlRZrAb DIPfbflF+a5eozpCQzdZ/4gCGFOfYTaegNfBe2Z3rkJM5sprCDITIZhdmu0Xajq0 WZ5tQCiW11rYx22MaQYUfSEg2/QHBt7cKZ1ImyloFP70p41ehepOsFor+YBeM0Rb FFWjwVIcYfhwzMjqqaxf9A2ClrCB/Aqj49S1f0HHjoNlDje26IV988Kg+remSDqr HPPEhmK6X77CNua/Mwa/yhshHMA12mdywPYszmbwvlb8mNBreNYyAarwpqi7F0G/ ObgMaFXNuej5QrZBU4KsQFLd39ZkUw2C/e72HK0SHm0M3WAGYMZWmOLyaEqjGAft 9lZaCGrSSczuOV9qf4S/Dx9o6aE9/juWYIqYBrVXkLW3JLp8e6vHOPfXFqzbHPPc r1xnNryVeJv7r7BGsV+QkVfhfHdhjBzbM6x0EhQL7jMnYXN9KrCnEpaMcrL0Icxp z0TAgA0GLWOfjZoEvgDZz1hJgF7py+8H+vDmQEFXZor+E7duWNt2xVhc1XwKfW5m yp7FODgQ6wVTXINNECfHHhfDKYzFEzuCO+wIuVxMGRGr0XJjYpPIixK5g/7RSyzD A4xhdxXfJ+E= =eJ1T -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 06:25:50 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: jgart Subject: bug#58963: closed (Re: [bug#58963] [PATCH] gnu: python-funcparserlib: Enable tests.) Message-ID: References: <874jvdis2k.fsf@cbaines.net> <20221102070346.12715-1-jgart@dismail.de> X-Gnu-PR-Message: they-closed 58963 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 58963@debbugs.gnu.org Date: Sat, 05 Nov 2022 11:01:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1667646064-3210-1" This is a multi-part message in MIME format... ------------=_1667646064-3210-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58963: [PATCH] gnu: python-funcparserlib: Enable tests. 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 58963@debbugs.gnu.org. --=20 58963: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58963 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1667646064-3210-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58963-done) by debbugs.gnu.org; 5 Nov 2022 11:00:56 +0000 Received: from localhost ([127.0.0.1]:55695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGv2-0000od-6W for submit@debbugs.gnu.org; Sat, 05 Nov 2022 07:00:56 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGv0-0000oU-2z for 58963-done@debbugs.gnu.org; Sat, 05 Nov 2022 07:00:54 -0400 Received: from localhost (unknown [54.36.30.212]) by mira.cbaines.net (Postfix) with ESMTPSA id 4FB6827BBE9; Sat, 5 Nov 2022 11:00:53 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e3708c23; Sat, 5 Nov 2022 11:00:52 +0000 (UTC) References: <20221102070346.12715-1-jgart@dismail.de> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: jgart Subject: Re: [bug#58963] [PATCH] gnu: python-funcparserlib: Enable tests. Date: Sat, 05 Nov 2022 12:00:29 +0100 In-reply-to: <20221102070346.12715-1-jgart@dismail.de> Message-ID: <874jvdis2k.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58963-done Cc: 58963-done@debbugs.gnu.org, guix-patches@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 (-) --=-=-= Content-Type: text/plain jgart via Guix-patches via writes: > * gnu/packages/python-xyz.scm (python-funcparserlib): Enable tests. > [origin]: Use GitHub since it includes the tests unlike PyPi. > [build-system]: Use pyproject-build-system. > [arguments]: Run tests. > [native-inputs]: Add python-poetry-core. > --- > gnu/packages/python-xyz.scm | 25 ++++++++++++++++++------- > 1 file changed, 18 insertions(+), 7 deletions(-) Looks good to me, I've pushed to master as f91713e71b6bc1222c8f5b218dede3dc7e670a3c. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNmQmNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcawxAAs2sHYLw2LY/HrnCpvTcVAkyZB4qyVIag pfbJq0fDTgeWvPFnDr2O/WCah9roKSESivKjPN3cJKgTuSyPOyR1O28n2SlRZrAb DIPfbflF+a5eozpCQzdZ/4gCGFOfYTaegNfBe2Z3rkJM5sprCDITIZhdmu0Xajq0 WZ5tQCiW11rYx22MaQYUfSEg2/QHBt7cKZ1ImyloFP70p41ehepOsFor+YBeM0Rb FFWjwVIcYfhwzMjqqaxf9A2ClrCB/Aqj49S1f0HHjoNlDje26IV988Kg+remSDqr HPPEhmK6X77CNua/Mwa/yhshHMA12mdywPYszmbwvlb8mNBreNYyAarwpqi7F0G/ ObgMaFXNuej5QrZBU4KsQFLd39ZkUw2C/e72HK0SHm0M3WAGYMZWmOLyaEqjGAft 9lZaCGrSSczuOV9qf4S/Dx9o6aE9/juWYIqYBrVXkLW3JLp8e6vHOPfXFqzbHPPc r1xnNryVeJv7r7BGsV+QkVfhfHdhjBzbM6x0EhQL7jMnYXN9KrCnEpaMcrL0Icxp z0TAgA0GLWOfjZoEvgDZz1hJgF7py+8H+vDmQEFXZor+E7duWNt2xVhc1XwKfW5m yp7FODgQ6wVTXINNECfHHhfDKYzFEzuCO+wIuVxMGRGr0XJjYpPIixK5g/7RSyzD A4xhdxXfJ+E= =eJ1T -----END PGP SIGNATURE----- --=-=-=-- ------------=_1667646064-3210-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Nov 2022 07:04:07 +0000 Received: from localhost ([127.0.0.1]:44759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq7nD-0000Lg-IN for submit@debbugs.gnu.org; Wed, 02 Nov 2022 03:04:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:54510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq7nB-0000LY-Sm for submit@debbugs.gnu.org; Wed, 02 Nov 2022 03:04:06 -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 1oq7nA-0001cR-Rg for guix-patches@gnu.org; Wed, 02 Nov 2022 03:04:05 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oq7n8-0007nL-IO for guix-patches@gnu.org; Wed, 02 Nov 2022 03:04:04 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 615f44d1 for ; Wed, 2 Nov 2022 08:03:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=sovbqTxcfDIZGXNQoWg61IOhk4eh+wSoJ50iSMxQ9Iw=; b= IPxSbqmCId8/xbtOaSet/CC6IcN7wweVrSne6PQyoLyysDoCnhOO/qcok5rrnx3O tgGgQaB57INyk1KfasPMXEOPSbtxyCTuNlLFTcK8YafS59P/GdNF3tCPrDdVlXWW nuJqelIlUr7vZOh4M+D4e7+/sPnBQQzX2igwe7YFQZE2Ooxe2K+FYsuLgc8WNz+H xqmjlFbKwb/OZB0PcxNOm0VZJNs834jniHVlBg1k9nTwF4Z+9g6QW0PioGafcO8X u4mCkBgEmdKoDo0+oyETsBQ6BkOXkyBOkNp2l0x/nrDgYuss4LLOKBpQ/mb4qy5H /ti/5VugYnLA7vyCMjSMjg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 772dc45e for ; Wed, 2 Nov 2022 08:03:57 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id ff1a8011 for ; Wed, 2 Nov 2022 08:03:57 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c1a96aa9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 2 Nov 2022 08:03:56 +0100 (CET) From: jgart To: guix-patches@gnu.org Subject: [PATCH] gnu: python-funcparserlib: Enable tests. Date: Wed, 2 Nov 2022 02:03:46 -0500 Message-Id: <20221102070346.12715-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: jgart 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: -2.4 (--) * gnu/packages/python-xyz.scm (python-funcparserlib): Enable tests. [origin]: Use GitHub since it includes the tests unlike PyPi. [build-system]: Use pyproject-build-system. [arguments]: Run tests. [native-inputs]: Add python-poetry-core. --- gnu/packages/python-xyz.scm | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1c2f9d7b73..eb5b74c993 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25303,14 +25303,25 @@ (define-public python-funcparserlib (name "python-funcparserlib") (version "1.0.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "funcparserlib" version)) - (sha256 - (base32 "0swbqf53x7lfnczvi566s1g3nkf5mfrxz7sbpyymricz57a3vlvx")))) - (build-system python-build-system) + (origin + ;; Source tarball on PyPi lacks tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/vlasovskikh/funcparserlib") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00pswdys5c4hpqpvfcy5zqv30gyjvjvagi12811jizw57hxrm1cs")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f)) ; no tests in PyPI and no setup.py in GitHub + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" "discover" "-v"))))))) + ;; ModuleNotFoundError: No module named 'poetry' + (native-inputs (list python-poetry-core)) (home-page "https://github.com/vlasovskikh/funcparserlib") (synopsis "Recursive descent parsing library based on functional combinators") -- 2.38.1 ------------=_1667646064-3210-1--