From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: [PATCH] gnu: Add python2-rpython. Date: Sat, 29 Oct 2016 19:28:01 +0800 Message-ID: <87vawb1jjy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0Rol-0002rw-1S for guix-devel@gnu.org; Sat, 29 Oct 2016 07:28:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0Roh-0003Ei-SQ for guix-devel@gnu.org; Sat, 29 Oct 2016 07:28:55 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:36331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0Roh-0003Dg-KR for guix-devel@gnu.org; Sat, 29 Oct 2016 07:28:51 -0400 Received: by mail-pf0-x229.google.com with SMTP id e6so51088685pfk.3 for ; Sat, 29 Oct 2016 04:28:51 -0700 (PDT) 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 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, This patch adds the RPython toolchain, which can be used to implement interpreters and virtual machines, for examples Pypy. Right now it supports only Python 2. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python2-rpython.patch Content-Transfer-Encoding: quoted-printable From=20685faf110cddbf80b3a390b86baa1e5b5cee3b80 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sat, 29 Oct 2016 18:10:00 +0800 Subject: [PATCH] gnu: Add python2-rpython. * gnu/packages/python.scm (python2-rpython): New variable. =2D-- gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f7485ad..d25d469 100644 =2D-- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -29,6 +29,7 @@ ;;; Copyright =C2=A9 2016 Marius Bakke ;;; Copyright =C2=A9 2016 Stefan Reichoer ;;; Copyright =C2=A9 2016 Dylan Jeffers +;;; Copyright =C2=A9 2016 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -3150,6 +3151,37 @@ writing C extensions for Python as easy as Python it= self.") (inputs `(("python-2" ,python-2))))) ; this is not automatically changed =20 +;;; The RPython toolchain currently does not support Python 3. +(define-public python2-rpython + (package + (name "python2-rpython") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/00/2e/" + "69319934a6049b368c05845eaab100ecea2213a96e59fb14416a0a6c5648= /" + "rpython-" + version + ".tar.gz")) + (sha256 + (base32 + "07pps06fq4c4wmi5ii0sgh9zgwniz5y7frqhm28g3a154l163fxc")))) + (build-system python-build-system) + (arguments `(#:python ,python-2)) + (propagated-inputs + `(("python2-setuptools" ,python2-setuptools))) + (native-inputs + ;; needed for running tests + `(("python2-pytest" ,python2-pytest))) + (home-page "https://rpython.readthedocs.org") + (synopsis "Framework for implementing interpreters and virtual machine= s") + (description "RPython is a translation and support framework for +producing implementations of dynamic languages, emphasizing a clean separa= tion +between language specification and implementation aspects.") + (license license:expat))) + ;; This version of numpy is missing the documentation and is only used to ;; build matplotlib which is required to build numpy's documentation. (define python-numpy-bootstrap =2D-=20 2.10.1 --=-=-= Content-Type: text/plain Cheers, Alex --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYFIfCAAoJEMWKuHkX9RGuwMMQAJo06ZyaOUIpQfTFbbMfd/9A D4emVWLJUrq7CDtI7b9pmJiiZWxNkeMaNhDRKjj3Vyxiad3aRGGTsb5RduHyKz6G SNQM1BPZhpKuTsWvWbRTnuMfNLnjFfmqwc4Ei/M1DQeR2drJZghLpvkN9q8qOjvf zHP3rgAKQsv3EcdkOYbXU/OGBgiLQCihBdDWdK8J8opmqjRmywl5GzqDaF/oQeRj sWk/3r0AsUlLAXEj+VOZO+9VuwuEmMKtLn4qMFjUqCuA+R61b0iio0y3gm09dMks 01/32pkmtKniZ0yNsGsi0f+U/QaLGgOZPH2PC2t1O+GNofvJh9ruE7r58h76P6X/ f4ZMp9fqKdRS5xCO3jaziUfceKhHNITh/9iMBx89pOhXyeLevn1LG9uP5/6cfM/D xtJatse9pg1D+YlCGsWhQIcrrNBahYkUwwcOKRBhu0yTJm4tDf1uSNNWII87+/Wv afzz76oP4eKa2Jp5JSVA9mzLGbnVA5pMCeAg+yv5HZc3n+MaLTzPiXarmQByf05l 7cq5TI7gGpNi5vZyR4nYLL8S90JGZNE4YSU53CCFJ8Js6Hdlzc7vKlkK7li6WdOp 5PXTjxu/gkHK8rvAMCsHvT6X2Ov1jKSKbzCWuXTH+lu/tH0hc1F+HDQTAQUn7ESS rANwJCcng+vfHV+yh+ZE =RBRM -----END PGP SIGNATURE----- --==-=-=--