GNU bug report logs -
#40575
[PATCH] gnu: Add python-diceware.
Previous Next
Reported by: Matthew Kraai <kraai <at> ftbfs.org>
Date: Sun, 12 Apr 2020 15:01:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40575 in the body.
You can then email your comments to 40575 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#40575
; Package
guix-patches
.
(Sun, 12 Apr 2020 15:01:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthew Kraai <kraai <at> ftbfs.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 12 Apr 2020 15:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public
variables.
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2ecf7115ab..081bc0eb5d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -75,6 +75,7 @@
;;; Copyright © 2020 Alexandros Theodotou <alex <at> zrythm.org>
;;; Copyright © 2020 Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
;;; Copyright © 2020 Alex ter Weele <alex.ter.weele <at> gmail.com>
+;;; Copyright © 2020 Matthew Kraai <kraai <at> ftbfs.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19521,3 +19522,30 @@ there are extensions that allow you to use it with other frameworks.")
register external CLI commands via setuptools entry-points.")
(home-page "https://github.com/click-contrib/click-plugins")
(license license:bsd-3)))
+
+(define-public python-diceware
+ (package
+ (name "python-diceware")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "diceware" version))
+ (sha256
+ (base32
+ "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://github.com/ulif/diceware/")
+ (synopsis "Generates memorable passphrases")
+ (description "This package generates passphrases by concatenating words
+randomly picked from wordlists. It supports several sources of
+randomness (including real life dice) and different wordlists (including
+cryptographically signed ones).")
+ (license license:gpl3+)))
+
+(define-public python2-diceware
+ (package-with-python2 python-diceware))
--
2.26.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40575
; Package
guix-patches
.
(Mon, 13 Apr 2020 21:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 40575 <at> debbugs.gnu.org (full text, mbox):
On Sun, Apr 12, 2020 at 08:00:36AM -0700, Matthew Kraai wrote:
> * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public
> variables.
Thanks! Overall LGTM...
> +(define-public python2-diceware
> + (package-with-python2 python-diceware))
Do you have a use case for the Python 2 variant? We recently updated our
Python packaging standards to not add these variants unless we need
them:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=39356057bce20f74120b6d227567a943556717cc
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40575
; Package
guix-patches
.
(Mon, 13 Apr 2020 21:52:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 40575 <at> debbugs.gnu.org (full text, mbox):
Hi Leo,
On Mon, Apr 13, 2020 at 05:02:09PM -0400, Leo Famulari wrote:
> On Sun, Apr 12, 2020 at 08:00:36AM -0700, Matthew Kraai wrote:
> > * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public
> > variables.
>
> Thanks! Overall LGTM...
>
> > +(define-public python2-diceware
> > + (package-with-python2 python-diceware))
>
> Do you have a use case for the Python 2 variant? We recently updated our
> Python packaging standards to not add these variants unless we need
> them:
>
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=39356057bce20f74120b6d227567a943556717cc
No, I don't have a use case for the Python 2 variant. I'll update the
patch.
--
Matthew Kraai
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40575
; Package
guix-patches
.
(Mon, 13 Apr 2020 21:57:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 40575 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public
variables.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2ecf7115ab..e089d91979 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -75,6 +75,7 @@
;;; Copyright © 2020 Alexandros Theodotou <alex <at> zrythm.org>
;;; Copyright © 2020 Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
;;; Copyright © 2020 Alex ter Weele <alex.ter.weele <at> gmail.com>
+;;; Copyright © 2020 Matthew Kraai <kraai <at> ftbfs.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19521,3 +19522,27 @@ there are extensions that allow you to use it with other frameworks.")
register external CLI commands via setuptools entry-points.")
(home-page "https://github.com/click-contrib/click-plugins")
(license license:bsd-3)))
+
+(define-public python-diceware
+ (package
+ (name "python-diceware")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "diceware" version))
+ (sha256
+ (base32
+ "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://github.com/ulif/diceware/")
+ (synopsis "Generates memorable passphrases")
+ (description "This package generates passphrases by concatenating words
+randomly picked from wordlists. It supports several sources of
+randomness (including real life dice) and different wordlists (including
+cryptographically signed ones).")
+ (license license:gpl3+)))
--
2.26.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40575
; Package
guix-patches
.
(Mon, 13 Apr 2020 22:49:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 40575 <at> debbugs.gnu.org (full text, mbox):
On Mon, Apr 13, 2020 at 02:55:50PM -0700, Matthew Kraai wrote:
> * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public
> variables.
Thanks! Pushed as ab3ad88ded0734401667f6fb4c927ce26c39ad2e
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Tue, 14 Apr 2020 18:51:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Matthew Kraai <kraai <at> ftbfs.org>
:
bug acknowledged by developer.
(Tue, 14 Apr 2020 18:51:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 40575-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:
> On Mon, Apr 13, 2020 at 02:55:50PM -0700, Matthew Kraai wrote:
>> * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public
>> variables.
>
> Thanks! Pushed as ab3ad88ded0734401667f6fb4c927ce26c39ad2e
Closing the bug now.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 13 May 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.