ports/contrib (3.1): micropython (NEW): Python3 for microcontrollers, unix version.
commit 9816ee6df16587831d1c09327f5197d414b85b1d Author: James Mills <prologic@shortcircuit.net.au> Date: Mon Apr 27 07:59:13 2015 +1000 micropython (NEW): Python3 for microcontrollers, unix version. diff --git a/micropython/.footprint b/micropython/.footprint new file mode 100644 index 0000000..43a6ee6 --- /dev/null +++ b/micropython/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/micropython diff --git a/micropython/.md5sum b/micropython/.md5sum new file mode 100644 index 0000000..d2b3fb5 --- /dev/null +++ b/micropython/.md5sum @@ -0,0 +1 @@ +bc84f9f2ae2ef782b490a6afc3a2a666 micropython-1.4.2.tar.gz diff --git a/micropython/Pkgfile b/micropython/Pkgfile new file mode 100644 index 0000000..8a653aa --- /dev/null +++ b/micropython/Pkgfile @@ -0,0 +1,18 @@ +# Description: Python3 for microcontrollers, unix version +# URL: http://micropython.org/ +# Maintainer: James Mills, prologic at shortcircuit dot net dot au +# +# Depends on: readline libffi + +name=micropython +version=1.4.2 +release=1 +source=(http://shortcircuit.net.au/~prologic/distfiles/$name-$version.tar.gz) + +build() { + cd $name-$version/unix + + make + + install -Dm755 micropython "$PKG/usr/bin/micropython" +}
participants (1)
-
crux@crux.nu