[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: Add python-bidict.
From: |
guix-commits |
Subject: |
04/09: gnu: Add python-bidict. |
Date: |
Sun, 14 Mar 2021 14:33:15 -0400 (EDT) |
bavier pushed a commit to branch master
in repository guix.
commit af25357b7d8b37fd0da040ff847bd243c3660132
Author: Eric Bavier <bavier@member.fsf.org>
AuthorDate: Wed Mar 3 22:45:55 2021 -0600
gnu: Add python-bidict.
* gnu/packages/python-xyz.scm (python-bidict): New variable.
---
gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7a633ee..16658de 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -779,6 +779,47 @@ certificate returned by the server to which a connection
has been established,
and verifies that it matches the intended target hostname.")
(license license:psfl)))
+(define-public python-bidict
+ (package
+ (name "python-bidict")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "bidict" version))
+ (sha256
+ (base32
+ "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-hypothesis" ,python-hypothesis-5.23) ; use_true_random=...
from >=5.19.0
+ ("python-pre-commit" ,python-pre-commit)
+ ("python-py" ,python-py)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-benchmark" ,python-pytest-benchmark)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-sortedcollections" ,python-sortedcollections)
+ ("python-sortedcontainers" ,python-sortedcontainers)
+ ("python-sphinx" ,python-sphinx)
+ ("python-sphinx-autodoc-typehints" ,python-sphinx-autodoc-typehints)
+ ("python-tox" ,python-tox)))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'relax-reqs
+ (lambda _
+ (substitute* "setup.py"
+ (("sortedcollections < 2") "sortedcollections"))
+ #t))
+ (replace 'check
+ (lambda _ (invoke "./run_tests.py"))))))
+ (home-page "https://bidict.readthedocs.io")
+ (synopsis "Bidirectional mapping library")
+ (description "The @code{bidict} library provides several data structures
+for working with bidirectional mappings in Python.")
+ (license license:mpl2.0)))
+
(define-public python-bitarray
(package
(name "python-bitarray")
- branch master updated (2babf7d -> b76762a), guix-commits, 2021/03/14
- 03/09: gnu: Add python-sortedcollections., guix-commits, 2021/03/14
- 08/09: gnu: python-eventlet: Add missing dependencies., guix-commits, 2021/03/14
- 07/09: gnu: Add python-flask-socketio., guix-commits, 2021/03/14
- 05/09: gnu: Add python-engineio, guix-commits, 2021/03/14
- 09/09: gnu: Update OnionShare to 2.3.1., guix-commits, 2021/03/14
- 02/09: gnu: Add python-sphinx-autodoc-typehints., guix-commits, 2021/03/14
- 01/09: gnu: Add python-sphobjinv., guix-commits, 2021/03/14
- 06/09: gnu: Add python-socketio., guix-commits, 2021/03/14
- 04/09: gnu: Add python-bidict.,
guix-commits <=