From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:55252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw54E-0006rC-R2 for guix-patches@gnu.org; Tue, 19 Feb 2019 08:04:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw548-0006nG-25 for guix-patches@gnu.org; Tue, 19 Feb 2019 08:04:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gw546-0006m4-By for guix-patches@gnu.org; Tue, 19 Feb 2019 08:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gw546-0004or-1C for guix-patches@gnu.org; Tue, 19 Feb 2019 08:04:02 -0500 Subject: [bug#34571] [PATCH] Add micropython Resent-Message-ID: References: <20190219092216.GA32103@macbook41> From: Ricardo Wurmus In-reply-to: <20190219092216.GA32103@macbook41> Date: Tue, 19 Feb 2019 14:02:36 +0100 Message-ID: <87r2c4ue1f.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner Cc: 34571@debbugs.gnu.org Efraim Flashner writes: > I was looking around to see if there was an alternate perl > implementation and I ended up packaging micropython. I have no > preference between it being in python.scm or embedded.scm =E2=80=9Cpython.scm=E2=80=9D seems fine. > + (add-before 'build 'preprare-build Typo: preprare =E2=80=93> prepare > + (lambda _ > + (chdir "ports/unix") > + ;; see: https://github.com/micropython/micropython/pull/4246 > + (substitute* "Makefile" > + (("-Os") "-Os -ffp-contract=3Doff")) > + #t)) > + (delete 'configure)) ; no configure > + #:make-flags (list (string-append "PREFIX=3D" (assoc-ref %outputs= "out")) > + "V=3D1") > + #:test-target "test")) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("python" ,python-minimal-wrapper))) Oh, this Python needs Python=E2=80=A6? I think you should be using python-wrapper here as the python-minimal variants are merely supposed to be used for breaking a cycle in the build of Python itself. -- Ricardo