From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 19:17:27 2024 Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 00:17:28 +0000 Received: from localhost ([127.0.0.1]:36859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLWtT-0004V0-7n for submit@debbugs.gnu.org; Wed, 11 Dec 2024 19:17:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:52832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLWtP-0004Ud-4J for submit@debbugs.gnu.org; Wed, 11 Dec 2024 19:17:25 -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 1tLWtO-0000nz-Sj for guix-patches@gnu.org; Wed, 11 Dec 2024 19:17:22 -0500 Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLWtM-0006NG-Hk for guix-patches@gnu.org; Wed, 11 Dec 2024 19:17:22 -0500 X-Sender-Id: dreamhost|x-authsender|dannym@friendly-machines.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B8346901BCD; Thu, 12 Dec 2024 00:17:17 +0000 (UTC) Received: from pdx1-sub0-mail-a297.dreamhost.com (trex-8.trex.outbound.svc.cluster.local [100.104.44.89]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5626B900183; Thu, 12 Dec 2024 00:17:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1733962637; a=rsa-sha256; cv=none; b=pphWLAwLZD4YjfL37nJaR3fBqv4fHwqD3xgKVIHNito28cimNczPK8HYGO/mh9hjYYMP0S x7VUzJngzzNoUNtocU1PJDxrC8/yziQ+wLgTpWbeP0Uzxf/gH54ruQRHg1h7JZR/6n+Z0s 7jCPQaIN1OCehuqNdv4PgFIV8uP2SHMbwbCh6jiR3scL3E5i6ApojOjjlhyF96yFNEOr2/ FoPwUOKBaoX1HV9pPUz2Y8yQE1N1rfTOFwghxT3JB/2ll2PVEgBuBXiFJIhdA1Xk68/++N RaVPsPLedg170P6l3ShGDztBsTXIg7fZI19WtjgAu5Zx5t8yAjfM35UzgJh/9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1733962637; 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:dkim-signature; bh=GTh/q5HKF+LzOo5+Sb0eb9UoKBkrpdhRNcbBWQpMqlA=; b=CnMxWrJM3iWOSGyMk2Q7b5QDvDMLvrKePCakI984gq9soscuF/N9jUWspyJTzTfCA4bK3s tTMD/e0mNY6gnico3daJb9+oBadBQcA1Wnssx/fkPT7BCTJz4vUC4qssBwHP2GjOgGUrlW AZtwvoTkDippRPFY1QEuaV1F3kszFgFRFgATtXk/4sv1bRt/7I2cjdT5tfilnF+TIscCVh 9nrmIBPItfZjpufEia5jda9S2HcheVeMagNl8SprymAOLEalNfeOxohmdBn61gUpGTTK4V dYJuhZo71maE0/FgrVWg9eafucSyPFTjGOtJhY+WggSPCuhUpoho8ItJfsuMBw== ARC-Authentication-Results: i=1; rspamd-fc7fd4597-mbxdb; auth=pass smtp.auth=dreamhost smtp.mailfrom=dannym@friendly-machines.com X-Sender-Id: dreamhost|x-authsender|dannym@friendly-machines.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dannym@friendly-machines.com X-MailChannels-Auth-Id: dreamhost X-Spot-Bottle: 2e5952c51c38c7e1_1733962637589_3795761489 X-MC-Loop-Signature: 1733962637589:1815561408 X-MC-Ingress-Time: 1733962637589 Received: from pdx1-sub0-mail-a297.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.104.44.89 (trex/7.0.2); Thu, 12 Dec 2024 00:17:17 +0000 Received: from localhost (84-115-227-145.cable.dynamic.surfer.at [84.115.227.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dannym@friendly-machines.com) by pdx1-sub0-mail-a297.dreamhost.com (Postfix) with ESMTPSA id 4Y7tMJ4tnmzSX; Wed, 11 Dec 2024 16:17:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=friendly-machines.com; s=dreamhost; t=1733962637; bh=KIwuqctwHggWQHePDLG+/QFwt0l60TI182tdCgiuQpw=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=ihHvYc/rpsFlwgcfQl0YqoswX0zFV8fvkmlpZyodYq/uUH/Iq5dVSsCzAZYv3gRcf xb7DyNnbEoXV2C/GjScSVdI0dQbTrk8NjmZI4SGUZxs7rdJK64vN52rsejyJw4yoCQ L9hXdSLRvq0+tXI9HeMYadzckoERJkGzOJ9g6e7Vdx7v2CAUlu9v4Zq1hj7101yFaX a40qTXIRyDnfjL2fDvViyktnrR+zColHkjblGVK6I2Tx+INh6Q2gOTMpgyy65B4ih5 TY7MrnSgfhx2spRPpQxRhmcwPrU0YAo2VwIdr4U2Tz2LPkMEQmxO/qKjmap/RRGFUb 5IOHABvoov+mQ== From: Danny Milosavljevic To: guix-patches@gnu.org Subject: [WIP PATCH] gnu: python-mathics-core: Add docs. Date: Thu, 12 Dec 2024 01:08:54 +0100 Message-ID: <978305639e3c930a539ddd2018bc061716ed8b55.1733961494.git.dannym@friendly-machines.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.218.253; envelope-from=dannym@friendly-machines.com; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: submit Cc: Danny Milosavljevic 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.6 (-) I would like help fixing a build failure here (latexmk parallelism problem): ! Undefined control sequence. l.289 \InputIfFile ./source/mathics/doc/latex/mathics.pre: \InputIfFileExists {\jobname -281.pre}{}{} \InputIfFileExists {\jobname -282.pre}{}{} \InputIfFileExists {\jobname -283.pre}{}{} \InputIfFileExists {\jobname -284.pre}{}{} \InputIfFileExists {\jobname -285.pre}{}{} \InputIfFileExists {\jobname -286.pre}{}{} \InputIfFileExists {\jobname -287.pre}{}{} \InputIfFileExists {\jobname -288.pre}{}{} \InputIfFile (ed note: Cut off in the original) * gnu/packages/plotutils.scm (asymptote): Install files where latex will find them. * gnu/packages/maths.scm (python-mathics-core): Add docs. Change-Id: Id2dac5f9b4b3bdcfbb751a94263261fb69edb461 --- gnu/packages/maths.scm | 57 +++++++++++++++++++++++++++++++++++--- gnu/packages/plotutils.scm | 4 +-- 2 files changed, 55 insertions(+), 6 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 60203f82a9..ec2e43c737 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -124,13 +124,14 @@ (define-module (gnu packages maths) #:use-module (gnu packages cpp) #:use-module (gnu packages datamash) #:use-module (gnu packages dbm) - #:use-module (gnu packages documentation) #:use-module (gnu packages django) + #:use-module (gnu packages documentation) #:use-module (gnu packages elf) #:use-module (gnu packages emacs) #:use-module (gnu packages file) #:use-module (gnu packages flex) #:use-module (gnu packages fltk) + #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) @@ -152,6 +153,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages llvm) #:use-module (gnu packages logging) #:use-module (gnu packages lua) + #:use-module (gnu packages plotutils) #:use-module (gnu packages gnome) #:use-module (gnu packages guile) #:use-module (gnu packages xorg) @@ -10537,6 +10539,7 @@ (define-public python-mathics-core (sha256 (base32 "0hhk2qq6swnprf9hliazwi3858sv3b3015g0mnm4ycdk5fsc7y57")))) + (outputs '("out" "doc")) (arguments `(;; is missing .closed #:test-flags '("-s") @@ -10544,6 +10547,11 @@ (define-public python-mathics-core (modify-phases %standard-phases (add-after 'unpack 'patch-bugs (lambda _ + (substitute* "mathics/doc/latex_doc.py" + (("^NUMBER_RE = .*") + ;; Prevent a match of "-7.0.0" (version number) + ; X"NUMBER_RE = re.compile(r\"([ -])(\d*(?) id 1taYQp-0004Nb-9j for submit@debbugs.gnu.org; Wed, 22 Jan 2025 05:57:59 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:50414) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1taYQm-0004NM-UY for 74806@debbugs.gnu.org; Wed, 22 Jan 2025 05:57:57 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 712EC575; Wed, 22 Jan 2025 11:57:49 +0100 (CET) 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 5ov61EthOzfq; Wed, 22 Jan 2025 11:57:49 +0100 (CET) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 759953CB; Wed, 22 Jan 2025 11:57:47 +0100 (CET) Date: Wed, 22 Jan 2025 11:57:45 +0100 From: Andreas Enge To: Danny Milosavljevic Subject: Re: [bug#74806] [WIP PATCH] gnu: python-mathics-core: Add docs. Message-ID: References: <978305639e3c930a539ddd2018bc061716ed8b55.1733961494.git.dannym@friendly-machines.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <978305639e3c930a539ddd2018bc061716ed8b55.1733961494.git.dannym@friendly-machines.com> X-Rspamd-Server: hera X-Rspamd-Queue-Id: 712EC575 X-Spamd-Result: default: False [-5.59 / 15.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-3.00)[-0.999]; 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)[4]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Spamd-Bar: ----- X-Rspamd-Action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74806 Cc: 74806@debbugs.gnu.org, Sharlatan Hellseher , Eric Bavier 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 Danny, I tried to apply your patch, but cannot do it; probably the package was updated during a recent python team cycle. Then I had a try at running directly "pdflatex mathics.tex", but since this is missing autogenerated filed I did not get any further. Am Thu, Dec 12, 2024 at 01:08:54AM +0100 schrieb Danny Milosavljevic: > ./source/mathics/doc/latex/mathics.pre: > \InputIfFileExists {\jobname -281.pre}{}{} The space in the file name is suspicious. My guess is that this breaks TeX parsing. Andreas