[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34571] [PATCH] Add micropython
From: |
Ricardo Wurmus |
Subject: |
[bug#34571] [PATCH] Add micropython |
Date: |
Tue, 19 Feb 2019 14:02:36 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Efraim Flashner <address@hidden> 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
“python.scm” seems fine.
> + (add-before 'build 'preprare-build
Typo: preprare –> prepare
> + (lambda _
> + (chdir "ports/unix")
> + ;; see: https://github.com/micropython/micropython/pull/4246
> + (substitute* "Makefile"
> + (("-Os") "-Os -ffp-contract=off"))
> + #t))
> + (delete 'configure)) ; no configure
> + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
> "out"))
> + "V=1")
> + #:test-target "test"))
> + (native-inputs
> + `(("pkg-config" ,pkg-config)
> + ("python" ,python-minimal-wrapper)))
Oh, this Python needs Python…? 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