[PATCH] gnu: Add python-diceware.

DoneSubmitted by Matthew Kraai.
Details
3 participants
  • Matthew Kraai
  • Leo Famulari
  • Christopher Baines
Owner
unassigned
Severity
normal
M
M
Matthew Kraai wrote on 12 Apr 17:00 +0200
(address . guix-patches@gnu.org)(name . Matthew Kraai)(address . kraai@ftbfs.org)
20200412150036.6508-1-kraai@ftbfs.org
* gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New publicvariables.--- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)
Toggle diff (45 lines)diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scmindex 2ecf7115ab..081bc0eb5d 100644--- a/gnu/packages/python-xyz.scm+++ b/gnu/packages/python-xyz.scm@@ -75,6 +75,7 @@ ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org> ;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>+;;; Copyright © 2020 Matthew Kraai <kraai@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
L
L
Leo Famulari wrote on 13 Apr 23:02 +0200
(name . Matthew Kraai)(address . kraai@ftbfs.org)(address . 40575@debbugs.gnu.org)
20200413210209.GA31853@jasmine.lan
On Sun, Apr 12, 2020 at 08:00:36AM -0700, Matthew Kraai wrote:
Toggle quote (3 lines)> * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public> variables.
Thanks! Overall LGTM...
Toggle quote (3 lines)> +(define-public python2-diceware> + (package-with-python2 python-diceware))
Do you have a use case for the Python 2 variant? We recently updated ourPython packaging standards to not add these variants unless we needthem:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=39356057bce20f74120b6d227567a943556717cc
M
M
Matthew Kraai wrote on 13 Apr 23:50 +0200
(name . Leo Famulari)(address . leo@famulari.name)(address . 40575@debbugs.gnu.org)
20200413215052.GA20331@inspiron-3147
Hi Leo,
On Mon, Apr 13, 2020 at 05:02:09PM -0400, Leo Famulari wrote:
Toggle quote (15 lines)> 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 thepatch.
-- Matthew Kraai
M
M
Matthew Kraai wrote on 13 Apr 23:55 +0200
[PATCH] gnu: Add python-diceware.
(address . 40575@debbugs.gnu.org)(name . Matthew Kraai)(address . kraai@ftbfs.org)
20200413215550.21733-1-kraai@ftbfs.org
* gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New publicvariables.--- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
Toggle diff (42 lines)diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scmindex 2ecf7115ab..e089d91979 100644--- a/gnu/packages/python-xyz.scm+++ b/gnu/packages/python-xyz.scm@@ -75,6 +75,7 @@ ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org> ;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>+;;; Copyright © 2020 Matthew Kraai <kraai@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
L
L
Leo Famulari wrote on 14 Apr 00:47 +0200
(name . Matthew Kraai)(address . kraai@ftbfs.org)(address . 40575@debbugs.gnu.org)
20200413224754.GA13339@jasmine.lan
On Mon, Apr 13, 2020 at 02:55:50PM -0700, Matthew Kraai wrote:
Toggle quote (3 lines)> * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public> variables.
Thanks! Pushed as ab3ad88ded0734401667f6fb4c927ce26c39ad2e
C
C
Christopher Baines wrote on 14 Apr 20:50 +0200
(address . 40575-done@debbugs.gnu.org)
87a73d7vg7.fsf@cbaines.net
Leo Famulari <leo@famulari.name> writes:
Toggle quote (6 lines)> 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.
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6WBghfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNFODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE9XdzOxAAhSs5RV/F6OYm2e7Qs5sIyykQmuzjDgdQqM321RcIqS9UIpHoqDkPI2dz3kfO0YYMk90+nykdbRfox/BPM1wuvXjW7cyTTZtCvLHq7RismgH+wE/7LoXl10nMUM6ZCFdu7urtRVSgWyhsCAERtyvK6VwpX6io7SGVv0vupDyBC+/Sd+XbmftKWU6knnN5fcmGP4Hqw+VAV8YVvx+yR1TkyUJ9GYMJ1GxnSqISz9YMjlNehQ3CzkD5mUwoZktGrXMOh8rlTe+9k2KQdoYm/AyHlQppaXic00SazqhjkWXZyj7RU+jDk7qteXKjNUq+Vs08ltKUZbDnmoCpAV9R3vu8eKViD/CveZ85OjZ44OVV1rZ57fRD+AKHDPWjOgs1sK+tTxlFM9RT3f5mdFViWdMrrIURHlsuMgtBvd0sTaqbd1fCWbfv1HAhgXBXnG9Mq8w00ZYIyXuS6SQFUDxN8CdIzxezW7vxJShV3oi2Wum1zHuM0Ju3epyumo5UwqoSJhroYK6Y0rfzM8Gp1tbjZD8MlW194/bLg/RFqgarBCDocJwcZrf9hltAjcxMUr3Xdk0rT1OS0CA+Uu3t5lA2fiAC6/Vfl4IlBKIySvRwJN25E25joOMBFIo2irNx8Y9wY2YNmIB2jj7//SAKLpYYj7/qVdbi+T9v6yI9y8wt8y28hX4==x36d-----END PGP SIGNATURE-----
Closed
?