From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic 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> References: <20160803095110.3e5cf1bc@scratchpost.org> <20160803092015.8541-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]: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 In-Reply-To: <20160803092015.8541-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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) --------------2.9.1 Content-Type: text/x-patch; name="0002-gnu-Add-python-lit-python2-lit.patch" Content-Disposition: attachment; filename="0002-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 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/dbed2c8dfb220eb9a5= a893257223cd0ff791c0fbc34ce2f1a957fa4b6c6f/" + "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)))))) --------------2.9.1--