Roadmap to calibre PY3
- Make syntax correct for py3
- build C extensions
- ICU
- speedups
- winutils
- everything else
- Fix failing tests
[{"x":915,"y":1330,"z":-1816},{"x":911,"y":1328,"z":-1804},{"x":928,"y":1312,"z":-1797},{"x":932,"y":1336,"z":-1764},{"x":928,"y":1329,"z":-1797},{"x":942,"y":1327,"z":-1781},{"x":920,"y":1304,"z":-1843},{"x":928,"y":1308,"z":-1780},{"x":930,"y":1312,"z":-1774},{"x":936,"y":1323,"z":-1812},{"x":938,"y":1323,"z":-1805},{"x":938,"y":1323,"z":-1785},{"x":940,"y":1333,"z":-1798},{"x":948,"y":1331,"z":-1787},{"x":913,"y":1324,"z":-1797},{"x":919,"y":1318,"z":-1777},{"x":934,"y":1320,"z":-1798},{"x":921,"y":1346,"z":-1821},{"x":934,"y":1326,"z":-1802},{"x":926,"y":1304,"z":-1784},{"x":924,"y":1338,"z":-1784},{"x":926,"y":1336,"z":-1793},{"x":924,"y":1328,"z":-1778},{"x":930,"y":1316,"z":-1790},{"x":917,"y":1326,"z":-1790},{"x":921,"y":1324,"z":-1786},{"x":913,"y":1326,"z":-1772},{"x":909,"y":1338,"z":-1789},{"x":924,"y":1335,"z":-1788},{"x":930,"y":1333,"z":-1814},{"x":936,"y":1340,"z":-1799},{"x":938,"y":1344,"z":-1804},{"x":930,"y":1312,"z":-1787},{"x":924,"y":1310,"z":-1543},{"x":875,"y":1290,"z":-1884},{"x":845 |
From cd5757b5d231294bc0e41f509ebe492569975ce1 Mon Sep 17 00:00:00 2001 | |
From: Flaviu Tamas <[email protected]> | |
Date: Wed, 12 Dec 2018 17:49:27 +0000 | |
Subject: [PATCH 1/5] Build using gdb-8.2 | |
--- | |
crosstool-config-overrides.patch | 14 ++++++++++---- | |
1 file changed, 10 insertions(+), 4 deletions(-) | |
diff --git a/crosstool-config-overrides.patch b/crosstool-config-overrides.patch |
Python 2.7.15 (default, Jun 27 2018, 13:05:28) [GCC 8.1.1 20180531] on linux2 | |
>>> import sysconfig; from pprint import pprint; pprint(sysconfig.get_config_vars()) | |
{'AC_APPLE_UNIVERSAL_BUILD': 0, | |
'AIX_GENUINE_CPLUSPLUS': 0, | |
'AR': 'ar', | |
'ARFLAGS': 'rc', | |
'ATHEOS_THREADS': 0, | |
'BASECFLAGS': '-fno-strict-aliasing', | |
'BASEMODLIBS': '', | |
'BEOS_THREADS': 0, |
Roadmap to calibre PY3
from lib2to3 import fixer_base | |
from lib2to3.pytree import Node | |
from lib2to3.pygram import python_symbols as syms | |
from lib2to3.fixer_util import Name, ArgList | |
import libmodernize | |
class FixGetcwd(fixer_base.ConditionalFix): | |
BM_compatible = True |
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'prestart', 'start', 'poststart' ] | |
5 info lifecycle [email protected]~prestart: [email protected] | |
6 info lifecycle [email protected]~start: [email protected] | |
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true | |
8 verbose lifecycle [email protected]~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/dev/foo/node_modules/.bin:/home/user/dev/foo/node_modules/.bin:/usr/bin:/home/user/etc/.local/bin:/home/user/etc/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/user/bin/:/home/user/etc/.nimble/bin/:/home/user/bin/:/home/user/etc/.nimble/bin/ | |
9 verbose lifecycle [email protected]~start: CWD: /home/user/dev/foo |
/** | |
* Joins the collection with string 'delimiter'. Somehow this function | |
* was overlooked in the stdlib until Java 8. | |
* <p> | |
* delimiter and collection must not be null. | |
*/ | |
private static <T> String join(String delimiter, Collection<T> collection) { | |
// PRECONDITION delimiter and collection must not be null | |
StringBuilder result = new StringBuilder(); | |
Iterator<T> iter = collection.iterator(); |
/** | |
* A generic interface for an one-element lambda | |
*/ | |
private interface Predicate<P1, R> { | |
R apply(P1 p1); | |
} | |
private static <T, C> List<List<T>> groupBy(Collection<T> collection, | |
Predicate<? super T, C> byValue) { | |
// PRECONDITION collection and byValue must not be null |
type | |
yaml_version_directive_t* = object | |
major*: cint | |
minor*: cint | |
type | |
yaml_tag_directive_t* = object | |
handle*: cstring | |
prefix*: cstring | |
type | |
yaml_encoding_t* {.size: sizeof(cint).} = enum |