unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
To: 37532@debbugs.gnu.org
Subject: [bug#37532] [PATCH 1/3] gnu: Add python-boolean.py.
Date: Fri, 27 Sep 2019 15:26:15 +0200	[thread overview]
Message-ID: <20190927132617.3369-1-me@tobias.gr> (raw)
In-Reply-To: <877e5uf2t2.fsf@nckx>

* gnu/packages/python-xyz.scm (python-boolean.py): New public variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5fa42c5012..cb8ebf8aa3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -387,6 +387,32 @@ 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-boolean.py
+  (package
+    (name "python-boolean.py")
+    (version "3.6")
+    (source
+     (origin
+       ;; There's no source tarball on PyPI.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bastikr/boolean.py")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wc89y73va58cj7dsx6c199zpxsy9q53dsffsdj6zmc90inqz6qs"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/bastikr/boolean.py")
+    (synopsis "Boolean algebra in one Python module")
+    (description
+     "This is a small Python library that implements boolean algebra.
+It defines two base elements, @code{TRUE} and @code{FALSE}, and a
+@code{Symbol} class that can take on one of these two values.  Calculations
+are done only in terms of @code{AND}, @code{OR}, and @code{NOT}---other
+compositions like @code{XOR} and @code{NAND} are emulated on top of them.
+Expressions are constructed from parsed strings or directly in Python.")
+    (license license:bsd-2)))
+
 (define-public python-hdf4
   (package
    (name "python-hdf4")
-- 
2.23.0

  reply	other threads:[~2019-09-27 13:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-27 10:31 [bug#37532] Add ‘reuse’ licence helper and its dependents Tobias Geerinckx-Rice via Guix-patches via
2019-09-27 13:26 ` Tobias Geerinckx-Rice via Guix-patches via [this message]
2019-09-27 13:26   ` [bug#37532] [PATCH 2/3] gnu: Add python-license-expression Tobias Geerinckx-Rice via Guix-patches via
2019-09-27 13:26   ` [bug#37532] [PATCH 3/3] gnu: Add reuse Tobias Geerinckx-Rice via Guix-patches via
2019-10-01  8:58 ` [bug#37532] Add ‘reuse’ licence helper and its dependents Ludovic Courtès
2019-10-01 20:43   ` bug#37532: " Tobias Geerinckx-Rice via Guix-patches via
2019-10-02 15:21     ` [bug#37532] " Tobias Geerinckx-Rice via Guix-patches via

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=20190927132617.3369-1-me@tobias.gr \
    --to=guix-patches@gnu.org \
    --cc=37532@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).