[packages/micropython] - up to 1.10

arekm arekm at pld-linux.org
Tue Mar 12 10:21:10 CET 2019


commit 935203d948ddb62b1aaa248c3f87f51884dcfec3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 12 10:21:01 2019 +0100

    - up to 1.10

 micropython.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/micropython.spec b/micropython.spec
index fca0ef9..9a0f4f3 100644
--- a/micropython.spec
+++ b/micropython.spec
@@ -4,12 +4,12 @@
 
 Summary:	Implementation of Python 3 with very low memory footprint
 Name:		micropython
-Version:	1.6
+Version:	1.10
 Release:	1
 License:	MIT
 Group:		Development/Languages/Python
-Source0:	https://github.com/micropython/micropython/archive/v%{version}.tar.gz
-# Source0-md5:	e5c53c2c19bb454d0854b2ed8896e43c
+Source0:	http://micropython.org/resources/source/%{name}-%{version}.tar.xz
+# Source0-md5:	d16db23dd070064ed491f31e4fd3b540
 URL:		http://micropython.org/
 BuildRequires:	libffi-devel
 BuildRequires:	pkgconfig
@@ -29,16 +29,17 @@ Implementation of Python 3 with very low memory footprint.
 %setup -q
 
 %build
-%{__make} -C unix \
+%{__make} -C ports/unix \
 	CC="%{__cc}" \
 	V=1
 
-%{?with_tests:%{__make} -C unix test}
+%{?with_tests:%{__make} -C ports/unix test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -p unix/micropython $RPM_BUILD_ROOT%{_bindir}
+cp -a ports/unix/micropython $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/micropython.git/commitdiff/935203d948ddb62b1aaa248c3f87f51884dcfec3



More information about the pld-cvs-commit mailing list