summaryrefslogtreecommitdiff
path: root/dev-lang/micropython/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /dev-lang/micropython/files
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'dev-lang/micropython/files')
-rw-r--r--dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch12
-rw-r--r--dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch22
-rw-r--r--dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch22
3 files changed, 12 insertions, 44 deletions
diff --git a/dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch b/dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch
new file mode 100644
index 000000000000..6d81661790e9
--- /dev/null
+++ b/dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch
@@ -0,0 +1,12 @@
+--- a/tests/run-tests 2020-06-09 13:09:24.239121947 -0000
++++ b/tests/run-tests 2020-06-09 13:09:57.315476363 -0000
+@@ -377,6 +377,9 @@
+ skip_tests.add('micropython/heapalloc_traceback.py') # because native doesn't have proper traceback info
+ skip_tests.add('micropython/schedule.py') # native code doesn't check pending events
+
++ skip_tests.add('float/float_parse.py')
++ skip_tests.add('float/float_parse_doubleprec.py')
++ # these two tests fail for some reason.
+ for test_file in tests:
+ test_file = test_file.replace('\\', '/')
+
diff --git a/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch
deleted file mode 100644
index 5ae7299f9f9c..000000000000
--- a/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/py/mkenv.mk 2017-11-25 09:52:30.921836372 +0000
-+++ a/py/mkenv.mk 2017-11-25 09:52:35.257861233 +0000
-@@ -50,7 +50,6 @@
- LD = $(CROSS_COMPILE)ld
- OBJCOPY = $(CROSS_COMPILE)objcopy
- SIZE = $(CROSS_COMPILE)size
--STRIP = $(CROSS_COMPILE)strip
- AR = $(CROSS_COMPILE)ar
- ifeq ($(MICROPY_FORCE_32BIT),1)
- CC += -m32
---- a/py/mkrules.mk 2017-11-25 09:53:13.107078063 +0000
-+++ a/py/mkrules.mk 2017-11-25 09:53:31.898185592 +0000
-@@ -132,9 +132,6 @@
- # Do not pass COPT here - it's *C* compiler optimizations. For example,
- # we may want to compile using Thumb, but link with non-Thumb libc.
- $(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
--ifndef DEBUG
-- $(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
--endif
- $(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)
-
- clean: clean-prog
diff --git a/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch
deleted file mode 100644
index a130b72b6131..000000000000
--- a/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/py/mkenv.mk 2017-11-25 09:52:30.921836372 +0000
-+++ a/py/mkenv.mk 2017-11-25 09:52:35.257861233 +0000
-@@ -50,7 +50,6 @@
- LD = $(CROSS_COMPILE)ld
- OBJCOPY = $(CROSS_COMPILE)objcopy
- SIZE = $(CROSS_COMPILE)size
--STRIP = $(CROSS_COMPILE)strip
- AR = $(CROSS_COMPILE)ar
- ifeq ($(MICROPY_FORCE_32BIT),1)
- CC += -m32
---- a/py/mkrules.mk 2017-11-25 09:53:13.107078063 +0000
-+++ a/py/mkrules.mk 2017-11-25 09:53:31.898185592 +0000
-@@ -129,9 +129,6 @@
- # Do not pass COPT here - it's *C* compiler optimizations. For example,
- # we may want to compile using Thumb, but link with non-Thumb libc.
- $(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
--ifndef DEBUG
-- $(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
--endif
- $(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)
-
- clean: clean-prog