unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 66627@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>
Subject: [bug#66627] [PATCH 02/19] gnu: go-github-com-stretchr-testify: Move to (gnu packages golang-check).
Date: Thu, 19 Oct 2023 10:33:43 +0100	[thread overview]
Message-ID: <ca0690a045874892ccb762067eea530133a101c7.1697678664.git.sharlatanus@gmail.com> (raw)
Message-ID: <20231019093343.OkRjBI6uPsdiXxtGwuHlqFbYuBN-ST_iGGahfAzi8Yg@z> (raw)
In-Reply-To: <cover.1697678664.git.sharlatanus@gmail.com>

* gnu/packages/golang.scm (go-github-com-stretchr-testify): Move from
here...
* gnu/packages/golang-check.scm: ...to here.

* gnu/packages/databases.scm: Add (gnu packages golang-check) module.
* gnu/packages/education.scm: As above...
* gnu/packages/ipfs.scm: As above...
* gnu/packages/irc.scm: As above...
* gnu/packages/mail.scm: As above...
* gnu/packages/textutils.scm: As above...
* gnu/packages/version-control.scm: As above...
---
 gnu/packages/databases.scm       |  1 +
 gnu/packages/education.scm       |  1 +
 gnu/packages/golang-check.scm    | 39 ++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm          | 37 +-----------------------------
 gnu/packages/ipfs.scm            |  1 +
 gnu/packages/irc.scm             |  1 +
 gnu/packages/mail.scm            |  1 +
 gnu/packages/textutils.scm       |  1 +
 gnu/packages/version-control.scm |  1 +
 9 files changed, 47 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b5077583c3..e25b88941a 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -106,6 +106,7 @@ (define-module (gnu packages databases)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 61fc9945fa..2fd1d4a632 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -47,6 +47,7 @@ (define-module (gnu packages education)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages image)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 160fdff6a6..c6b2f3f99e 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1,4 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +34,42 @@ (define-module (gnu packages golang-check)
 ;;;
 ;;; Code:
 \f
+(define-public go-github-com-stretchr-testify
+  (package
+    (name "go-github-com-stretchr-testify")
+    (version "1.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/stretchr/testify")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0ixgjsvafr3513pz3r6pmgk074s2dxkll0dadvl25gkf30rkmh10"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/stretchr/testify"))
+    (propagated-inputs
+     `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
+       ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
+       ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
+       ("gopkg.in/yaml.v3" ,go-gopkg-in-yaml-v3)))
+    (home-page "https://github.com/stretchr/testify")
+    (synopsis "Go helper library for tests and invariant checking")
+    (description "This package provide many tools for testifying that your
+code will behave as you intend.
+
+Features include:
+@itemize
+@item Easy assertions
+@item Mocking
+@item HTTP response trapping
+@item Testing suite interfaces and functions.
+@end itemize")
+    (license license:expat)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0277265375..9a7f60fc0a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -78,6 +78,7 @@ (define-module (gnu packages golang)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages mp3)
@@ -4588,42 +4589,6 @@ (define-public go-github-com-stretchr-objx
 slices, JSON and other data.")
     (license license:expat)))
 
-(define-public go-github-com-stretchr-testify
-  (package
-    (name "go-github-com-stretchr-testify")
-    (version "1.7.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/stretchr/testify")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "0ixgjsvafr3513pz3r6pmgk074s2dxkll0dadvl25gkf30rkmh10"))))
-    (build-system go-build-system)
-    (arguments
-     '(#:import-path "github.com/stretchr/testify"))
-    (propagated-inputs
-     `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
-       ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
-       ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
-       ("gopkg.in/yaml.v3" ,go-gopkg-in-yaml-v3)))
-    (home-page "https://github.com/stretchr/testify")
-    (synopsis "Go helper library for tests and invariant checking")
-    (description "This package provide many tools for testifying that your
-code will behave as you intend.
-
-Features include:
-@itemize
-@item Easy assertions
-@item Mocking
-@item HTTP response trapping
-@item Testing suite interfaces and functions.
-@end itemize")
-    (license license:expat)))
-
 (define go-github-com-stretchr-testify-bootstrap
   (package
     (inherit go-github-com-stretchr-testify)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 1bad48de4c..ac12aea002 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages ipfs)
   #:use-module (guix download)
   #:use-module (guix build-system go)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages python)
   #:use-module (gnu packages shells)
   #:use-module (gnu packages syncthing))
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 9d9e01a280..46961ccb7e 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -67,6 +67,7 @@ (define-module (gnu packages irc)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index be458a2d92..709674bf59 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -108,6 +108,7 @@ (define-module (gnu packages mail)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages gsasl)
   #:use-module (gnu packages gtk)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index ddeb979334..41a34b6c4e 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -63,6 +63,7 @@ (define-module (gnu packages textutils)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages java)
   #:use-module (gnu packages ncurses)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 04b52f2a85..76fa8ef5d0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -104,6 +104,7 @@ (define-module (gnu packages version-control)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-check)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
-- 
2.41.0





  parent reply	other threads:[~2023-10-19  6:35 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-19  1:27 [bug#66619] [PATCH 00/19] Split (gnu packages golang) part I Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 01/19] gnu: Add (gnu packages golang-check) module Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` Sharlatan Hellseher [this message]
2023-10-19  9:33   ` [bug#66627] [PATCH 02/19] gnu: go-github-com-stretchr-testify: Move to (gnu packages golang-check) Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 03/19] gnu: go-github-com-jacobsa-oglemock: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 04/19] gnu: go-github-com-stretchr-testify: Remove lables Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 05/19] gnu: go-gopkg-in-check-v1: Move to (gnu packages golang-check) Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 06/19] gnu: go-github-com-jacobsa-oglematchers: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 07/19] gnu: go-github-com-golangplus-testing: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 08/19] gnu: go-gopkg-in-go-playground-assert-v1: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 09/19] gnu: go-github-com-tdewolff-test: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 10/19] gnu: go-github-com-jacobsa-ogletest: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 11/19] gnu: go-github-com-google-gofuzz: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 12/19] gnu: go-github-com-cheekybits-is: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 13/19] gnu: go-github-com-frankban-quicktest: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 14/19] gnu: go-github-com-google-go-cmdtest: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 15/19] gnu: go-github-com-onsi-ginkgo: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 16/19] gnu: go-honnef-co-go-tools: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 17/19] gnu: go-golang-org-x-lint: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 18/19] gnu: go-golang-org-sql-mock: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 19/19] gnu: go-github-com-alecthomas-assert: " Sharlatan Hellseher
2023-10-19  9:34   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  9:32 ` [bug#66627] [PATCH 00/19] Split (gnu packages golang) part I Sharlatan Hellseher
2023-10-23  2:25 ` bug#66619: " Maxim Cournoyer
2023-10-27 17:37 ` [bug#66627] close Sharlatan Hellseher
2023-10-27 17:40 ` bug#66627: Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca0690a045874892ccb762067eea530133a101c7.1697678664.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=66627@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).