unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66927] [PATCH] gnu: Deprecate the "go-github-com-willf-bitset" variable; update the package.
@ 2023-11-04  9:37 Artyom V. Poptsov
  0 siblings, 0 replies; only message in thread
From: Artyom V. Poptsov @ 2023-11-04  9:37 UTC (permalink / raw)
  To: 66927


[-- Attachment #1.1: Type: text/plain, Size: 129 bytes --]

Hello,

this patchset replaces "go-github-com-willf-bitset" with
"go-github-com-bits-and-blooms-bitset" and updates the package.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Deprecate-the-go-github-com-willf-bitset-variabl.patch --]
[-- Type: text/x-diff, Size: 2657 bytes --]

From d6a423ea0db8651f1bd9315109b1257f1624f73c Mon Sep 17 00:00:00 2001
Message-ID: <d6a423ea0db8651f1bd9315109b1257f1624f73c.1699090499.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sat, 4 Nov 2023 12:32:14 +0300
Subject: [PATCH 1/2] gnu: Deprecate the "go-github-com-willf-bitset" variable.

* gnu/packages/golang.scm (go-github-com-willf-bitset): Rename to
  "go-github-com-bits-and-blooms-bitset".
  [arguments]: Update.
  [home-page]: Update.
  (go-github-com-willf-bitset): Define as deprecated by
  "go-github-com-bits-and-blooms-bitset".

Change-Id: Iaa31f120d1c2b18a5c916ea5e68b89bd3e534ffd
---
 gnu/packages/golang.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 93a375fd2f..51d563dc6a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8647,29 +8647,32 @@ (define-public go-github-com-mattn-go-sqlite3
 @code{database/sql}.")
     (license license:expat)))
 
-(define-public go-github-com-willf-bitset
+(define-public go-github-com-bits-and-blooms-bitset
   (package
-    (name "go-github-com-willf-bitset")
+    (name "go-github-com-bits-and-blooms-bitset")
     (version "1.1.10")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/willf/bitset")
-                     (commit (string-append "v" version))))
+                    (url "https://github.com/bits-and-blooms/bitset")
+                    (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
                 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/willf/bitset"))
+     '(#:import-path "github.com/bits-and-blooms/bitset"))
     (synopsis "Bitsets in Go")
     (description "This package provides a Go implementation of bitsets, which
 are a mapping between non-negative integers and boolean values focused on
 efficient space usage.")
-    (home-page "https://github.com/willf/bitset")
+    (home-page "https://github.com/bits-and-blooms/bitset")
     (license license:bsd-3)))
 
+(define-public go-github-com-willf-bitset
+  (deprecated-package "go-github-com-willf-bitset" go-github-com-bits-and-blooms-bitset))
+
 (define-public go-github-com-willf-bloom
   (package
     (name "go-github-com-willf-bloom")

base-commit: c2358476e3f064b4ba512d81f8b8eea6e7b6913c
-- 
2.41.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-go-github-com-bits-and-blooms-bitset-Update-to-1.patch --]
[-- Type: text/x-diff, Size: 1735 bytes --]

From 556e36b2f235e3c18b17b76334cf0857f42e5899 Mon Sep 17 00:00:00 2001
Message-ID: <556e36b2f235e3c18b17b76334cf0857f42e5899.1699090499.git.poptsov.artyom@gmail.com>
In-Reply-To: <d6a423ea0db8651f1bd9315109b1257f1624f73c.1699090499.git.poptsov.artyom@gmail.com>
References: <d6a423ea0db8651f1bd9315109b1257f1624f73c.1699090499.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sat, 4 Nov 2023 12:34:17 +0300
Subject: [PATCH 2/2] gnu: go-github-com-bits-and-blooms-bitset: Update to
 1.11.0.

* gnu/packages/golang.scm (go-github-com-bits-and-blooms-bitset): Update to
  1.11.0.

Change-Id: I36dff5e8434f736d448c4dc8918f36020d25303a
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 51d563dc6a..e326d49ebc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8650,7 +8650,7 @@ (define-public go-github-com-mattn-go-sqlite3
 (define-public go-github-com-bits-and-blooms-bitset
   (package
     (name "go-github-com-bits-and-blooms-bitset")
-    (version "1.1.10")
+    (version "1.11.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -8659,7 +8659,7 @@ (define-public go-github-com-bits-and-blooms-bitset
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
+                "1ialciixmr98p10rh61rnnkxpqi1j9hycbkv9rnjl0vnmsnpy0cy"))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/bits-and-blooms/bitset"))
-- 
2.41.0


[-- Attachment #1.4: Type: text/plain, Size: 227 bytes --]


Thanks,

- avp

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-04  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-04  9:37 [bug#66927] [PATCH] gnu: Deprecate the "go-github-com-willf-bitset" variable; update the package Artyom V. Poptsov

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).