From unknown Fri Jun 20 07:26:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42877 <42877@debbugs.gnu.org> To: bug#42877 <42877@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add veusz. Reply-To: bug#42877 <42877@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:26:04 +0000 retitle 42877 [PATCH] gnu: Add veusz. reassign 42877 guix-patches submitter 42877 Vinicius Monego severity 42877 normal tag 42877 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 15 21:40:05 2020 Received: (at submit) by debbugs.gnu.org; 16 Aug 2020 01:40:05 +0000 Received: from localhost ([127.0.0.1]:56616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k77eX-00013Z-3W for submit@debbugs.gnu.org; Sat, 15 Aug 2020 21:40:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:38654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k77eS-000132-Pi for submit@debbugs.gnu.org; Sat, 15 Aug 2020 21:40:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k77eS-0004kq-9D for guix-patches@gnu.org; Sat, 15 Aug 2020 21:40:00 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k77eP-0005Xo-NQ for guix-patches@gnu.org; Sat, 15 Aug 2020 21:39:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 58FD116005C for ; Sun, 16 Aug 2020 03:39:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1597541994; bh=D5uyacLVNoTmM6fdJ7luybE/liJVCERpy7ik+3skv8o=; h=From:To:Cc:Subject:Date:From; b=Ie6H3J0LJFkGDnFxF4yEZJ12uPmMtjOgYlBMXwINYN/a7/ZPraykLAgmHEAIMXAIG U3QIjgOUpDYE+MBTL6gZ5egj5tTdcuXuyCcaP3CvkkPWqdsAustnj3f/lbg2fF6dbx hLcshzvHt34dqg2h4HLUb/AnJ5h3AZb/VQxdVGDnnvhDGGYVIRL+FdisRo2ZUrfvZE ZF+EXM1/Ez2HNUHy1EtCCvHumcV8AxI5nD2CclGzO/rogjAskA2kOYGaI6uDpufVlY qJskD+ol8l7kVbd0bO426GlxAF1qQy8wOse1jPcj/RK4cTcPhXX84yE1STayapVkXG BlsCEiKJccn8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BTfxN48F6z9rxL; Sun, 16 Aug 2020 03:39:52 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH] gnu: Add veusz. Date: Sat, 15 Aug 2020 22:39:14 -0300 Message-Id: <20200816013914.6557-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/15 21:39:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego 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.3 (--) * gnu/packages/maths.scm (veusz): New variable. --- gnu/packages/maths.scm | 63 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 3a746bd712..9b1a5b6a8d 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2064,6 +2064,69 @@ modules is done either interactively using the graphical user interface or in ASCII text files using Gmsh's own scripting language.") (license license:gpl2+))) +(define-public veusz + (package + (name "veusz") + (version "3.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "veusz" version)) + (sha256 + (base32 "00vmfpvyd6f33l5awlf02qdik3gmbhzyfizfwwbx7qnam2i9bbwy")))) + (build-system python-build-system) + (arguments + `(;; Tests will fail because they depend on optional packages like + ;; python-astropy, which is not packaged. + #:tests? #f + #:phases + (modify-phases %standard-phases + ;; Veusz will append 'PyQt5' to sip_dir by default. That is not how + ;; the path is defined in Guix, therefore we have to change it. + (add-after 'unpack 'fix-sip-dir + (lambda _ + (substitute* "pyqtdistutils.py" + (("os.path.join\\(sip_dir, 'PyQt5'\\)") "sip_dir")) + #t)) + ;; Now we have to pass the correct sip_dir to setup.py. + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + ;; We need to tell setup.py where to locate QtCoremod.sip + ((@@ (guix build python-build-system) call-setuppy) + "build_ext" (list (string-append "--sip-dir=" + (assoc-ref inputs "python-pyqt") + "/share/sip")) + #t))) + ;; Ensure that icons are found at runtime. + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/veusz") + `("QT_PLUGIN_PATH" prefix + ,(list (string-append (assoc-ref inputs "qtsvg") + "/lib/qt5/plugins/")))))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ;;("python-astropy" ,python-astropy) ;; FIXME: Package this. + ("qttools" ,qttools))) + (inputs + `(("ghostscript" ,ghostscript) ;optional, for EPS/PS output + ("python-dbus" ,python-dbus) + ("python-h5py" ,python-h5py) ;optional, for HDF5 data + ("python-pyqt" ,python-pyqt) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (home-page "https://veusz.github.io/") + (synopsis "Scientific plotting package") + (description + "Veusz is a scientific plotting and graphing program with a graphical user +interface, designed to produce publication-ready 2D and 3D plots. In addition +it can be used as a module in Python for plotting. It supports vector and +bitmap output, including PDF, Postscript, SVG and EMF.") + (license license:gpl2+))) + (define-public maxflow (package (name "maxflow") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 16 03:46:50 2020 Received: (at 42877-done) by debbugs.gnu.org; 16 Aug 2020 07:46:50 +0000 Received: from localhost ([127.0.0.1]:56776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7DNR-00044X-T5 for submit@debbugs.gnu.org; Sun, 16 Aug 2020 03:46:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7DNO-00044G-Vv for 42877-done@debbugs.gnu.org; Sun, 16 Aug 2020 03:46:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36645) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7DNJ-0006ZR-14; Sun, 16 Aug 2020 03:46:41 -0400 Received: from [2a01:e0a:19b:d9a0:3107:b202:556:bd51] (port=38868 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k7DNI-0000HR-It; Sun, 16 Aug 2020 03:46:40 -0400 From: Mathieu Othacehe To: Vinicius Monego Subject: Re: [bug#42877] [PATCH] gnu: Add veusz. References: <20200816013914.6557-1-monego@posteo.net> Date: Sun, 16 Aug 2020 09:46:38 +0200 In-Reply-To: <20200816013914.6557-1-monego@posteo.net> (Vinicius Monego's message of "Sat, 15 Aug 2020 22:39:14 -0300") Message-ID: <87bljb119d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42877-done Cc: 42877-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: -3.3 (---) > * gnu/packages/maths.scm (veusz): New variable. Pushed, thanks! Mathieu From unknown Fri Jun 20 07:26:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Sep 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator