From patchwork Wed Dec 28 18:07:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luis Felipe X-Patchwork-Id: 45628 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 249BD27BBEB; Wed, 28 Dec 2022 18:09:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 617A227BBE9 for ; Wed, 28 Dec 2022 18:09:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAarR-0007jM-HG; Wed, 28 Dec 2022 13:09:05 -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 1pAarP-0007ij-8B for guix-patches@gnu.org; Wed, 28 Dec 2022 13:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAarO-0000QP-R3 for guix-patches@gnu.org; Wed, 28 Dec 2022 13:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAarO-0004eS-BJ for guix-patches@gnu.org; Wed, 28 Dec 2022 13:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60386] [PATCH] gnu: Add guile-proba. Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Dec 2022 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60386 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60386@debbugs.gnu.org X-Debbugs-Original-To: Luis Felipe via Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.167225089617786 (code B ref -1); Wed, 28 Dec 2022 18:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2022 18:08:16 +0000 Received: from localhost ([127.0.0.1]:58612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAaqe-0004cn-1a for submit@debbugs.gnu.org; Wed, 28 Dec 2022 13:08:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:44598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAaqc-0004ce-C7 for submit@debbugs.gnu.org; Wed, 28 Dec 2022 13:08:15 -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 1pAaqc-0007c1-5z for guix-patches@gnu.org; Wed, 28 Dec 2022 13:08:14 -0500 Received: from mail-4318.protonmail.ch ([185.70.43.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAaqZ-0000KL-6P for guix-patches@gnu.org; Wed, 28 Dec 2022 13:08:13 -0500 Date: Wed, 28 Dec 2022 18:07:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1672250881; x=1672510081; bh=rnb6u/pw+yECELerjdccwUxlznzAFuNcFB6sUassVZQ=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=VtfUDIKwdwBsFHdA3ZfGm6IgTDM9KdCRC3UbXSqerB+LXoNUNKBMubKq01OL8BIkW BkFsSuH6mhrVUVG7Ae9I/w3ci1+6GtSif9czz1H/PEmZi+n/a5Ru64kwI8ohk7vxPk 9ieBvykrQcvcb7OepRA5qEzZ0jGUPLkENzJLimmZjUhViIbc1vy49p2Fv05Fwn0aSK 0UupvOb8xFqFPpbQz69zfLHKT0D6RtUSUnRgM0x44Onw+A3Z6R2bv2VYmpEogRU4Pe 4tqe2KcJy6iIaTXKAAoLhEFw8XYKBGdETcYeVPDfSmtNo/zYZ16Avz3li6PZMTT85b DLpaFP7VCcwcA== Message-ID: Feedback-ID: 24022468:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.18; envelope-from=luis.felipe.la@protonmail.com; helo=mail-4318.protonmail.ch X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) AC_FROM_MANY_DOTS=2.999, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe via Guix-patches X-Patchwork-Original-From: Luis Felipe via Guix-patches via From: Luis Felipe Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, a new package here. --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/ From 332ea52f1f060a4fa1b8af7100b4cbd2f481f24b Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Wed, 28 Dec 2022 12:45:32 -0500 Subject: [PATCH] gnu: Add guile-proba. * gnu/packages/check.scm (guile-proba): New variable. --- gnu/packages/check.scm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index aaa41777dc..3967a22f76 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2022 David Elsing ;;; Copyright © 2022 Sharlatan Hellseher ;;; Copyright © 2022 jgart +;;; Copyright © 2022 Luis Felipe López Acevedo ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,6 +71,8 @@ (define-module (gnu packages check) #:use-module (gnu packages gnome) #:use-module (gnu packages golang) #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) + #:use-module (gnu packages guile-xyz) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -78,6 +81,7 @@ (define-module (gnu packages check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-science) + #:use-module (gnu packages texinfo) #:use-module (gnu packages time) #:use-module (gnu packages xml) #:use-module (guix utils) @@ -90,6 +94,7 @@ (define-module (gnu packages check) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system go) + #:use-module (guix build-system guile) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) @@ -3455,3 +3460,49 @@ (define-public python-pytest-regressions tables by saving expected data in a data directory (courtesy of pytest-datadir) that can be used to verify that future runs produce the same data.") (license license:expat))) + +(define-public guile-proba + (package + (name "guile-proba") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/luis-felipe/guile-proba") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04si01wzhc9c8rqy9vr12fpkf8gnlx7crkph8djy80s2c7b1lvr7")))) + (build-system guile-build-system) + (native-inputs (list guile-3.0 texinfo)) + (propagated-inputs (list guile-3.0 guile-config guile-lib texinfo)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'check + (lambda _ + (invoke "guile" "proba.scm" "run" "tests"))) + (add-after 'install 'install-script-and-manual + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin-dir (string-append out "/bin")) + (info-dir (string-append out "/share/info")) + (script (string-append bin-dir "/proba"))) + (mkdir-p bin-dir) + (mkdir-p info-dir) + (copy-file "proba.scm" script) + (chmod script #o555) + (invoke "makeinfo" "manual/main.texi") + (install-file "guile-proba" info-dir))))) + #:not-compiled-file-regexp + "((packages|tests)\\/.*.scm|(proba|manifest).scm)$")) + (home-page "https://luis-felipe.gitlab.io/guile-proba/") + (synopsis "Testing tools for GNU Guile projects with SRFI 64 test suites") + (description + "This software is a set of testing tools for GNU Guile projects +with SRFI 64-based test suites. It comes with a command-line interface +to run test collections, and a library that includes a test runner and +helpers for writing tests.") + (license license:public-domain))) base-commit: fc5dc3e04789a15d80a7b35987adaefc1a94b97c -- 2.38.1