* [bug#40100] [PATCH 0/7] Some python packages
@ 2020-03-17 7:14 Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt Efraim Flashner
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:14 UTC (permalink / raw)
To: 40100
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
I have some python packages which are ready for upstreaming. They lead
to a python based FUSE mount for dropbox, which I'm not sure is OK for
inclusion in Guix, so I stopped short of the final patch(es) needed for
that.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt.
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
@ 2020-03-17 7:20 ` Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng Efraim Flashner
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:20 UTC (permalink / raw)
To: 40100; +Cc: Efraim Flashner
* gnu/packages/python-crypto.scm (python-keyring.alt): New variable.
---
gnu/packages/python-crypto.scm | 39 ++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 23c06267a7..724ec378da 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -377,6 +377,45 @@ password storage.")
(propagated-inputs
`(("python2-pycrypto" ,python2-pycrypto))))))
+(define-public python-keyrings.alt
+ (package
+ (name "python-keyrings.alt")
+ (version "3.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "keyrings.alt" version))
+ (sha256
+ (base32
+ "0gdjdqpq2hf770p6iwi891mil0vbsdhvy88x0v8b2w4y4b28lcli"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file "keyrings/alt/_win_crypto.py")
+ ;; Rely on python-keyring>20:
+ ;; https://github.com/jaraco/keyrings.alt/issues/33
+ (substitute* '("keyrings/alt/tests/test_Gnome.py"
+ "keyrings/alt/tests/test_Google.py"
+ "keyrings/alt/tests/test_Windows.py"
+ "keyrings/alt/tests/test_file.py"
+ "keyrings/alt/tests/test_pyfs.py")
+ (("keyring.tests.test_backend") "keyring.testing.backend")
+ (("keyring.tests.util") "keyring.testing.util"))
+ #t))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-keyring" ,python-keyring)
+ ("python-pytest" ,python-pytest)
+ ("python-setuptools-scm" ,python-setuptools-scm)))
+ (home-page "https://github.com/jaraco/keyrings.alt")
+ (synopsis "Alternate keyring implementations")
+ (description "Keyrings in this package may have security risks or other
+implications. These backends were extracted from the main keyring project to
+make them available for those who wish to employ them, but are discouraged for
+general production use. Include this module and use its backends at your own
+risk.")
+ (license license:expat)))
+
(define-public python-certifi
(package
(name "python-certifi")
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng.
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt Efraim Flashner
@ 2020-03-17 7:20 ` Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 3/6] gnu: Add python-userspacefs Efraim Flashner
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:20 UTC (permalink / raw)
To: 40100; +Cc: Efraim Flashner
* gnu/packages/python-xyz.scm (python-fusepyng): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6d3e2ce19..2aafb380c2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15920,6 +15920,39 @@ MacFUSE. The binding is created using the standard @code{ctypes} library.")
(define-public python2-fusepy
(package-with-python2 python-fusepy))
+(define-public python-fusepyng
+ (package
+ (name "python-fusepyng")
+ (version "1.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fusepyng" version))
+ (sha256
+ (base32
+ "17w9iw6m6zjbmnhs4ikd27pq4mb1nan6k4ahlwyz40463vw6wkwb"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-libfuse-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((fuse (assoc-ref inputs "fuse")))
+ (substitute* "fusepyng.py"
+ (("os.environ.get\\('FUSE_LIBRARY_PATH'\\)")
+ (string-append "\"" fuse "/lib/libfuse.so\""))))
+ #t)))))
+ (inputs
+ `(("fuse" ,fuse)))
+ (propagated-inputs
+ `(("python-paramiko" ,python-paramiko)))
+ (home-page "https://github.com/rianhunter/fusepyng")
+ (synopsis "Simple ctypes bindings for FUSE")
+ (description "@code{fusepyng} is a Python module that provides a simple
+interface to FUSE on various operating systems. It's just one file and is
+implemented using @code{ctypes}.")
+ (license license:isc)))
+
(define-public python2-gdrivefs
(package
(name "python2-gdrivefs")
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#40100] [PATCH 3/6] gnu: Add python-userspacefs.
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng Efraim Flashner
@ 2020-03-17 7:20 ` Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 4/6] gnu: Add python-argon2-cffi Efraim Flashner
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:20 UTC (permalink / raw)
To: 40100; +Cc: Efraim Flashner
* gnu/packages/python-xyz.scm (python-userspacefs): New variable.
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2aafb380c2..fc1b10bd01 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15994,6 +15994,27 @@ implemented using @code{ctypes}.")
under Python 2.7.")
(license license:gpl2)))
+(define-public python-userspacefs
+ (package
+ (name "python-userspacefs")
+ (version "1.0.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "userspacefs" version))
+ (sha256
+ (base32
+ "0kyz52jyxw3m7hqvn5g6z0sx9cq6k0nq1wj44lvdrghdljjgyk2z"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-fusepyng" ,python-fusepyng)))
+ (home-page "https://github.com/rianhunter/userspacefs")
+ (synopsis "User-space file systems for Python")
+ (description
+ "@code{userspacefs} is a library that allows you to easily write
+user-space file systems in Python.")
+ (license license:gpl3+)))
+
(define-public pybind11
(package
(name "pybind11")
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#40100] [PATCH 4/6] gnu: Add python-argon2-cffi.
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
` (2 preceding siblings ...)
2020-03-17 7:20 ` [bug#40100] [PATCH 3/6] gnu: Add python-userspacefs Efraim Flashner
@ 2020-03-17 7:20 ` Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 5/6] gnu: Add python-privy Efraim Flashner
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:20 UTC (permalink / raw)
To: 40100; +Cc: Efraim Flashner
* gnu/packages/python-crypto.scm (python-argon2-cffi): New variable.
---
gnu/packages/python-crypto.scm | 44 ++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 724ec378da..be8f0a9bff 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -47,6 +47,7 @@
#:use-module (gnu packages crypto)
#:use-module (gnu packages libffi)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages password-utils)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-check)
@@ -1303,3 +1304,46 @@ items and collections, editing items, locking and unlocking collections
"This is a low-level, pure Python DBus protocol client. It has an
I/O-free core, and integration modules for different event loops.")
(license license:expat)))
+
+(define-public python-argon2-cffi
+ (package
+ (name "python-argon2-cffi")
+ (version "19.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "argon2-cffi" version))
+ (sha256
+ (base32
+ "18xxfw30gi3lwaz4vwb05iavzlrk3fa1x9fippzrgd3px8z65apz"))
+ (modules '((guix build utils)))
+ (snippet '(begin (delete-file-recursively "extras") #t))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (setenv "ARGON2_CFFI_USE_SYSTEM" "1")
+ (invoke "python" "setup.py" "build")))
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest")
+ (invoke "python" "-m" "argon2" "--help")
+ ;; see tox.ini
+ (invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p" "1"))))))
+ (propagated-inputs
+ `(("python-cffi" ,python-cffi)
+ ("python-six" ,python-six)))
+ (inputs `(("argon2" ,argon2)))
+ (native-inputs
+ `(("python-hypothesis" ,python-hypothesis)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://argon2-cffi.readthedocs.io/")
+ (synopsis "Secure Password Hashes for Python")
+ (description
+ "Argon2 is a secure password hashing algorithm. It is designed to have
+both a configurable runtime as well as memory consumption. This means that you
+can decide how long it takes to hash a password and how much memory is required.")
+ (license license:expat)))
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#40100] [PATCH 5/6] gnu: Add python-privy.
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
` (3 preceding siblings ...)
2020-03-17 7:20 ` [bug#40100] [PATCH 4/6] gnu: Add python-argon2-cffi Efraim Flashner
@ 2020-03-17 7:20 ` Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 6/6] gnu: Add python-block-tracing Efraim Flashner
2020-03-22 8:21 ` bug#40100: [PATCH 0/7] Some python packages Efraim Flashner
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:20 UTC (permalink / raw)
To: 40100; +Cc: Efraim Flashner
* gnu/packages/python-crypto.scm (python-privy): New variable.
---
gnu/packages/python-crypto.scm | 35 ++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index be8f0a9bff..8a877449ae 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1347,3 +1347,38 @@ I/O-free core, and integration modules for different event loops.")
both a configurable runtime as well as memory consumption. This means that you
can decide how long it takes to hash a password and how much memory is required.")
(license license:expat)))
+
+(define-public python-privy
+ (package
+ (name "python-privy")
+ (version "6.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ ;; Releases are untagged
+ (url "https://github.com/ofek/privy")
+ (commit "2838db3df239797c71bddacc48a4c49a83f35747")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1m32dh5fqc8cy7jyf1z5fs6zvmdkbq5fi98hr609gbl7s0l0y0i9"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "python" "-m" "pytest"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-argon2-cffi" ,python-argon2-cffi)
+ ("python-cryptography" ,python-cryptography)))
+ (home-page "https://www.dropbox.com/developers")
+ (synopsis "Library to password-protect your data")
+ (description
+ "Privy is a small and fast utility for password-protecting secret
+data such as API keys, cryptocurrency wallets, or seeds for digital
+signatures.")
+ (license (list license:expat license:asl2.0)))) ; dual licensed
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#40100] [PATCH 6/6] gnu: Add python-block-tracing.
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
` (4 preceding siblings ...)
2020-03-17 7:20 ` [bug#40100] [PATCH 5/6] gnu: Add python-privy Efraim Flashner
@ 2020-03-17 7:20 ` Efraim Flashner
2020-03-22 8:21 ` bug#40100: [PATCH 0/7] Some python packages Efraim Flashner
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-17 7:20 UTC (permalink / raw)
To: 40100; +Cc: Efraim Flashner
* gnu/packages/python-xyz.scm (python-block-tracing): New variable.
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fc1b10bd01..6b2f04ff7f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18303,3 +18303,24 @@ sequences.")
(define-public python2-fuzzywuzzy
(package-with-python2 python-fuzzywuzzy))
+
+(define-public python-block-tracing
+ (package
+ (name "python-block-tracing")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "block_tracing" version))
+ (sha256
+ (base32
+ "0s2y729qr5rs7n506qfh8cssk8m2bi6k2y5vbrh2z3raf2d01alz"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ; no tests
+ (home-page "https://github.com/rianhunter/block_tracing")
+ (synopsis "Protect process memory")
+ (description
+ "@code{block_tracing} is a tiny Python library that can be used to
+prevent debuggers and other applications from inspecting the memory within
+your process.")
+ (license license:expat)))
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* bug#40100: [PATCH 0/7] Some python packages
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
` (5 preceding siblings ...)
2020-03-17 7:20 ` [bug#40100] [PATCH 6/6] gnu: Add python-block-tracing Efraim Flashner
@ 2020-03-22 8:21 ` Efraim Flashner
6 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-03-22 8:21 UTC (permalink / raw)
To: 40100-done
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
Patches pushed
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-03-22 8:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 3/6] gnu: Add python-userspacefs Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 4/6] gnu: Add python-argon2-cffi Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 5/6] gnu: Add python-privy Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 6/6] gnu: Add python-block-tracing Efraim Flashner
2020-03-22 8:21 ` bug#40100: [PATCH 0/7] Some python packages Efraim Flashner
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).