From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v4 1/3] gnu: Add python-lit, python2-lit. Date: Tue, 13 Sep 2016 12:30:40 +0200 Message-ID: <20160913103042.7302-2-dannym@scratchpost.org> References: <20160913103042.7302-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.9.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjkzO-0002eR-Uo for guix-devel@gnu.org; Tue, 13 Sep 2016 06:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjkzL-0004fa-8E for guix-devel@gnu.org; Tue, 13 Sep 2016 06:30:54 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:34350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjkzL-0004fK-0x for guix-devel@gnu.org; Tue, 13 Sep 2016 06:30:51 -0400 In-Reply-To: <20160913103042.7302-1-dannym@scratchpost.org> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------2.9.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * gnu/packages/python.scm (python-lit, python2-lit): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) --------------2.9.1 Content-Type: text/x-patch; name="0001-gnu-Add-python-lit-python2-lit.patch" Content-Disposition: attachment; filename="0001-gnu-Add-python-lit-python2-lit.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b839f22..eb407c2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10327,3 +10327,29 @@ Python to manipulate OpenDocument 1.2 files.") (native-inputs `(("python2-setuptools" ,python2-setuptools) ,@(package-native-inputs base)))))) + +(define-public python-lit + (package + (name "python-lit") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "lit" version)) + (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 license:ncsa) + (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)))))) --------------2.9.1--