From: ng0 <ng0@infotropique.org>
To: 28783@debbugs.gnu.org
Subject: [bug#28783] Some of the python-autobahn dependencies
Date: Wed, 11 Oct 2017 10:42:51 +0000 [thread overview]
Message-ID: <20171011104251.yreec2prh5akflkd@abyayala> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1089 bytes --]
commit 78fba0316ae80b0699f82f626d56ffcc2798c39d
Author: ng0 <ng0@infotropique.org>
Date: Wed Oct 11 10:38:46 2017 +0000
gnu: Add python-pyqrcode.
* gnu/packages/python.scm (python-pyqrcode): New variable.
commit db0232d9bbfabd630bc4a222cbe9c3721fb2d510
Author: ng0 <ng0@infotropique.org>
Date: Wed Oct 11 10:28:28 2017 +0000
gnu: Add python-pynacl.
* gnu/packages/crypto.scm (python-pynacl): New variable.
commit fb3fc419ee89f773ac2aed5c3be4a272cf073ac5
Author: ng0 <ng0@infotropique.org>
Date: Wed Oct 11 09:59:36 2017 +0000
gnu: Add python-py-ubjson.
* gnu/packages/web.scm (python-py-ubjson): New variable.
commit a53a68a175768c2dd7712582553a5f0d125574f9
Author: ng0 <ng0@infotropique.org>
Date: Wed Oct 11 09:47:15 2017 +0000
gnu: Add python-cbor.
* gnu/packages/serialization.scm (python-cbor): New variable.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org
[-- Attachment #1.2: 0001-gnu-Add-python-cbor.patch --]
[-- Type: text/plain, Size: 1897 bytes --]
From a53a68a175768c2dd7712582553a5f0d125574f9 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 11 Oct 2017 09:47:15 +0000
Subject: [PATCH 1/5] gnu: Add python-cbor.
* gnu/packages/serialization.scm (python-cbor): New variable.
---
gnu/packages/serialization.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 186692612..266d2eeee 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
+;;; Copyright © 2017 ng0 <ng0@infotropique.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -385,3 +386,26 @@ style and key ordering are kept, so you can diff the source.")
(define-public python2-ruamel.yaml
(package-with-python2 python-ruamel.yaml))
+
+(define-public python-cbor
+ (package
+ (name "python-cbor")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cbor" version))
+ (sha256
+ (base32
+ "1dmv163cnslyqccrybkxn0c9s1jk1mmafmgxv75iamnz5lk5l8hk"))))
+ (build-system python-build-system)
+ (home-page
+ "https://bitbucket.org/bodhisnarkva/cbor")
+ (synopsis "Implementation of Concise Binary Object Representation")
+ (description
+ "Python-cbor provides an implementation of
+Concise Binary Object Representation (CBOR). CBOR is comparable to
+JSON, has a superset of JSON’s ability, but serializes to a binary format
+which is smaller and faster to generate and parse.
+The two primary functions are cbor.loads() and cbor.dumps().")
+ (license license:asl2.0)))
--
2.14.2
[-- Attachment #1.3: 0002-gnu-Add-python-py-ubjson.patch --]
[-- Type: text/plain, Size: 1370 bytes --]
From fb3fc419ee89f773ac2aed5c3be4a272cf073ac5 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 11 Oct 2017 09:59:36 +0000
Subject: [PATCH 2/5] gnu: Add python-py-ubjson.
* gnu/packages/web.scm (python-py-ubjson): New variable.
---
gnu/packages/web.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a612be013..6b47d9d8f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5366,3 +5366,22 @@ file links.")
file upload, download, on-screen display, namespace operations (move/copy),
collection creation and deletion, and locking operations.")
(license l:gpl2)))
+
+(define-public python-py-ubjson
+ (package
+ (name "python-py-ubjson")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "py-ubjson" version))
+ (sha256
+ (base32
+ "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/Iotic-Labs/py-ubjson")
+ (synopsis "Universal Binary JSON encoder/decoder")
+ (description
+ "Py-ubjson is a Python module providing an Universal Binary JSON
+encoder/decoder based on the draft-12 specification for UBJSON.")
+ (license l:asl2.0)))
--
2.14.2
[-- Attachment #1.4: 0003-gnu-Add-python-pynacl.patch --]
[-- Type: text/plain, Size: 2736 bytes --]
From db0232d9bbfabd630bc4a222cbe9c3721fb2d510 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 11 Oct 2017 10:28:28 +0000
Subject: [PATCH 3/5] gnu: Add python-pynacl.
* gnu/packages/crypto.scm (python-pynacl): New variable.
---
gnu/packages/crypto.scm | 39 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 0f017888b..8e3956a35 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox>
;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
;;; Copyright © 2016, 2017 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
@@ -39,6 +39,7 @@
#:use-module (gnu packages nettle)
#:use-module (gnu packages password-utils)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages python)
#:use-module (gnu packages readline)
#:use-module (gnu packages search)
#:use-module (gnu packages serialization)
@@ -594,3 +595,39 @@ or millenia for an attacker to try them all.
data on your platform, so the seed itself will be as random as possible.
@end enumerate\n")
(license license:artistic2.0)))
+
+(define-public python-pynacl
+ (package
+ (name "python-pynacl")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyNaCl" version))
+ (modules '((guix build utils)))
+ ;; Remove bundled libsodium
+ (snippet '(delete-file-recursively "src/libsodium"))
+ (sha256
+ (base32
+ "135gz0020fqx8fbr9izpwyq49aww202nkqacq0cw61xz99sjpx9j"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'use-system-sodium
+ (lambda _
+ (setenv "SODIUM_INSTALL" "system")
+ #t)))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-cffi" ,python-cffi)
+ ("python-six" ,python-six)
+ ("libsodium" ,libsodium)))
+ (home-page "https://github.com/pyca/pynacl/")
+ (synopsis "Python bindings to libsodium")
+ (description
+ "PyNaCl is a Python binding to libsodium, which is a fork of the
+Networking and Cryptography library. These libraries have a stated goal
+of improving usability, security and speed.")
+ (license license:asl2.0)))
--
2.14.2
[-- Attachment #1.5: 0004-gnu-Add-python-pyqrcode.patch --]
[-- Type: text/plain, Size: 1951 bytes --]
From 78fba0316ae80b0699f82f626d56ffcc2798c39d Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 11 Oct 2017 10:38:46 +0000
Subject: [PATCH 4/5] gnu: Add python-pyqrcode.
* gnu/packages/python.scm (python-pyqrcode): New variable.
---
gnu/packages/python.scm | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f5e92d889..7d8126b9c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -23,7 +23,7 @@
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
-;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -6609,6 +6609,26 @@ providing a clean and modern domain specific specification language (DSL) in
Python style, together with a fast and comfortable execution environment.")
(license license:expat)))
+(define-public python-pyqrcode
+ (package
+ (name "python-pyqrcode")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyQRCode" version))
+ (sha256
+ (base32
+ "1m9ln8k9v7dfbh1i81225hx5mdsh8mpf9g7r4wpbfmiyfcs7dgzx"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/mnooner256/pyqrcode")
+ (synopsis "QR code generator")
+ (description
+ "Pyqrcode is a QR code generator written purely in Python with
+SVG, EPS, PNG and terminal output.")
+ (license license:bsd-3)))
+
(define-public python-seaborn
(package
(name "python-seaborn")
--
2.14.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2017-10-11 10:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 10:42 ng0 [this message]
2017-10-14 15:00 ` [bug#28783] Some of the python-autobahn dependencies Ludovic Courtès
2017-10-14 15:06 ` bug#28783: " Ludovic Courtès
2017-10-14 15:34 ` [bug#28783] " ng0
2017-10-15 19:34 ` Ludovic Courtès
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=20171011104251.yreec2prh5akflkd@abyayala \
--to=ng0@infotropique.org \
--cc=28783@debbugs.gnu.org \
/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).