[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/32: gnu: apl: Update to 1.8-r1550.
From: |
guix-commits |
Subject: |
19/32: gnu: apl: Update to 1.8-r1550. |
Date: |
Mon, 2 May 2022 09:16:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 94b1905580527c0067b3effb9cf083dd16d4eaa9
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon May 2 11:17:16 2022 +0000
gnu: apl: Update to 1.8-r1550.
This commit fixes a failing build caused by -Werror (the configure
script no longer sets the -Werror compilation flag).
* gnu/packages/apl.scm (apl): Update to 1.8-r1550.
[arguments]: Add 'fix-configure' phase.
[license]: Prefix with 'license:'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/apl.scm | 74 ++++++++++++++++++++++++++++++++--------------------
1 file changed, 46 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/apl.scm b/gnu/packages/apl.scm
index badec04333..ad9f4504bf 100644
--- a/gnu/packages/apl.scm
+++ b/gnu/packages/apl.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,9 +20,10 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages apl)
- #:use-module (guix licenses)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix git-download)
+ #:use-module (guix svn-download)
#:use-module (guix packages)
- #:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages gettext)
#:use-module (gnu packages maths)
@@ -30,30 +32,46 @@
#:use-module (gnu packages sqlite))
(define-public apl
- (package
- (name "apl")
- (version "1.8")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/apl/apl-" version ".tar.gz"))
- (sha256
- (base32
- "1jxvv2h3y1am1fw6r5sn3say1n0dj8shmscbybl0qhqdia2lqkql"))))
- (build-system gnu-build-system)
- (home-page "https://www.gnu.org/software/apl/")
- (inputs
- `(("gettext" ,gettext-minimal)
- ("lapack" ,lapack)
- ("pcre" ,pcre2)
- ("sqlite" ,sqlite)
- ("readline" ,readline)))
- (arguments
- `(#:configure-flags (list (string-append
- "--with-sqlite3="
- (assoc-ref %build-inputs "sqlite")))))
- (synopsis "APL interpreter")
- (description
- "GNU APL is a free interpreter for the programming language APL. It is
+ (let ((revision 1550))
+ (package
+ (name "apl")
+ (version (string-append "1.8-r" (number->string revision)))
+ (source
+ (origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url "svn://svn.savannah.gnu.org/apl/trunk")
+ (revision revision)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bgc3a09f35zrqq2irhm1hspppnxjqas0fmcw14hkc7910br9ip3"))))
+ (build-system gnu-build-system)
+ (home-page "https://www.gnu.org/software/apl/")
+ (inputs
+ `(("gettext" ,gettext-minimal)
+ ("lapack" ,lapack)
+ ("pcre" ,pcre2)
+ ("sqlite" ,sqlite)
+ ("readline" ,readline)))
+ (arguments
+ `(#:configure-flags (list (string-append
+ "--with-sqlite3="
+ (assoc-ref %build-inputs "sqlite")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'fix-configure
+ (lambda _
+ (substitute* "buildtag.sh"
+ ;; Don't exit on failed SVN-related calls.
+ (("^ +return 0\n") "")
+ ;; Manually set the SVN revision, since the directory is
+ ;; unversioned and we know it anyway.
+ (("^SVNINFO=.*")
+ ,(string-append "SVNINFO=" (number->string revision) "\n"))
+ ;; Requires running ‘svn info’ on a versioned directory.
+ (("\\\\\"\\$ARCHIVE_SVNINFO\\\\\"") "\\\"\\\"")))))))
+ (synopsis "APL interpreter")
+ (description
+ "GNU APL is a free interpreter for the programming language APL. It is
an implementation of the ISO standard 13751.")
- (license gpl3+)))
+ (license license:gpl3+))))
- 02/32: gnu: aws-c-common: Only support i686 and x86_64., (continued)
- 02/32: gnu: aws-c-common: Only support i686 and x86_64., guix-commits, 2022/05/02
- 06/32: gnu: aws-c-cal: Fix comment formatting., guix-commits, 2022/05/02
- 12/32: gnu: aws-c-mqtt: Fix comment formatting., guix-commits, 2022/05/02
- 13/32: gnu: aws-crt-cpp: Fix comment formatting., guix-commits, 2022/05/02
- 04/32: gnu: aws-c-event-stream: Fix comment formatting., guix-commits, 2022/05/02
- 03/32: gnu: aws-checksums: Fix comment formatting., guix-commits, 2022/05/02
- 16/32: gnu: aws-sdk-cpp: Remove openssl input., guix-commits, 2022/05/02
- 23/32: gnu: spdlog: Update to 1.10.0., guix-commits, 2022/05/02
- 30/32: gnu: Add python-parsel., guix-commits, 2022/05/02
- 15/32: gnu: s2n: Link to aws-lc as libcrypto dependency., guix-commits, 2022/05/02
- 19/32: gnu: apl: Update to 1.8-r1550.,
guix-commits <=
- 24/32: gnu: bear: Update to 3.0.19., guix-commits, 2022/05/02
- 31/32: gnu: Add python-itemloaders., guix-commits, 2022/05/02
- 09/32: gnu: aws-c-compression: Fix comment formatting., guix-commits, 2022/05/02
- 25/32: gnu: Add python-sybil., guix-commits, 2022/05/02
- 11/32: gnu: aws-c-s3: Fix comment formatting., guix-commits, 2022/05/02
- 17/32: gnu: ugrep: Update to 3.7.9., guix-commits, 2022/05/02
- 20/32: gnu: apl: Remove input labels., guix-commits, 2022/05/02
- 22/32: gnu: fmt: Update to 8.1.1., guix-commits, 2022/05/02
- 05/32: gnu: aws-c-io: Fix comment formatting., guix-commits, 2022/05/02
- 27/32: gnu: Add python-queuelib., guix-commits, 2022/05/02