From patchwork Fri Sep 27 13:26:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 15491 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E9F5C17446; Fri, 27 Sep 2019 15:06:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A848A17444 for ; Fri, 27 Sep 2019 15:06:05 +0100 (BST) Received: from localhost ([::1]:51264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDqsm-0002e2-IN for patchwork@mira.cbaines.net; Fri, 27 Sep 2019 10:06:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35589) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDqH1-0000HC-BV for guix-patches@gnu.org; Fri, 27 Sep 2019 09:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDqH0-00018z-07 for guix-patches@gnu.org; Fri, 27 Sep 2019 09:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDqGz-00018t-Sj for guix-patches@gnu.org; Fri, 27 Sep 2019 09:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDqGz-0004oX-M7 for guix-patches@gnu.org; Fri, 27 Sep 2019 09:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37532] [PATCH 1/3] gnu: Add python-boolean.py. References: <877e5uf2t2.fsf@nckx> In-Reply-To: <877e5uf2t2.fsf@nckx> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Sep 2019 13:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37532 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 37532@debbugs.gnu.org Received: via spool by 37532-submit@debbugs.gnu.org id=B37532.156959080218451 (code B ref 37532); Fri, 27 Sep 2019 13:27:01 +0000 Received: (at 37532) by debbugs.gnu.org; 27 Sep 2019 13:26:42 +0000 Received: from localhost ([127.0.0.1]:46030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDqGf-0004nX-Gz for submit@debbugs.gnu.org; Fri, 27 Sep 2019 09:26:41 -0400 Received: from tobias.gr ([80.241.217.52]:52752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDqGd-0004nO-98 for 37532@debbugs.gnu.org; Fri, 27 Sep 2019 09:26:40 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id e9751724 for <37532@debbugs.gnu.org>; Fri, 27 Sep 2019 13:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=tnnPxi+pv5Dp5sV+lleUWMDtrJpgOjgxB1/F tbmkKiU=; b=lsEnnmzbfbzRMjBUi8g945Gi0IoY6Wq534Ts68IGXe7rZA7+gClk nsw4Fb8CqoL7i/74jL261zTOFnqL4QuRCzVI+HPacGZjFwl5kN6T8dM2FuuTeHkk vMY9Wa6LLb889eUFmk+yZkPLOXTJC7iYD/jJK4zVth/CeanWsAkzzP9FXGsVGUkw 3+bnW0FNcTN2e48P5PseYxtq1KfSfIQFzUh0/I4cRE+czvUHYvJ70BGrAuYHHQ/i 4uyk3y587+P0AoYz5T2Q7Efa1S2kXDlfmqiSUuI41VDXNsLRb5pblCGOLCUpvIkJ VJpnnGn00tHMJ1LrHscpLn/OJTk/19oDJw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id edf1f311 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <37532@debbugs.gnu.org>; Fri, 27 Sep 2019 13:26:35 +0000 (UTC) Date: Fri, 27 Sep 2019 15:26:15 +0200 Message-Id: <20190927132617.3369-1-me@tobias.gr> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: "ashish.is--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches * 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")