GNU bug report logs -
#48633
[PATCH]: Clean up gnu/packages/tryton.scm
Previous Next
Reported by: Maxime Devos <maximedevos <at> telenet.be>
Date: Mon, 24 May 2021 20:55:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48633 in the body.
You can then email your comments to 48633 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#48633
; Package
guix-patches
.
(Mon, 24 May 2021 20:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxime Devos <maximedevos <at> telenet.be>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 24 May 2021 20:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
CC'ing two people who are listed in the copyright lines.
Patch #1: factor out code the 'check' phase of tryton modules
in a procedure, as they are almost all exactly the same except
for the module name.
This one does not cause any change in derivation (no rebuilds).
Patch #2: Use 'inputs' argument to the 'check' phase instead of
%build-inputs.
I tried building some tryton modules and it seemed to work well.
No failures, but I didn't try all.
Patch #3: Respect tests?, allow --without-tests.
I tested building a single tryton module.
Greetings,
Maxime.
[0003-gnu-tryton-Allow-disabling-the-test-suite.patch (text/x-patch, attachment)]
[0002-gnu-tryton-Use-local-inputs-instead-of-global-build-.patch (text/x-patch, attachment)]
[0001-gnu-tryton-Factor-out-custom-check-phase.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 28 May 2021 09:36:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Maxime Devos <maximedevos <at> telenet.be>
:
bug acknowledged by developer.
(Fri, 28 May 2021 09:36:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 48633-done <at> debbugs.gnu.org (full text, mbox):
Howdy,
Maxime Devos <maximedevos <at> telenet.be> skribis:
> From 94fef963a6f5c0d8b0c60a5b2279ade8d686d4ec Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos <at> telenet.be>
> Date: Mon, 24 May 2021 22:36:06 +0200
> Subject: [PATCH 3/3] gnu: tryton: Allow disabling the test suite.
>
> * gnu/packages/tryton.scm
> (tryton-phases): Respect 'tests?' in the 'check' phase.
[...]
> From 3c05280e51e2b8bd7c03e460975169eee512cbf0 Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos <at> telenet.be>
> Date: Mon, 24 May 2021 22:17:09 +0200
> Subject: [PATCH 2/3] gnu: tryton: Use local 'inputs' instead of global
> '%build-inputs'.
>
> The former is preferred above the latter.
>
> * gnu/packages/tryton.scm (tryton-phases): Look up "trytond" in the
> 'inputs' argument instead of in '%build-inputs'.
[...]
> From aa0f2aabf11a45d47b8b8d287aa95d85ee35181c Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos <at> telenet.be>
> Date: Mon, 24 May 2021 21:07:15 +0200
> Subject: [PATCH 1/3] =?UTF-8?q?gnu:=20tryton:=20Factor=20out=20custom=20?=
> =?UTF-8?q?=E2=80=98check=E2=80=99=20phase.?=
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> * gnu/packages/tryton.scm
> (tryton-phases): New procedure.
> (tryton-arguments): New procedure.
> (python-trytond-account)[arguments]: Use 'tryton-phases'.
> (python-trytond-account-invoice)[arguments]: Likewise.
> (python-trytond-account-invoice-stock)[arguments]: Likewise.
> (python-trytond-account-product)[arguments]: Likewise.
> (python-trytond-analytic-account)[arguments]: Likewise.
> (python-trytond-company)[arguments]: Likewise.
> (python-trytond-country)[arguments]: Likewise.
> (python-trytond-currency)[arguments]: Likewise.
> (python-trytond-party)[arguments]: Likewise.
> (python-trytond-product)[arguments]: Likewise.
> (python-trytond-purchase)[arguments]: Likewise.
> (python-trytond-purchase-request)[arguments]: Likewise.
> (python-trytond-stock)[arguments]: Likewise.
> (python-trytond-stock-lot)[arguments]: Likewise.
Applied, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 25 Jun 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.