From patchwork Wed Aug 3 09:20:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 14271 Received: (qmail 86694 invoked by uid 89); 3 Aug 2016 09:20:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Tool, 050 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 03 Aug 2016 09:20:33 +0000 Received: from localhost ([::1]:32840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUsLn-0004Bw-AZ for patchwork@sourceware.org; Wed, 03 Aug 2016 05:20:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUsLh-0004Bi-8V for guix-devel@gnu.org; Wed, 03 Aug 2016 05:20:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUsLd-0001jW-Sc for guix-devel@gnu.org; Wed, 03 Aug 2016 05:20:24 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:35170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUsLd-0001jS-Lu for guix-devel@gnu.org; Wed, 03 Aug 2016 05:20:21 -0400 Received: from dayas.3.home (77.116.232.141.wireless.dyn.drei.com [77.116.232.141]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 956311CA0ADD; Wed, 3 Aug 2016 11:20:20 +0200 (CEST) From: Danny Milosavljevic To: guix-devel@gnu.org Subject: [PATCH 2/3] gnu: Add python-lit, python2-lit. Date: Wed, 3 Aug 2016 11:20:14 +0200 Message-Id: <20160803092015.8541-3-dannym@scratchpost.org> X-Mailer: git-send-email 2.9.1 In-Reply-To: <20160803092015.8541-1-dannym@scratchpost.org> References: <20160803095110.3e5cf1bc@scratchpost.org> <20160803092015.8541-1-dannym@scratchpost.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 85.13.128.8 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/python.scm (python-lit, python2-lit): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0557ab5..e9e34a9 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9804,3 +9804,31 @@ etc.") (package (inherit base) (name "ptpython2")))) + +(define-public python-lit + (package + (name "python-lit") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/5b/a0/dbed2c8dfb220eb9a5a893257223cd0ff791c0fbc34ce2f1a957fa4b6c6f/" + "lit-" version ".tar.gz")) + (sha256 + (base32 + "135m2b9cwih85g66rjggavck328z7lj37srgpq3jxszbg0g2b91y")))) + (build-system python-build-system) + (home-page "http://llvm.org/") + (synopsis "LLVM Software Testing Tool") + (description "@code{lit} is a LLVM Software Testing Tool.") + (license bsd-3) + (properties `((python2-variant . ,(delay python2-lit)))))) + +(define-public python2-lit + (let ((base (package-with-python2 (strip-python2-variant python-lit)))) + (package + (inherit base) + (native-inputs + `(("python2-setuptools" ,python2-setuptools) + ,@(package-native-inputs base))))))