unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48573] [PATCH 0/2] gnu: botan: Update and respect #:tests?
@ 2021-05-21 19:35 Jack Hill
  2021-05-21 19:40 ` [bug#48573] [PATCH 1/2] gnu: botan: Update to 2.18.1 Jack Hill
  2021-05-27 17:56 ` bug#48573: [PATCH 0/2] gnu: botan: Update and respect #:tests? Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Jack Hill @ 2021-05-21 19:35 UTC (permalink / raw)
  To: 48573

This seriers updates botan to the newest release, and improves the check 
phase to respect #:tests?

I've tested that it builds reproducably on x86_64-linux and that it builds 
(via qemu) for aarch64-linux. `guix refresh -l` reports one dependent 
package, rnp, which builds with this update.

Jack Hill (2):
   gnu: botan: Update to 2.18.1.
   gnu: botan: Respect #:tests?.

  gnu/packages/crypto.scm | 8 +++++---
  1 file changed, 5 insertions(+), 3 deletions(-)

-- 
2.31.1

Best,
Jack




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#48573] [PATCH 1/2] gnu: botan: Update to 2.18.1.
  2021-05-21 19:35 [bug#48573] [PATCH 0/2] gnu: botan: Update and respect #:tests? Jack Hill
@ 2021-05-21 19:40 ` Jack Hill
  2021-05-21 19:40   ` [bug#48573] [PATCH 2/2] gnu: botan: Respect #:tests? Jack Hill
  2021-05-27 17:56 ` bug#48573: [PATCH 0/2] gnu: botan: Update and respect #:tests? Leo Famulari
  1 sibling, 1 reply; 4+ messages in thread
From: Jack Hill @ 2021-05-21 19:40 UTC (permalink / raw)
  To: 48573

* gnu/packages/crypto.scm (botan): Update to 2.18.1.
---
 gnu/packages/crypto.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 2658c38cb4..f333aced1b 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -944,14 +944,14 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R
 (define-public botan
   (package
     (name "botan")
-    (version "2.17.3")
+    (version "2.18.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://botan.randombit.net/releases/"
                                   "Botan-" version ".tar.xz"))
               (sha256
                (base32
-                "121vn1aryk36cpks70kk4c4cfic5g0qs82bf92xap9258ijkn4kr"))))
+                "0adf53drhk1hlpfih0175c9081bqpclw6p2afn51cmx849ib9izq"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#48573] [PATCH 2/2] gnu: botan: Respect #:tests?.
  2021-05-21 19:40 ` [bug#48573] [PATCH 1/2] gnu: botan: Update to 2.18.1 Jack Hill
@ 2021-05-21 19:40   ` Jack Hill
  0 siblings, 0 replies; 4+ messages in thread
From: Jack Hill @ 2021-05-21 19:40 UTC (permalink / raw)
  To: 48573

* gnu/packages/crypto.scm (botan)[arguments]: Respect #:tests? in the 'check
phase.
---
 gnu/packages/crypto.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index f333aced1b..674cb05801 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -976,7 +976,9 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R
          (add-before 'check 'library-path-for-tests
            (lambda _ (setenv "LD_LIBRARY_PATH" (getcwd))))
          (replace 'check
-           (lambda _ (invoke "./botan-test"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (if tests?
+                 (invoke "./botan-test")))))))
     (native-inputs
      `(("python" ,python-wrapper)
        ("python-docutils" ,python-docutils)))
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#48573: [PATCH 0/2] gnu: botan: Update and respect #:tests?
  2021-05-21 19:35 [bug#48573] [PATCH 0/2] gnu: botan: Update and respect #:tests? Jack Hill
  2021-05-21 19:40 ` [bug#48573] [PATCH 1/2] gnu: botan: Update to 2.18.1 Jack Hill
@ 2021-05-27 17:56 ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2021-05-27 17:56 UTC (permalink / raw)
  To: Jack Hill; +Cc: 48573-done

On Fri, May 21, 2021 at 03:35:05PM -0400, Jack Hill wrote:
> This seriers updates botan to the newest release, and improves the check
> phase to respect #:tests?
> 
> I've tested that it builds reproducably on x86_64-linux and that it builds
> (via qemu) for aarch64-linux. `guix refresh -l` reports one dependent
> package, rnp, which builds with this update.

Thanks for the patch and for mentioning how you tested it! That's very
helpful.

Pushed as d1b3b5b73da9a87991246ec40f6fd64e70b4e33a




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-27 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 19:35 [bug#48573] [PATCH 0/2] gnu: botan: Update and respect #:tests? Jack Hill
2021-05-21 19:40 ` [bug#48573] [PATCH 1/2] gnu: botan: Update to 2.18.1 Jack Hill
2021-05-21 19:40   ` [bug#48573] [PATCH 2/2] gnu: botan: Respect #:tests? Jack Hill
2021-05-27 17:56 ` bug#48573: [PATCH 0/2] gnu: botan: Update and respect #:tests? Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).