Subject: [alpine-aports] [PATCH] testing/micropython: Update 1.9.1 --> 1.9.2

From: Marian Buschsieweke <[email-masked]>
Date: Tue, 24 Oct 2017 17:13:37 +0200

---
 testing/micropython/0000-unix-mpconfigport.patch | 19 +++++++++++--------
 testing/micropython/APKBUILD                     |  8 ++++----
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/testing/micropython/0000-unix-mpconfigport.patch b/testing/micropython/0000-unix-mpconfigport.patch
index 067402341d..bd9afa52f8 100644
--- a/testing/micropython/0000-unix-mpconfigport.patch
+++ b/testing/micropython/0000-unix-mpconfigport.patch
@@ -1,5 +1,5 @@
---- micropython-1.9.1/unix/mpconfigport.mk
-+++ micropython-1.9.1/unix/mpconfigport.mk
+--- micropython-1.9.2-old/unix/mpconfigport.mk
++++ micropython-1.9.2/unix/mpconfigport.mk
 @@ -9,7 +9,7 @@
  MICROPY_USE_READLINE = 1
  
@@ -9,14 +9,17 @@
  
  # _thread module using pthreads
  MICROPY_PY_THREAD = 1
-@@ -24,8 +24,8 @@
+@@ -24,11 +24,11 @@
  MICROPY_PY_FFI = 1
  
- # ussl module requires axtls
+ # ussl module requires one of the TLS libraries below
 -MICROPY_PY_USSL = 1
--MICROPY_SSL_AXTLS = 1
 +MICROPY_PY_USSL = 0
+ # axTLS has minimal size and fully integrated with MicroPython, but
+ # implements only a subset of modern TLS functionality, so may have
+ # problems with some servers.
+-MICROPY_SSL_AXTLS = 1
 +MICROPY_SSL_AXTLS = 0
- MICROPY_SSL_MBEDTLS = 0
- 
- # jni module requires JVM/JNI
+ # mbedTLS is more up to date and complete implementation, but also
+ # more bloated. Configuring and building of mbedTLS should be done
+ # outside of MicroPython, it can just link with mbedTLS library.
diff --git a/testing/micropython/APKBUILD b/testing/micropython/APKBUILD
index dd8e7aaa89..34a7da644c 100644
--- a/testing/micropython/APKBUILD
+++ b/testing/micropython/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Marian <[email-masked]>
 # Maintainer: Marian <[email-masked]>
 pkgname=micropython
-pkgver=1.9.1
-pkgrel=2
+pkgver=1.9.2
+pkgrel=0
 pkgdesc="A lean and efficient Python implementation for MCUs and constrained systems"
 url="http://www.micropython.org/"
 
@@ -46,6 +46,6 @@ cross() {
 	install -m755 mpy-cross/mpy-cross "${subpkgdir}/usr/bin/mpy-cross"
 }
 
-sha512sums="bc0eeb1e6d821034b7157613f2d421df304f2959e9fd62d2886641eba8d74575787861c9ff46fc3bcb9c14c6ad1f698043231801207f946af9b5d302bb253c63  micropython-1.9.1.tar.gz
-a9f922627db7cb59f56798f850c024382adffa1d1b5ccc27597ae34a9be53983a573e6dab64db4376ab24733624ad2005e67d96265517fb303d5b56f1b2654ea  0000-unix-mpconfigport.patch
+sha512sums="f9caa268766e1e312d845d2338f15d9e362cec75d8c2d99d2c32b42aef6e8db018dc58631781fb3da61914d850151d36070ef5f005f432029fedd5ac96cae4a6  micropython-1.9.2.tar.gz
+636914a6347b57390de6fb45ff389f751c312b2959f30748c7ce08a4ea95b1eac804812255677aceb24dd5e9f1c9e5f4db9fa4c50f945f4da2623217b45ee360  0000-unix-mpconfigport.patch
 66ca172a6e9f4866e733e6c9303882dbb5f5729ffc685e0ba200010bacb8d5014527efd82da4c2ab62266e0816917758ae8e6089fb575ec31c3dc4441909343f  python3.patch"
-- 
2.14.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---