get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/815199/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 815199,
    "url": "http://patchwork.ozlabs.org/api/patches/815199/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170918223441.2129-1-andrew.smirnov@gmail.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170918223441.2129-1-andrew.smirnov@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-18T22:34:41",
    "name": "package/python3: bump to 3.6.2",
    "commit_ref": "6e6e8d37b549033c9dc2ac21ed600708a890894f",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d51918017391cdc8e4ad9a255fe2e429defe3ebd",
    "submitter": {
        "id": 67013,
        "url": "http://patchwork.ozlabs.org/api/people/67013/?format=api",
        "name": "Andrey Smirnov",
        "email": "andrew.smirnov@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170918223441.2129-1-andrew.smirnov@gmail.com/mbox/",
    "series": [
        {
            "id": 3747,
            "url": "http://patchwork.ozlabs.org/api/series/3747/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3747",
            "date": "2017-09-18T22:34:41",
            "name": "package/python3: bump to 3.6.2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3747/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815199/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815199/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"vNxfjtVQ\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xx16V67cdz9s7m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 08:35:13 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 6224688B92;\n\tMon, 18 Sep 2017 22:35:10 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id KULsJJDHtpPT; Mon, 18 Sep 2017 22:35:02 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 4529688B00;\n\tMon, 18 Sep 2017 22:35:02 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4BBD71CEB58\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 18 Sep 2017 22:35:01 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 400F88817B\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 18 Sep 2017 22:35:01 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Ke5UFxONOUNM for <buildroot@lists.busybox.net>;\n\tMon, 18 Sep 2017 22:34:57 +0000 (UTC)",
            "from mail-pg0-f43.google.com (mail-pg0-f43.google.com\n\t[74.125.83.43])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id A395987058\n\tfor <buildroot@buildroot.org>; Mon, 18 Sep 2017 22:34:57 +0000 (UTC)",
            "by mail-pg0-f43.google.com with SMTP id b11so934297pgn.12\n\tfor <buildroot@buildroot.org>; Mon, 18 Sep 2017 15:34:57 -0700 (PDT)",
            "from squirtle.westlake.spaceflightindustries.com\n\t([173.226.206.194]) by smtp.gmail.com with ESMTPSA id\n\tf13sm521173pfj.127.2017.09.18.15.34.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tMon, 18 Sep 2017 15:34:55 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=fTSgLu1ealByNdCuDlXSY+aSJmywpT8oj+1fCJ37i9w=;\n\tb=vNxfjtVQKUIWAvazXVw1zQ6o9wE0bzmVUXoxuAQFEk7RjZPX6jsEl3SW0Pd6X1gLdJ\n\tftA+0S34UDhe5Ea1w7kzQ/kDVhf0XmNJQHNR68c3/zBR0OGa77GaOcCEZI6hnoD5z/ny\n\t2WP7cIYNvkm3Uhvy8H/iWRcgxRkUsu4SPpwqYkifJnCpEtNFBku6Ge8oqzjeGv5gx429\n\tLPcB69MvW2IbMiyWix9aRnSCxkMxiv2LY34RQACZZYbX9nb4S7YtP05le9bsaYW5BW1A\n\tQDdi6+Es7tjZ4T8kmkcVtaVeL2HZIbhzHi+/hZMU87LPsomWYobD7wy/enmVNaB22LlA\n\tURqw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=fTSgLu1ealByNdCuDlXSY+aSJmywpT8oj+1fCJ37i9w=;\n\tb=cfrMkULhen2x0IG1lYAtnri7yoQUbkstu2jOQkdKjr2sMf8q6KiWUO3G4R4XOqEkVX\n\tZzBJ2qp8GFbWCIRfg4MvI0c6G1l2Xe7hBM9f/x8UzFCZJwwXpQbng6nbuxpg8ySzGdEm\n\tc2To7pC8tfKuS8CuVFWsM9EJdDpo/65rv5Ady30sx7uJ0MG/7ZX0aO/k0YcEwTbxG0Er\n\t7PWxgqZ5Dsac55GHL8V6d+x5XythqfnzQiSZ1QbNKo2qEkFMVEcsq8FmBDAk3etEUSVz\n\tJbt6oxDifqCyhbuHUHjnQqrtHPbwI5Fp/+ONEIwL7jAMf41DBoRo5RYsElyGlMpgUcK1\n\tuXpg==",
        "X-Gm-Message-State": "AHPjjUgGucFE1wsUj6gPqbaeX2etmEs/8NN/pahot5ZGDZbPwl80Nbj0\n\t7IMWg6GcbmQOueWYjZg=",
        "X-Google-Smtp-Source": "AOwi7QB5WPIcJBV9w9wNuCyHJynXmOPsR3GfD5oIjE2lkAFPL9zAZ1WI9iJq/OcE787GDqICrFr0qA==",
        "X-Received": "by 10.84.199.170 with SMTP id r39mr85617pld.375.1505774096082;\n\tMon, 18 Sep 2017 15:34:56 -0700 (PDT)",
        "From": "Andrey Smirnov <andrew.smirnov@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Mon, 18 Sep 2017 15:34:41 -0700",
        "Message-Id": "<20170918223441.2129-1-andrew.smirnov@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "Cc": "Andrey Smirnov <andrew.smirnov@gmail.com>,\n\tThomas Petazzoni <thomas.petazzoni@free-electrons.com>",
        "Subject": "[Buildroot] [PATCH] package/python3: bump to 3.6.2",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Bump Python3 version to 3.6.2.\n\nPatches dropped:\n\n\"Support PGEN_FOR_BUILD and FREEZE_IMPORTLIB_FOR_BUILD\"\n\nRationale: With commit 9d02f562961efd12d3c8317a10916db7f77330cc, code\ngeneration step of building CPython now became explicit (instead of\nalways performed as a part of 'make' invocation) and more granular. We\nno longer need to use Parser/pgen at all and tricking the build system\ninto using different Programs/_freeze_importlib can be done as a part\nof recipe.\n\nAdditional info about the build change can be found at\nhttps://bugs.python.org/issue23404\n\nSigned-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n---\n ...1-Make-the-build-of-pyc-files-conditional.patch | 14 ++---\n ...gy_getaddrinfo-configure-test-when-cross-.patch |  8 +--\n ...ructure-to-disable-the-build-of-certain-e.patch | 18 +++---\n ...ibrary-header-paths-for-cross-compilation.patch |  8 +--\n ...n-t-look-in-usr-lib-termcap-for-libraries.patch |  6 +-\n .../python3/0006-Don-t-add-multiarch-paths.patch   |  6 +-\n .../0007-Abort-on-failed-module-build.patch        |  6 +-\n package/python3/0008-Serial-ioctl-workaround.patch |  6 +-\n ...st-the-shebang-of-Python-scripts-for-cros.patch |  6 +-\n ...-config.sh.in-ensure-sed-invocations-only.patch |  6 +-\n ...stem-locale-and-set-to-default-when-addin.patch |  6 +-\n ...0012-Add-importlib-fix-for-PEP-3147-issue.patch |  6 +-\n ...on-to-disable-installation-of-test-module.patch | 14 ++---\n .../0014-Add-an-option-to-disable-pydoc.patch      | 22 ++++----\n .../0015-Add-an-option-to-disable-lib2to3.patch    | 24 ++++----\n ...-Add-option-to-disable-the-sqlite3-module.patch | 16 +++---\n ...17-Add-an-option-to-disable-the-tk-module.patch | 16 +++---\n ...dd-an-option-to-disable-the-curses-module.patch | 14 ++---\n .../0019-Add-an-option-to-disable-expat.patch      | 18 +++---\n .../0020-Add-an-option-to-disable-CJK-codecs.patch |  8 +--\n .../0021-Add-an-option-to-disable-NIS.patch        |  8 +--\n ...0022-Add-an-option-to-disable-unicodedata.patch |  8 +--\n .../0023-Add-an-option-to-disable-IDLE.patch       | 20 +++----\n .../0024-Add-an-option-to-disable-decimal.patch    | 12 ++--\n ...-option-to-disable-the-ossaudiodev-module.patch |  8 +--\n ...Add-an-option-to-disable-openssl-support.patch} |  8 +--\n ...N_FOR_BUILD-and-FREEZE_IMPORTLIB_FOR_BUIL.patch | 64 ----------------------\n ...an-option-to-disable-the-readline-module.patch} |  8 +--\n ...ons-to-disable-zlib-bzip2-and-xz-modules.patch} |  8 +--\n package/python3/python3.hash                       |  6 +-\n package/python3/python3.mk                         | 60 ++++++++++++++------\n 31 files changed, 199 insertions(+), 239 deletions(-)\n rename package/python3/{0027-Add-an-option-to-disable-openssl-support.patch => 0026-Add-an-option-to-disable-openssl-support.patch} (83%)\n delete mode 100644 package/python3/0026-Support-PGEN_FOR_BUILD-and-FREEZE_IMPORTLIB_FOR_BUIL.patch\n rename package/python3/{0028-Add-an-option-to-disable-the-readline-module.patch => 0027-Add-an-option-to-disable-the-readline-module.patch} (82%)\n rename package/python3/{0029-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (87%)",
    "diff": "diff --git a/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch b/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch\nindex 326f15e3a5..4a8e4e8296 100644\n--- a/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch\n+++ b/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch\n@@ -1,4 +1,4 @@\n-From 1c2d155d1ef3da49b5ed970ab8d63958c516e9b9 Mon Sep 17 00:00:00 2001\n+From e568f4deb7c648e3265154574db753601636cdda Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 16:21:31 -0800\n Subject: [PATCH] Make the build of pyc files conditional\n@@ -15,10 +15,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  2 files changed, 8 insertions(+)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 8f27d73..b78a765 100644\n+index 82e830727e..b38bd79121 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1308,6 +1308,7 @@ libinstall:\tbuild_all $(srcdir)/Modules/xxmodule.c\n+@@ -1311,6 +1311,7 @@ libinstall:\tbuild_all $(srcdir)/Modules/xxmodule.c\n  \t\t$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \\\n  \t\t\t$(DESTDIR)$(LIBDEST)/distutils/tests ; \\\n  \tfi\n@@ -26,7 +26,7 @@ index 8f27d73..b78a765 100644\n  \t-PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \\\n  \t\t$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \\\n  \t\t-d $(LIBDEST) -f \\\n-@@ -1335,6 +1336,7 @@ libinstall:\tbuild_all $(srcdir)/Modules/xxmodule.c\n+@@ -1338,6 +1339,7 @@ libinstall:\tbuild_all $(srcdir)/Modules/xxmodule.c\n  \t\t$(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \\\n  \t\t-d $(LIBDEST)/site-packages -f \\\n  \t\t-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages\n@@ -35,10 +35,10 @@ index 8f27d73..b78a765 100644\n  \t\t$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt\n  \t-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \\\n diff --git a/configure.ac b/configure.ac\n-index 9eacf52..8e7b2ad 100644\n+index 962006704f..a76b5444df 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -1122,6 +1122,12 @@ fi\n+@@ -1113,6 +1113,12 @@ fi\n  \n  AC_MSG_CHECKING(LDLIBRARY)\n  \n@@ -52,5 +52,5 @@ index 9eacf52..8e7b2ad 100644\n  # library that we build, but we do not want to link against it (we\n  # will find it with a -framework option). For this reason there is an\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch b/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch\nindex 49a1422eef..e997f47693 100644\n--- a/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch\n+++ b/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch\n@@ -1,4 +1,4 @@\n-From cc5adc98d981cff5acf0f1c52bf7ae4709a35fc3 Mon Sep 17 00:00:00 2001\n+From 8ec1677d16bef6d6ee5cee4ff004dfa3d0428e88 Mon Sep 17 00:00:00 2001\n From: Vanya Sergeev <vsergeev@gmail.com>\n Date: Wed, 23 Dec 2015 11:30:33 +0100\n Subject: [PATCH] Disable buggy_getaddrinfo configure test when cross-compiling\n@@ -10,10 +10,10 @@ Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>\n  1 file changed, 1 insertion(+), 1 deletion(-)\n \n diff --git a/configure.ac b/configure.ac\n-index 8e7b2ad..250b23b 100644\n+index a76b5444df..5f87c4db5a 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3908,7 +3908,7 @@ fi\n+@@ -3939,7 +3939,7 @@ fi\n  \n  AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)\n  \n@@ -23,5 +23,5 @@ index 8e7b2ad..250b23b 100644\n  \tif test $ipv6 = yes\n  \tthen\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch b/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch\nindex bf8cd925bc..76555d290f 100644\n--- a/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch\n+++ b/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch\n@@ -1,4 +1,4 @@\n-From 300143451b42717eb05fc8b876f25ff4b202d8c4 Mon Sep 17 00:00:00 2001\n+From 2c2afc80831c518e5daf3df6c9e4c4ac0a7be001 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 16:33:22 -0800\n Subject: [PATCH] Add infrastructure to disable the build of certain extensions\n@@ -44,10 +44,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  3 files changed, 12 insertions(+), 2 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index b78a765..0e06ddb 100644\n+index b38bd79121..4ce917ab8d 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -188,6 +188,8 @@ FILEMODE=\t644\n+@@ -190,6 +190,8 @@ FILEMODE=\t644\n  # configure script arguments\n  CONFIG_ARGS=\t@CONFIG_ARGS@\n  \n@@ -56,7 +56,7 @@ index b78a765..0e06ddb 100644\n  \n  # Subdirectories with code\n  SRCDIRS= \t@SRCDIRS@\n-@@ -606,6 +608,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o\n+@@ -575,6 +577,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o\n  \tesac; \\\n  \t$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \\\n  \t\t_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \\\n@@ -64,7 +64,7 @@ index b78a765..0e06ddb 100644\n  \t\t$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build\n  \n  \n-@@ -1433,7 +1436,8 @@ libainstall:\tall python-config\n+@@ -1436,7 +1439,8 @@ libainstall:\t@DEF_MAKE_RULE@ python-config\n  # Install the dynamically loadable modules\n  # This goes into $(exec_prefix)\n  sharedinstall: sharedmods\n@@ -75,10 +75,10 @@ index b78a765..0e06ddb 100644\n  \t\t--install-scripts=$(BINDIR) \\\n  \t\t--install-platlib=$(DESTSHARED) \\\n diff --git a/configure.ac b/configure.ac\n-index 250b23b..fc4e71a 100644\n+index 5f87c4db5a..d5ee2aedfb 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -2779,6 +2779,8 @@ LIBS=\"$withval $LIBS\"\n+@@ -2810,6 +2810,8 @@ LIBS=\"$withval $LIBS\"\n  \n  PKG_PROG_PKG_CONFIG\n  \n@@ -88,7 +88,7 @@ index 250b23b..fc4e71a 100644\n  AC_MSG_CHECKING(for --with-system-expat)\n  AC_ARG_WITH(system_expat,\n diff --git a/setup.py b/setup.py\n-index f04bf22..c5bce21 100644\n+index fe477974bd..86643ae8bf 100644\n --- a/setup.py\n +++ b/setup.py\n @@ -43,7 +43,11 @@ host_platform = get_platform()\n@@ -105,5 +105,5 @@ index f04bf22..c5bce21 100644\n  def add_dir_to_list(dirlist, dir):\n      \"\"\"Add the directory 'dir' to the list 'dirlist' (after any relative\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch b/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch\nindex 89b8ed8768..989943e473 100644\n--- a/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch\n+++ b/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch\n@@ -1,4 +1,4 @@\n-From 7c21396776e10346dccd805d4250e26e8172a812 Mon Sep 17 00:00:00 2001\n+From e359a7a3c4f9e70360a068bef19c95938fdacede Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:33:14 +0100\n Subject: [PATCH] Adjust library/header paths for cross-compilation\n@@ -21,7 +21,7 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  2 files changed, 15 insertions(+), 5 deletions(-)\n \n diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py\n-index 74de782..d0c847b 100644\n+index 74de782d8a..d0c847b365 100644\n --- a/Lib/distutils/command/build_ext.py\n +++ b/Lib/distutils/command/build_ext.py\n @@ -233,7 +233,10 @@ class build_ext(Command):\n@@ -37,7 +37,7 @@ index 74de782..d0c847b 100644\n                  # building python standard extensions\n                  self.library_dirs.append('.')\n diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py\n-index 8bf1a70..5a02145 100644\n+index 2bcd1dd288..422c13fa4f 100644\n --- a/Lib/distutils/sysconfig.py\n +++ b/Lib/distutils/sysconfig.py\n @@ -17,10 +17,17 @@ import sys\n@@ -63,5 +63,5 @@ index 8bf1a70..5a02145 100644\n  # Path to the base directory of the project. On Windows the binary may\n  # live in project/PCBuild/win32 or project/PCBuild/amd64.\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch b/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch\nindex fa0e33d706..250d6ec538 100644\n--- a/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch\n+++ b/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch\n@@ -1,4 +1,4 @@\n-From 0458813245e8ba3d5b567cd53303cbe975144e95 Mon Sep 17 00:00:00 2001\n+From 01b588baf835ec95df7c5696eff1f6c07eaa1108 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:36:00 +0100\n Subject: [PATCH] Don't look in /usr/lib/termcap for libraries\n@@ -9,7 +9,7 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 1 insertion(+), 4 deletions(-)\n \n diff --git a/setup.py b/setup.py\n-index c5bce21..c5eb97d 100644\n+index 86643ae8bf..cd00fbdbda 100644\n --- a/setup.py\n +++ b/setup.py\n @@ -786,12 +786,9 @@ class PyBuildExt(build_ext):\n@@ -27,5 +27,5 @@ index c5bce21..c5eb97d 100644\n                                     libraries=readline_libs) )\n          else:\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0006-Don-t-add-multiarch-paths.patch b/package/python3/0006-Don-t-add-multiarch-paths.patch\nindex 5a858e0b05..220c54cde8 100644\n--- a/package/python3/0006-Don-t-add-multiarch-paths.patch\n+++ b/package/python3/0006-Don-t-add-multiarch-paths.patch\n@@ -1,4 +1,4 @@\n-From 0d6f96e2fcc7d07000e9077622cd411e3b4a4569 Mon Sep 17 00:00:00 2001\n+From 9055171433d5f6beae90815e8c075dc1e0938936 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:36:27 +0100\n Subject: [PATCH] Don't add multiarch paths\n@@ -17,7 +17,7 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 1 insertion(+), 1 deletion(-)\n \n diff --git a/setup.py b/setup.py\n-index c5eb97d..09fc3ee 100644\n+index cd00fbdbda..c956fa08d1 100644\n --- a/setup.py\n +++ b/setup.py\n @@ -497,10 +497,10 @@ class PyBuildExt(build_ext):\n@@ -33,5 +33,5 @@ index c5eb97d..09fc3ee 100644\n          # Add paths specified in the environment variables LDFLAGS and\n          # CPPFLAGS for header and library files.\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0007-Abort-on-failed-module-build.patch b/package/python3/0007-Abort-on-failed-module-build.patch\nindex 09aa47211a..a44d6b3ec3 100644\n--- a/package/python3/0007-Abort-on-failed-module-build.patch\n+++ b/package/python3/0007-Abort-on-failed-module-build.patch\n@@ -1,4 +1,4 @@\n-From 03936d5f998e60f234617b41f85053ea10b7a3d8 Mon Sep 17 00:00:00 2001\n+From 63ab4a20076740bd39985c7dee3d6231cdc74c75 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:43:24 +0100\n Subject: [PATCH] Abort on failed module build\n@@ -14,7 +14,7 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 1 insertion(+)\n \n diff --git a/setup.py b/setup.py\n-index 09fc3ee..0be015e 100644\n+index c956fa08d1..b3add2be76 100644\n --- a/setup.py\n +++ b/setup.py\n @@ -312,6 +312,7 @@ class PyBuildExt(build_ext):\n@@ -26,5 +26,5 @@ index 09fc3ee..0be015e 100644\n          if self.failed_on_import:\n              failed = self.failed_on_import[:]\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0008-Serial-ioctl-workaround.patch b/package/python3/0008-Serial-ioctl-workaround.patch\nindex 48ecd836ab..f303bd04db 100644\n--- a/package/python3/0008-Serial-ioctl-workaround.patch\n+++ b/package/python3/0008-Serial-ioctl-workaround.patch\n@@ -1,4 +1,4 @@\n-From 076ac00569a0e6b330d75951c599a36464c4902b Mon Sep 17 00:00:00 2001\n+From 20767cb868ff271f4501a6e023f367400882d75e Mon Sep 17 00:00:00 2001\n From: Baruch Siach <baruch@tkos.co.il>\n Date: Wed, 23 Dec 2015 11:44:02 +0100\n Subject: [PATCH] Serial ioctl() workaround\n@@ -15,7 +15,7 @@ Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n  1 file changed, 2 insertions(+)\n \n diff --git a/Modules/termios.c b/Modules/termios.c\n-index b78d33e..58b0444 100644\n+index b78d33e688..58b0444565 100644\n --- a/Modules/termios.c\n +++ b/Modules/termios.c\n @@ -9,7 +9,9 @@\n@@ -29,5 +29,5 @@ index b78d33e..58b0444 100644\n  /* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR,\n   * MDTR, MRI, and MRTS (appearantly used internally by some things\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch b/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch\nindex 015ecc0e35..ce84d11bcf 100644\n--- a/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch\n+++ b/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch\n@@ -1,4 +1,4 @@\n-From 0d63a5df20abeea7a5f10eaceed376151565e766 Mon Sep 17 00:00:00 2001\n+From 8869b15c754ae615203b65a99e043f56770bacd5 Mon Sep 17 00:00:00 2001\n From: Christophe Vu-Brugier <cvubrugier@fastmail.fm>\n Date: Wed, 23 Dec 2015 11:44:30 +0100\n Subject: [PATCH] Do not adjust the shebang of Python scripts for\n@@ -18,7 +18,7 @@ Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>\n  1 file changed, 1 insertion(+), 1 deletion(-)\n \n diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py\n-index ccc70e6..d6d5419 100644\n+index ccc70e6465..d6d54195c1 100644\n --- a/Lib/distutils/command/build_scripts.py\n +++ b/Lib/distutils/command/build_scripts.py\n @@ -91,7 +91,7 @@ class build_scripts(Command):\n@@ -31,5 +31,5 @@ index ccc70e6..d6d5419 100644\n                           self.build_dir)\n                  updated_files.append(outfile)\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch b/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch\nindex 8a2391fd93..786e958751 100644\n--- a/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch\n+++ b/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch\n@@ -1,4 +1,4 @@\n-From 6bb211f4b53e92ffba793863f8c8b97a90f8dd3c Mon Sep 17 00:00:00 2001\n+From da3880edac19100f69891f225cc2f07a82be1e52 Mon Sep 17 00:00:00 2001\n From: Peter Korsgaard <peter@korsgaard.com>\n Date: Thu, 20 Nov 2014 13:24:59 +0100\n Subject: [PATCH] Misc/python-config.sh.in: ensure sed invocations only match\n@@ -25,7 +25,7 @@ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>\n  1 file changed, 6 insertions(+), 6 deletions(-)\n \n diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in\n-index 30c6927..f905a71 100644\n+index 30c6927871..f905a7132f 100644\n --- a/Misc/python-config.sh.in\n +++ b/Misc/python-config.sh.in\n @@ -29,12 +29,12 @@ prefix_real=$(installed_prefix \"$0\")\n@@ -56,5 +56,5 @@ index 30c6927..f905a71 100644\n  PYTHONFRAMEWORK=\"@PYTHONFRAMEWORK@\"\n  INCDIR=\"-I$includedir/python${VERSION}${ABIFLAGS}\"\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch\nindex 139537b230..1c1484011f 100644\n--- a/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch\n+++ b/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch\n@@ -1,4 +1,4 @@\n-From 147a1974d15654c579d5ac854f969d7393a20744 Mon Sep 17 00:00:00 2001\n+From 660ea434ad8f921db74c0e3f93aa3ff5daac44f3 Mon Sep 17 00:00:00 2001\n From: Samuel Cabrero <samuelcabrero@gmail.com>\n Date: Wed, 23 Dec 2015 11:45:48 +0100\n Subject: [PATCH] Override system locale and set to default when adding gcc\n@@ -20,7 +20,7 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 1 insertion(+), 1 deletion(-)\n \n diff --git a/setup.py b/setup.py\n-index 0be015e..c865172 100644\n+index b3add2be76..29bfd174d2 100644\n --- a/setup.py\n +++ b/setup.py\n @@ -457,7 +457,7 @@ class PyBuildExt(build_ext):\n@@ -33,5 +33,5 @@ index 0be015e..c865172 100644\n          in_incdirs = False\n          inc_dirs = []\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch\nindex b929fa36d1..ed0ca26eb7 100644\n--- a/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch\n+++ b/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch\n@@ -1,4 +1,4 @@\n-From 7615840f2298aedc990db3d9be2badb19294a807 Mon Sep 17 00:00:00 2001\n+From 9db508467be41bc35f06c0076c855b99a1519d24 Mon Sep 17 00:00:00 2001\n From: Christophe Vu-Brugier <cvubrugier@fastmail.fm>\n Date: Wed, 22 Feb 2017 16:48:49 -0800\n Subject: [PATCH] Add importlib fix for PEP 3147 issue\n@@ -25,7 +25,7 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  1 file changed, 5 insertions(+), 33 deletions(-)\n \n diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py\n-index 9feec50..3550013 100644\n+index 9feec50842..3550013d58 100644\n --- a/Lib/importlib/_bootstrap_external.py\n +++ b/Lib/importlib/_bootstrap_external.py\n @@ -275,8 +275,6 @@ def cache_from_source(path, debug_override=None, *, optimization=None):\n@@ -95,5 +95,5 @@ index 9feec50..3550013 100644\n  \n  \n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch b/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch\nindex 17a214fe32..fc27eda115 100644\n--- a/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch\n+++ b/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch\n@@ -1,4 +1,4 @@\n-From 203087fe335a4b254c415f298ac6710d3f98b27e Mon Sep 17 00:00:00 2001\n+From bba0896a05e6406076893dd2f4c3b330e41082a6 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:01:18 -0800\n Subject: [PATCH] Add an option to disable installation of test modules\n@@ -16,10 +16,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  2 files changed, 41 insertions(+), 19 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 0e06ddb..029d3e3 100644\n+index 4ce917ab8d..4110fff4ac 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1191,8 +1191,28 @@ maninstall:\taltmaninstall\n+@@ -1194,8 +1194,28 @@ maninstall:\taltmaninstall\n  \n  # Install the library\n  XMLLIBSUBDIRS=  xml xml/dom xml/etree xml/parsers xml/sax\n@@ -50,7 +50,7 @@ index 0e06ddb..029d3e3 100644\n  \t\ttest/audiodata \\\n  \t\ttest/capath test/data \\\n  \t\ttest/cjkencodings test/decimaltestdata test/xmltestdata \\\n-@@ -1226,29 +1246,26 @@ LIBSUBDIRS=\ttkinter tkinter/test tkinter/test/test_tkinter \\\n+@@ -1229,29 +1249,26 @@ LIBSUBDIRS=\ttkinter tkinter/test tkinter/test/test_tkinter \\\n  \t\ttest/test_importlib/namespace_pkgs/project3/parent/child \\\n                  test/test_importlib/namespace_pkgs/module_and_namespace_package \\\n                  test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test \\\n@@ -95,10 +95,10 @@ index 0e06ddb..029d3e3 100644\n  \t@for i in $(SCRIPTDIR) $(LIBDEST); \\\n  \tdo \\\n diff --git a/configure.ac b/configure.ac\n-index fc4e71a..972eaca 100644\n+index d5ee2aedfb..f924937fe1 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3081,6 +3081,11 @@ if test \"$posix_threads\" = \"yes\"; then\n+@@ -3112,6 +3112,11 @@ if test \"$posix_threads\" = \"yes\"; then\n        AC_CHECK_FUNCS(pthread_atfork)\n  fi\n  \n@@ -111,5 +111,5 @@ index fc4e71a..972eaca 100644\n  # Check for enable-ipv6\n  AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified])\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0014-Add-an-option-to-disable-pydoc.patch b/package/python3/0014-Add-an-option-to-disable-pydoc.patch\nindex b62a564ee7..fc565cfe10 100644\n--- a/package/python3/0014-Add-an-option-to-disable-pydoc.patch\n+++ b/package/python3/0014-Add-an-option-to-disable-pydoc.patch\n@@ -1,4 +1,4 @@\n-From 5255a7e995d67a7f192b4cf3921826a365c00281 Mon Sep 17 00:00:00 2001\n+From 18a754e930e03d143d9392e49174cc370b334cdd Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:07:56 -0800\n Subject: [PATCH] Add an option to disable pydoc\n@@ -17,10 +17,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  3 files changed, 20 insertions(+), 3 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 029d3e3..92315f2 100644\n+index 4110fff4ac..badb2af35d 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1161,7 +1161,9 @@ bininstall: altbininstall\n+@@ -1164,7 +1164,9 @@ bininstall: altbininstall\n  \t-rm -f $(DESTDIR)$(BINDIR)/idle3\n  \t(cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3)\n  \t-rm -f $(DESTDIR)$(BINDIR)/pydoc3\n@@ -30,7 +30,7 @@ index 029d3e3..92315f2 100644\n  \t-rm -f $(DESTDIR)$(BINDIR)/2to3\n  \t(cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3)\n  \t-rm -f $(DESTDIR)$(BINDIR)/pyvenv\n-@@ -1209,7 +1211,7 @@ LIBSUBDIRS=\ttkinter site-packages \\\n+@@ -1212,7 +1214,7 @@ LIBSUBDIRS=\ttkinter site-packages \\\n  \t\tmultiprocessing multiprocessing/dummy \\\n  \t\tunittest \\\n  \t\tvenv venv/scripts venv/scripts/common venv/scripts/posix \\\n@@ -39,7 +39,7 @@ index 029d3e3..92315f2 100644\n  \n  TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n  \t\ttkinter/test/test_ttk test \\\n-@@ -1266,6 +1268,10 @@ ifeq (@TEST_MODULES@,yes)\n+@@ -1269,6 +1271,10 @@ ifeq (@TEST_MODULES@,yes)\n  LIBSUBDIRS += $(TESTSUBDIRS)\n  endif\n  \n@@ -51,10 +51,10 @@ index 029d3e3..92315f2 100644\n  \t@for i in $(SCRIPTDIR) $(LIBDEST); \\\n  \tdo \\\n diff --git a/configure.ac b/configure.ac\n-index 972eaca..654594a 100644\n+index f924937fe1..1621fa1611 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3081,6 +3081,12 @@ if test \"$posix_threads\" = \"yes\"; then\n+@@ -3112,6 +3112,12 @@ if test \"$posix_threads\" = \"yes\"; then\n        AC_CHECK_FUNCS(pthread_atfork)\n  fi\n  \n@@ -68,10 +68,10 @@ index 972eaca..654594a 100644\n  \n  AC_ARG_ENABLE(test-modules,\n diff --git a/setup.py b/setup.py\n-index c865172..26bf414 100644\n+index 29bfd174d2..94dd337fef 100644\n --- a/setup.py\n +++ b/setup.py\n-@@ -2278,6 +2278,12 @@ def main():\n+@@ -2281,6 +2281,12 @@ def main():\n      # turn off warnings when deprecated modules are imported\n      import warnings\n      warnings.filterwarnings(\"ignore\",category=DeprecationWarning)\n@@ -84,7 +84,7 @@ index c865172..26bf414 100644\n      setup(# PyPI Metadata (PEP 301)\n            name = \"Python\",\n            version = sys.version.split()[0],\n-@@ -2302,8 +2308,7 @@ def main():\n+@@ -2305,8 +2311,7 @@ def main():\n            # If you change the scripts installed here, you also need to\n            # check the PyBuildScripts command above, and change the links\n            # created by the bininstall target in Makefile.pre.in\n@@ -95,5 +95,5 @@ index c865172..26bf414 100644\n  \n  # --install-platlib\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0015-Add-an-option-to-disable-lib2to3.patch b/package/python3/0015-Add-an-option-to-disable-lib2to3.patch\nindex fc44e6f938..e6a39383e5 100644\n--- a/package/python3/0015-Add-an-option-to-disable-lib2to3.patch\n+++ b/package/python3/0015-Add-an-option-to-disable-lib2to3.patch\n@@ -1,4 +1,4 @@\n-From a60b0237cb8eb1899b5c4dcf71527437e79972c9 Mon Sep 17 00:00:00 2001\n+From c2d279b4a19de7a32e8a73e320423f699d408380 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:15:31 -0800\n Subject: [PATCH] Add an option to disable lib2to3\n@@ -17,10 +17,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  3 files changed, 21 insertions(+), 6 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 92315f2..8e67c91 100644\n+index badb2af35d..931cc3ed07 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1165,7 +1165,9 @@ ifeq (@PYDOC@,yes)\n+@@ -1168,7 +1168,9 @@ ifeq (@PYDOC@,yes)\n  \t(cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3)\n  endif\n  \t-rm -f $(DESTDIR)$(BINDIR)/2to3\n@@ -30,7 +30,7 @@ index 92315f2..8e67c91 100644\n  \t-rm -f $(DESTDIR)$(BINDIR)/pyvenv\n  \t(cd $(DESTDIR)$(BINDIR); $(LN) -s pyvenv-$(VERSION) pyvenv)\n  \tif test \"x$(LIPO_32BIT_FLAGS)\" != \"x\" ; then \\\n-@@ -1202,7 +1204,6 @@ LIBSUBDIRS=\ttkinter site-packages \\\n+@@ -1205,7 +1207,6 @@ LIBSUBDIRS=\ttkinter site-packages \\\n  \t\thtml json http dbm xmlrpc \\\n  \t\tsqlite3 \\\n  \t\tlogging csv wsgiref urllib \\\n@@ -38,7 +38,7 @@ index 92315f2..8e67c91 100644\n  \t\tctypes ctypes/macholib \\\n  \t\tidlelib idlelib/Icons \\\n  \t\tdistutils distutils/command $(XMLLIBSUBDIRS) \\\n-@@ -1252,9 +1253,6 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n+@@ -1255,9 +1256,6 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n  \t\ttest/test_email test/test_email/data \\\n  \t\ttest/test_json \\\n  \t\tsqlite3/test \\\n@@ -48,7 +48,7 @@ index 92315f2..8e67c91 100644\n  \t\tctypes/test \\\n  \t\tidlelib/idle_test \\\n  \t\tdistutils/tests \\\n-@@ -1264,6 +1262,14 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n+@@ -1267,6 +1265,14 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n  \t\ttest/test_tools test/test_warnings test/test_warnings/data \\\n  \t\tunittest/test unittest/test/testmock\n  \n@@ -63,7 +63,7 @@ index 92315f2..8e67c91 100644\n  ifeq (@TEST_MODULES@,yes)\n  LIBSUBDIRS += $(TESTSUBDIRS)\n  endif\n-@@ -1363,10 +1369,12 @@ ifeq (@PYC_BUILD@,yes)\n+@@ -1366,10 +1372,12 @@ ifeq (@PYC_BUILD@,yes)\n  \t\t-d $(LIBDEST)/site-packages -f \\\n  \t\t-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages\n  endif\n@@ -77,10 +77,10 @@ index 92315f2..8e67c91 100644\n  python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh\n  \t# Substitution happens here, as the completely-expanded BINDIR\n diff --git a/configure.ac b/configure.ac\n-index 654594a..b518cbe 100644\n+index 1621fa1611..13b2edf8b7 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3093,6 +3093,12 @@ AC_ARG_ENABLE(test-modules,\n+@@ -3124,6 +3124,12 @@ AC_ARG_ENABLE(test-modules,\n  \tAS_HELP_STRING([--disable-test-modules], [disable test modules]),\n  \t[ TEST_MODULES=\"${enableval}\" ], [ TEST_MODULES=yes ])\n  \n@@ -94,10 +94,10 @@ index 654594a..b518cbe 100644\n  AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified])\n  AC_MSG_CHECKING([if --enable-ipv6 is specified])\n diff --git a/setup.py b/setup.py\n-index 26bf414..80ec79b 100644\n+index 94dd337fef..76429e1326 100644\n --- a/setup.py\n +++ b/setup.py\n-@@ -2279,10 +2279,11 @@ def main():\n+@@ -2282,10 +2282,11 @@ def main():\n      import warnings\n      warnings.filterwarnings(\"ignore\",category=DeprecationWarning)\n  \n@@ -112,5 +112,5 @@ index 26bf414..80ec79b 100644\n      setup(# PyPI Metadata (PEP 301)\n            name = \"Python\",\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch b/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch\nindex 9d34f6acc8..675e8282be 100644\n--- a/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch\n+++ b/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch\n@@ -1,4 +1,4 @@\n-From 59b833c2ee545e53bcb920e9509b67419c2fb1ad Mon Sep 17 00:00:00 2001\n+From f2965dfb1aa4f6b3216f3bb1d20f99326f127079 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:20:45 -0800\n Subject: [PATCH] Add option to disable the sqlite3 module\n@@ -13,10 +13,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  2 files changed, 14 insertions(+), 2 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 8e67c91..3907f92 100644\n+index 931cc3ed07..a1ce0712cd 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1202,7 +1202,6 @@ LIBSUBDIRS=\ttkinter site-packages \\\n+@@ -1205,7 +1205,6 @@ LIBSUBDIRS=\ttkinter site-packages \\\n  \t\temail email/mime \\\n  \t\tensurepip ensurepip/_bundled \\\n  \t\thtml json http dbm xmlrpc \\\n@@ -24,7 +24,7 @@ index 8e67c91..3907f92 100644\n  \t\tlogging csv wsgiref urllib \\\n  \t\tctypes ctypes/macholib \\\n  \t\tidlelib idlelib/Icons \\\n-@@ -1252,7 +1251,6 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n+@@ -1255,7 +1254,6 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n  \t\ttest/test_asyncio \\\n  \t\ttest/test_email test/test_email/data \\\n  \t\ttest/test_json \\\n@@ -32,7 +32,7 @@ index 8e67c91..3907f92 100644\n  \t\tctypes/test \\\n  \t\tidlelib/idle_test \\\n  \t\tdistutils/tests \\\n-@@ -1270,6 +1268,11 @@ TESTSUBDIRS += lib2to3/tests\t\t\t\\\n+@@ -1273,6 +1271,11 @@ TESTSUBDIRS += lib2to3/tests\t\t\t\\\n  \tlib2to3/tests/data/fixers/myfixes\n  endif\n  \n@@ -45,10 +45,10 @@ index 8e67c91..3907f92 100644\n  LIBSUBDIRS += $(TESTSUBDIRS)\n  endif\n diff --git a/configure.ac b/configure.ac\n-index b518cbe..a30c45d 100644\n+index 13b2edf8b7..d7582cfea4 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3081,6 +3081,15 @@ if test \"$posix_threads\" = \"yes\"; then\n+@@ -3112,6 +3112,15 @@ if test \"$posix_threads\" = \"yes\"; then\n        AC_CHECK_FUNCS(pthread_atfork)\n  fi\n  \n@@ -65,5 +65,5 @@ index b518cbe..a30c45d 100644\n  \n  AC_ARG_ENABLE(pydoc,\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch b/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch\nindex 925eb82d4b..56196416a2 100644\n--- a/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch\n+++ b/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch\n@@ -1,4 +1,4 @@\n-From 4fc4260e66f8b004f14feb332c57a2d8fdd305de Mon Sep 17 00:00:00 2001\n+From f96a00d42e714171f1d90501ed73594fddee570f Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:23:42 -0800\n Subject: [PATCH] Add an option to disable the tk module\n@@ -13,10 +13,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  2 files changed, 17 insertions(+), 3 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 3907f92..93ef34d 100644\n+index a1ce0712cd..dc1e917cc3 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1196,7 +1196,7 @@ maninstall:\taltmaninstall\n+@@ -1199,7 +1199,7 @@ maninstall:\taltmaninstall\n  # Install the library\n  XMLLIBSUBDIRS=  xml xml/dom xml/etree xml/parsers xml/sax\n  \n@@ -25,7 +25,7 @@ index 3907f92..93ef34d 100644\n  \t\tasyncio \\\n  \t\tcollections concurrent concurrent/futures encodings \\\n  \t\temail email/mime \\\n-@@ -1213,8 +1213,7 @@ LIBSUBDIRS=\ttkinter site-packages \\\n+@@ -1216,8 +1216,7 @@ LIBSUBDIRS=\ttkinter site-packages \\\n  \t\tvenv venv/scripts venv/scripts/common venv/scripts/posix \\\n  \t\tcurses\n  \n@@ -35,7 +35,7 @@ index 3907f92..93ef34d 100644\n  \t\ttest/audiodata \\\n  \t\ttest/capath test/data \\\n  \t\ttest/cjkencodings test/decimaltestdata test/xmltestdata \\\n-@@ -1260,6 +1259,12 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n+@@ -1263,6 +1262,12 @@ TESTSUBDIRS=\ttkinter/test tkinter/test/test_tkinter \\\n  \t\ttest/test_tools test/test_warnings test/test_warnings/data \\\n  \t\tunittest/test unittest/test/testmock\n  \n@@ -49,10 +49,10 @@ index 3907f92..93ef34d 100644\n  LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2\n  TESTSUBDIRS += lib2to3/tests\t\t\t\\\n diff --git a/configure.ac b/configure.ac\n-index a30c45d..52887c9 100644\n+index d7582cfea4..6a56a5b0c1 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3090,6 +3090,15 @@ if test \"$SQLITE3\" = \"no\" ; then\n+@@ -3121,6 +3121,15 @@ if test \"$SQLITE3\" = \"no\" ; then\n     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} _sqlite3\"\n  fi\n  \n@@ -69,5 +69,5 @@ index a30c45d..52887c9 100644\n  \n  AC_ARG_ENABLE(pydoc,\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch b/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch\nindex 18d6431ec4..b68369c16c 100644\n--- a/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch\n+++ b/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch\n@@ -1,4 +1,4 @@\n-From 25cb62e9ff67c990be5a694d66394f20b7ca1fda Mon Sep 17 00:00:00 2001\n+From 404aad42698c6d5cbd78421720f9a2bc0e8ec9fe Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:31:51 -0800\n Subject: [PATCH] Add an option to disable the curses module\n@@ -13,10 +13,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  2 files changed, 14 insertions(+), 2 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 93ef34d..3621130 100644\n+index dc1e917cc3..6a6bc082cd 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1210,8 +1210,7 @@ LIBSUBDIRS=\tsite-packages \\\n+@@ -1213,8 +1213,7 @@ LIBSUBDIRS=\tsite-packages \\\n  \t\tturtledemo \\\n  \t\tmultiprocessing multiprocessing/dummy \\\n  \t\tunittest \\\n@@ -26,7 +26,7 @@ index 93ef34d..3621130 100644\n  \n  TESTSUBDIRS=\ttest \\\n  \t\ttest/audiodata \\\n-@@ -1265,6 +1264,10 @@ TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \\\n+@@ -1268,6 +1267,10 @@ TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \\\n  \ttkinter/test/test_ttk\n  endif\n  \n@@ -38,10 +38,10 @@ index 93ef34d..3621130 100644\n  LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2\n  TESTSUBDIRS += lib2to3/tests\t\t\t\\\n diff --git a/configure.ac b/configure.ac\n-index 52887c9..485f73c 100644\n+index 6a56a5b0c1..5896b39ff9 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3099,6 +3099,15 @@ if test \"$TK\" = \"no\"; then\n+@@ -3130,6 +3130,15 @@ if test \"$TK\" = \"no\"; then\n     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} _tkinter\"\n  fi\n  \n@@ -58,5 +58,5 @@ index 52887c9..485f73c 100644\n  \n  AC_ARG_ENABLE(pydoc,\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0019-Add-an-option-to-disable-expat.patch b/package/python3/0019-Add-an-option-to-disable-expat.patch\nindex bdbfece463..0ec0b21555 100644\n--- a/package/python3/0019-Add-an-option-to-disable-expat.patch\n+++ b/package/python3/0019-Add-an-option-to-disable-expat.patch\n@@ -1,4 +1,4 @@\n-From a7e1fc80dc729018e806d6f3202c852c0d69cba7 Mon Sep 17 00:00:00 2001\n+From 63fc5bc90cb57460552b544cbed0c2939759ab9e Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:40:45 -0800\n Subject: [PATCH] Add an option to disable expat\n@@ -20,10 +20,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  3 files changed, 19 insertions(+), 7 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 3621130..a9bdbde 100644\n+index 6a6bc082cd..dc4b92b6fe 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1205,7 +1205,7 @@ LIBSUBDIRS=\tsite-packages \\\n+@@ -1208,7 +1208,7 @@ LIBSUBDIRS=\tsite-packages \\\n  \t\tlogging csv wsgiref urllib \\\n  \t\tctypes ctypes/macholib \\\n  \t\tidlelib idlelib/Icons \\\n@@ -32,7 +32,7 @@ index 3621130..a9bdbde 100644\n  \t\timportlib \\\n  \t\tturtledemo \\\n  \t\tmultiprocessing multiprocessing/dummy \\\n-@@ -1268,6 +1268,10 @@ ifeq (@CURSES@,yes)\n+@@ -1271,6 +1271,10 @@ ifeq (@CURSES@,yes)\n  LIBSUBDIRS += curses\n  endif\n  \n@@ -44,10 +44,10 @@ index 3621130..a9bdbde 100644\n  LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2\n  TESTSUBDIRS += lib2to3/tests\t\t\t\\\n diff --git a/configure.ac b/configure.ac\n-index 485f73c..a426b3a 100644\n+index 5896b39ff9..6f21482207 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -2782,13 +2782,21 @@ PKG_PROG_PKG_CONFIG\n+@@ -2813,13 +2813,21 @@ PKG_PROG_PKG_CONFIG\n  AC_SUBST(DISABLED_EXTENSIONS)\n  \n  # Check for use of the system expat library\n@@ -75,10 +75,10 @@ index 485f73c..a426b3a 100644\n  # Check for use of the system libffi library\n  AC_MSG_CHECKING(for --with-system-ffi)\n diff --git a/setup.py b/setup.py\n-index 80ec79b..660bbd7 100644\n+index 76429e1326..38aa5e605e 100644\n --- a/setup.py\n +++ b/setup.py\n-@@ -1492,7 +1492,7 @@ class PyBuildExt(build_ext):\n+@@ -1495,7 +1495,7 @@ class PyBuildExt(build_ext):\n          #\n          # More information on Expat can be found at www.libexpat.org.\n          #\n@@ -88,5 +88,5 @@ index 80ec79b..660bbd7 100644\n              define_macros = []\n              expat_lib = ['expat']\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch b/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch\nindex 80c46a8ee3..6b316d8eba 100644\n--- a/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch\n+++ b/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch\n@@ -1,4 +1,4 @@\n-From 4c2965ff24ab8b7351222b210f01ac7db52f4dc7 Mon Sep 17 00:00:00 2001\n+From 3335500cb13a6bc1ab41dfcf00b33e6ade3b9764 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:49:55 +0100\n Subject: [PATCH] Add an option to disable CJK codecs\n@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 6 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index a426b3a..d88ae47 100644\n+index 6f21482207..c7742faf41 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3098,6 +3098,12 @@ if test \"$SQLITE3\" = \"no\" ; then\n+@@ -3129,6 +3129,12 @@ if test \"$SQLITE3\" = \"no\" ; then\n     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} _sqlite3\"\n  fi\n  \n@@ -26,5 +26,5 @@ index a426b3a..d88ae47 100644\n  AC_ARG_ENABLE(tk,\n  \tAS_HELP_STRING([--disable-tk], [disable tk]),\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0021-Add-an-option-to-disable-NIS.patch b/package/python3/0021-Add-an-option-to-disable-NIS.patch\nindex b5111cba74..f49b23f5c8 100644\n--- a/package/python3/0021-Add-an-option-to-disable-NIS.patch\n+++ b/package/python3/0021-Add-an-option-to-disable-NIS.patch\n@@ -1,4 +1,4 @@\n-From dd10e4ddda9fd4b8205169d223541ab0af506111 Mon Sep 17 00:00:00 2001\n+From e52d4868cc1192f7e1c147aebaf4fc6f7de30357 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:50:11 +0100\n Subject: [PATCH] Add an option to disable NIS\n@@ -12,10 +12,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 6 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index d88ae47..0099a4a 100644\n+index c7742faf41..42a871bb09 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3104,6 +3104,12 @@ AC_ARG_ENABLE(codecs-cjk,\n+@@ -3135,6 +3135,12 @@ AC_ARG_ENABLE(codecs-cjk,\n  \t\tDISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022\"\n  \tfi])\n  \n@@ -29,5 +29,5 @@ index d88ae47..0099a4a 100644\n  AC_ARG_ENABLE(tk,\n  \tAS_HELP_STRING([--disable-tk], [disable tk]),\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0022-Add-an-option-to-disable-unicodedata.patch b/package/python3/0022-Add-an-option-to-disable-unicodedata.patch\nindex 7ffcff2bd6..9c207be680 100644\n--- a/package/python3/0022-Add-an-option-to-disable-unicodedata.patch\n+++ b/package/python3/0022-Add-an-option-to-disable-unicodedata.patch\n@@ -1,4 +1,4 @@\n-From 949887ee3dbbb274539309d3c42ac04fdd67f34f Mon Sep 17 00:00:00 2001\n+From 69d3e8f0438d01adde55e90eeabafa4abefd3b02 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:50:27 +0100\n Subject: [PATCH] Add an option to disable unicodedata\n@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 6 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index 0099a4a..9820526 100644\n+index 42a871bb09..1d610e132b 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3110,6 +3110,12 @@ AC_ARG_ENABLE(nis,\n+@@ -3141,6 +3141,12 @@ AC_ARG_ENABLE(nis,\n      \t     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} nis\"\n    \t  fi])\n  \n@@ -26,5 +26,5 @@ index 0099a4a..9820526 100644\n  AC_ARG_ENABLE(tk,\n  \tAS_HELP_STRING([--disable-tk], [disable tk]),\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0023-Add-an-option-to-disable-IDLE.patch b/package/python3/0023-Add-an-option-to-disable-IDLE.patch\nindex 99ae10bbec..da77c44899 100644\n--- a/package/python3/0023-Add-an-option-to-disable-IDLE.patch\n+++ b/package/python3/0023-Add-an-option-to-disable-IDLE.patch\n@@ -1,4 +1,4 @@\n-From 49814176a19247a39c55feb8e0eb3656cd801118 Mon Sep 17 00:00:00 2001\n+From 5bbd94f014c89665d02a8a32442822ab7c5520d0 Mon Sep 17 00:00:00 2001\n From: Maxime Ripard <maxime.ripard@free-electrons.com>\n Date: Wed, 22 Feb 2017 17:45:14 -0800\n Subject: [PATCH] Add an option to disable IDLE\n@@ -16,10 +16,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n  3 files changed, 15 insertions(+), 2 deletions(-)\n \n diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index a9bdbde..82b01c9 100644\n+index dc4b92b6fe..3e43066d90 100644\n --- a/Makefile.pre.in\n +++ b/Makefile.pre.in\n-@@ -1159,7 +1159,9 @@ bininstall: altbininstall\n+@@ -1162,7 +1162,9 @@ bininstall: altbininstall\n  \t-rm -f $(DESTDIR)$(LIBPC)/python3.pc\n  \t(cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python3.pc)\n  \t-rm -f $(DESTDIR)$(BINDIR)/idle3\n@@ -29,7 +29,7 @@ index a9bdbde..82b01c9 100644\n  \t-rm -f $(DESTDIR)$(BINDIR)/pydoc3\n  ifeq (@PYDOC@,yes)\n  \t(cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3)\n-@@ -1204,7 +1206,6 @@ LIBSUBDIRS=\tsite-packages \\\n+@@ -1207,7 +1209,6 @@ LIBSUBDIRS=\tsite-packages \\\n  \t\thtml json http dbm xmlrpc \\\n  \t\tlogging csv wsgiref urllib \\\n  \t\tctypes ctypes/macholib \\\n@@ -37,7 +37,7 @@ index a9bdbde..82b01c9 100644\n  \t\tdistutils distutils/command \\\n  \t\timportlib \\\n  \t\tturtledemo \\\n-@@ -1272,6 +1273,10 @@ ifeq (@EXPAT@,yes)\n+@@ -1275,6 +1276,10 @@ ifeq (@EXPAT@,yes)\n  LIBSUBDIRS += $(XMLLIBSUBDIRS)\n  endif\n  \n@@ -49,10 +49,10 @@ index a9bdbde..82b01c9 100644\n  LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2\n  TESTSUBDIRS += lib2to3/tests\t\t\t\\\n diff --git a/configure.ac b/configure.ac\n-index 9820526..72989a1 100644\n+index 1d610e132b..2699e7ceb1 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3152,6 +3152,12 @@ AC_ARG_ENABLE(lib2to3,\n+@@ -3183,6 +3183,12 @@ AC_ARG_ENABLE(lib2to3,\n  \tAS_HELP_STRING([--disable-lib2to3], [disable lib2to3]),\n  \t[ LIB2TO3=\"${enableval}\" ], [ LIB2TO3=yes ])\n  \n@@ -66,10 +66,10 @@ index 9820526..72989a1 100644\n  AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified])\n  AC_MSG_CHECKING([if --enable-ipv6 is specified])\n diff --git a/setup.py b/setup.py\n-index 660bbd7..1079eba 100644\n+index 38aa5e605e..d642825c1e 100644\n --- a/setup.py\n +++ b/setup.py\n-@@ -2279,11 +2279,13 @@ def main():\n+@@ -2282,11 +2282,13 @@ def main():\n      import warnings\n      warnings.filterwarnings(\"ignore\",category=DeprecationWarning)\n  \n@@ -85,5 +85,5 @@ index 660bbd7..1079eba 100644\n      setup(# PyPI Metadata (PEP 301)\n            name = \"Python\",\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0024-Add-an-option-to-disable-decimal.patch b/package/python3/0024-Add-an-option-to-disable-decimal.patch\nindex 27a24213a3..76ef508409 100644\n--- a/package/python3/0024-Add-an-option-to-disable-decimal.patch\n+++ b/package/python3/0024-Add-an-option-to-disable-decimal.patch\n@@ -1,4 +1,4 @@\n-From dc321780e26a9270f20b784f438a632bd952cbb3 Mon Sep 17 00:00:00 2001\n+From 0870559b9af82b55f1fd8b35528510f563577256 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:51:31 +0100\n Subject: [PATCH] Add an option to disable decimal\n@@ -15,10 +15,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  2 files changed, 13 insertions(+), 6 deletions(-)\n \n diff --git a/configure.ac b/configure.ac\n-index 72989a1..71aea1d 100644\n+index 2699e7ceb1..e2c3b6f25c 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -2831,13 +2831,20 @@ AC_SUBST(LIBFFI_INCLUDEDIR)\n+@@ -2862,13 +2862,20 @@ AC_SUBST(LIBFFI_INCLUDEDIR)\n  AC_MSG_RESULT($with_system_ffi)\n  \n  # Check for use of the system libmpdec library\n@@ -45,10 +45,10 @@ index 72989a1..71aea1d 100644\n  # Check for support for loadable sqlite extensions\n  AC_MSG_CHECKING(for --enable-loadable-sqlite-extensions)\n diff --git a/setup.py b/setup.py\n-index 1079eba..c3a96c1 100644\n+index d642825c1e..5b98255857 100644\n --- a/setup.py\n +++ b/setup.py\n-@@ -2055,7 +2055,7 @@ class PyBuildExt(build_ext):\n+@@ -2058,7 +2058,7 @@ class PyBuildExt(build_ext):\n      def _decimal_ext(self):\n          extra_compile_args = []\n          undef_macros = []\n@@ -58,5 +58,5 @@ index 1079eba..c3a96c1 100644\n              libraries = [':libmpdec.so.2']\n              sources = ['_decimal/_decimal.c']\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch b/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch\nindex f8eeed0c77..418936cf0d 100644\n--- a/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch\n+++ b/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch\n@@ -1,4 +1,4 @@\n-From 48f485cfdf79452308a0c6ac24a25c31bacbcbec Mon Sep 17 00:00:00 2001\n+From a04fb6159e394ec8346cd49993fdf70db3e1b184 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Wed, 23 Dec 2015 11:51:58 +0100\n Subject: [PATCH] Add an option to disable the ossaudiodev module\n@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 6 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index 71aea1d..9a61018 100644\n+index e2c3b6f25c..8e3dded25e 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -2846,6 +2846,12 @@ else\n+@@ -2877,6 +2877,12 @@ else\n  fi\n  AC_SUBST(MPDEC)\n  \n@@ -26,5 +26,5 @@ index 71aea1d..9a61018 100644\n  AC_MSG_CHECKING(for --enable-loadable-sqlite-extensions)\n  AC_ARG_ENABLE(loadable-sqlite-extensions,\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0027-Add-an-option-to-disable-openssl-support.patch b/package/python3/0026-Add-an-option-to-disable-openssl-support.patch\nsimilarity index 83%\nrename from package/python3/0027-Add-an-option-to-disable-openssl-support.patch\nrename to package/python3/0026-Add-an-option-to-disable-openssl-support.patch\nindex 348e511946..065e50620d 100644\n--- a/package/python3/0027-Add-an-option-to-disable-openssl-support.patch\n+++ b/package/python3/0026-Add-an-option-to-disable-openssl-support.patch\n@@ -1,4 +1,4 @@\n-From 275db73c38e9b2135c774c475826fa077f8835c4 Mon Sep 17 00:00:00 2001\n+From 4b001683ad1cb1d90b7c389e67447a250fa9c218 Mon Sep 17 00:00:00 2001\n From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>\n Date: Wed, 22 Feb 2017 17:55:59 -0800\n Subject: [PATCH] Add an option to disable openssl support.\n@@ -9,10 +9,10 @@ Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>\n  1 file changed, 6 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index 3a12788..af12c09 100644\n+index 8e3dded25e..28bcdabd67 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3132,6 +3132,12 @@ AC_ARG_ENABLE(unicodedata,\n+@@ -3160,6 +3160,12 @@ AC_ARG_ENABLE(unicodedata,\n      \t     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} unicodedata\"\n    \t  fi])\n  \n@@ -26,5 +26,5 @@ index 3a12788..af12c09 100644\n  AC_ARG_ENABLE(tk,\n  \tAS_HELP_STRING([--disable-tk], [disable tk]),\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0026-Support-PGEN_FOR_BUILD-and-FREEZE_IMPORTLIB_FOR_BUIL.patch b/package/python3/0026-Support-PGEN_FOR_BUILD-and-FREEZE_IMPORTLIB_FOR_BUIL.patch\ndeleted file mode 100644\nindex 9de76211e6..0000000000\n--- a/package/python3/0026-Support-PGEN_FOR_BUILD-and-FREEZE_IMPORTLIB_FOR_BUIL.patch\n+++ /dev/null\n@@ -1,64 +0,0 @@\n-From 0fbfab21290eeca5b908745e5fb51d2ab2a50aef Mon Sep 17 00:00:00 2001\n-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n-Date: Wed, 22 Feb 2017 17:53:40 -0800\n-Subject: [PATCH] Support PGEN_FOR_BUILD and FREEZE_IMPORTLIB_FOR_BUILD\n-\n-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n-[ Andrey Smirnov: ported to Python 3.6 ]\n-Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n----\n- Makefile.pre.in | 10 ++++++++++\n- configure.ac    |  3 +++\n- 2 files changed, 13 insertions(+)\n-\n-diff --git a/Makefile.pre.in b/Makefile.pre.in\n-index 82b01c9..7c14a4e 100644\n---- a/Makefile.pre.in\n-+++ b/Makefile.pre.in\n-@@ -719,10 +719,15 @@ Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)\n- ############################################################################\n- # Importlib\n- \n-+ifeq (@FREEZE_IMPORTLIB_FOR_BUILD@,)\n- Programs/_freeze_importlib.o: Programs/_freeze_importlib.c Makefile\n- \n- Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN)\n- \t$(LINKCC) $(PY_LDFLAGS) -o $@ Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)\n-+else\n-+Programs/_freeze_importlib: @FREEZE_IMPORTLIB_FOR_BUILD@\n-+\tcp $^ $@\n-+endif\n- \n- Python/importlib_external.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib Python/marshal.c\n- \t./Programs/_freeze_importlib \\\n-@@ -796,8 +801,13 @@ $(GRAMMAR_H): @GENERATED_COMMENT@ $(GRAMMAR_INPUT) $(PGEN)\n- $(GRAMMAR_C): @GENERATED_COMMENT@ $(GRAMMAR_H)\n- \ttouch $(GRAMMAR_C)\n- \n-+ifeq (@PGEN_FOR_BUILD@,)\n- $(PGEN): $(PGENOBJS)\n- \t\t$(CC) $(OPT) $(PY_LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)\n-+else\n-+$(PGEN): @PGEN_FOR_BUILD@\n-+\t\tcp $^ $@\n-+endif\n- \n- Parser/grammar.o:\t$(srcdir)/Parser/grammar.c \\\n- \t\t\t\t$(srcdir)/Include/token.h \\\n-diff --git a/configure.ac b/configure.ac\n-index 9a61018..3a12788 100644\n---- a/configure.ac\n-+++ b/configure.ac\n-@@ -91,6 +91,9 @@ fi\n- AC_SUBST(PYTHON_FOR_BUILD)\n- AC_SUBST(GENERATED_COMMENT)\n- \n-+AC_SUBST(PGEN_FOR_BUILD)\n-+AC_SUBST(FREEZE_IMPORTLIB_FOR_BUILD)\n-+\n- dnl Ensure that if prefix is specified, it does not end in a slash. If\n- dnl it does, we get path names containing '//' which is both ugly and\n- dnl can cause trouble.\n--- \n-2.9.3\n-\ndiff --git a/package/python3/0028-Add-an-option-to-disable-the-readline-module.patch b/package/python3/0027-Add-an-option-to-disable-the-readline-module.patch\nsimilarity index 82%\nrename from package/python3/0028-Add-an-option-to-disable-the-readline-module.patch\nrename to package/python3/0027-Add-an-option-to-disable-the-readline-module.patch\nindex 0c504515a0..eb1967534d 100644\n--- a/package/python3/0028-Add-an-option-to-disable-the-readline-module.patch\n+++ b/package/python3/0027-Add-an-option-to-disable-the-readline-module.patch\n@@ -1,4 +1,4 @@\n-From 57e9ef788c27a112b79e489b375882f66f818b0a Mon Sep 17 00:00:00 2001\n+From d35deaa5c65c29f2a56a29fd5fc1dadadd485eaf Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Tue, 7 Mar 2017 23:29:05 +0100\n Subject: [PATCH] Add an option to disable the readline module\n@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 6 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index af12c09..64dadb4 100644\n+index 28bcdabd67..484f6ebaca 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3138,6 +3138,12 @@ AC_ARG_ENABLE(openssl,\n+@@ -3166,6 +3166,12 @@ AC_ARG_ENABLE(openssl,\n  \t     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} ssl _ssl _hashlib\"\n  \t  fi])\n  \n@@ -26,5 +26,5 @@ index af12c09..64dadb4 100644\n  AC_ARG_ENABLE(tk,\n  \tAS_HELP_STRING([--disable-tk], [disable tk]),\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/0029-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch\nsimilarity index 87%\nrename from package/python3/0029-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch\nrename to package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch\nindex 733b8dbdcf..39330ace62 100644\n--- a/package/python3/0029-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch\n+++ b/package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch\n@@ -1,4 +1,4 @@\n-From 25c72356a587dbc3a08679c6713be02a18f7e646 Mon Sep 17 00:00:00 2001\n+From 9e95f88906f850caa789977dab4b0f256b575254 Mon Sep 17 00:00:00 2001\n From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n Date: Tue, 7 Mar 2017 23:31:11 +0100\n Subject: [PATCH] Add options to disable zlib, bzip2 and xz modules\n@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n  1 file changed, 18 insertions(+)\n \n diff --git a/configure.ac b/configure.ac\n-index 64dadb4..92e9abe 100644\n+index 484f6ebaca..79538df0cf 100644\n --- a/configure.ac\n +++ b/configure.ac\n-@@ -3144,6 +3144,24 @@ AC_ARG_ENABLE(readline,\n+@@ -3172,6 +3172,24 @@ AC_ARG_ENABLE(readline,\n  \t     DISABLED_EXTENSIONS=\"${DISABLED_EXTENSIONS} readline\"\n  \t  fi])\n  \n@@ -38,5 +38,5 @@ index 64dadb4..92e9abe 100644\n  AC_ARG_ENABLE(tk,\n  \tAS_HELP_STRING([--disable-tk], [disable tk]),\n -- \n-2.9.3\n+2.13.5\n \ndiff --git a/package/python3/python3.hash b/package/python3/python3.hash\nindex 26d08dee48..f4734db52c 100644\n--- a/package/python3/python3.hash\n+++ b/package/python3/python3.hash\n@@ -1,4 +1,4 @@\n-# From https://www.python.org/downloads/release/python-361/\n-md5 692b4fc3a2ba0d54d1495d4ead5b0b5c Python-3.6.1.tar.xz\n+# From https://www.python.org/downloads/release/python-362/\n+md5 2c68846471994897278364fc18730dd9 Python-3.6.2.tar.xz\n # Locally computed\n-sha256 a01810ddfcec216bcdb357a84bfaafdfaa0ca42bbdaa4cb7ff74f5a9961e4041 Python-3.6.1.tar.xz\n+sha256 9229773be41ed144370f47f0f626a1579931f5a390f1e8e3853174d52edd64a9 Python-3.6.2.tar.xz\ndiff --git a/package/python3/python3.mk b/package/python3/python3.mk\nindex a18dc7faac..7473737bc7 100644\n--- a/package/python3/python3.mk\n+++ b/package/python3/python3.mk\n@@ -5,7 +5,7 @@\n ################################################################################\n \n PYTHON3_VERSION_MAJOR = 3.6\n-PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).1\n+PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2\n PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz\n PYTHON3_SITE = http://python.org/ftp/python/$(PYTHON3_VERSION)\n PYTHON3_LICENSE = Python-2.0, others\n@@ -18,11 +18,8 @@ PYTHON3_LICENSE_FILES = LICENSE\n # the Python sources, but instead use an external libffi library.\n PYTHON3_LIBTOOL_PATCH = NO\n \n-# Python needs itself and a \"pgen\" program to build itself, both being\n-# provided in the Python sources. So in order to cross-compile Python,\n-# we need to build a host Python first. This host Python is also\n-# installed in $(HOST_DIR), as it is needed when cross-compiling\n-# third-party Python modules.\n+# This host Python is installed in $(HOST_DIR), as it is needed when\n+# cross-compiling third-party Python modules.\n \n HOST_PYTHON3_CONF_OPTS += \\\n \t--without-ensurepip \\\n@@ -162,21 +159,48 @@ PYTHON3_CONF_OPTS += \\\n \t--disable-idle3 \\\n \t--disable-pyc-build\n \n-# Python builds two tools to generate code: 'pgen' and\n-# '_freeze_importlib'. Unfortunately, for the target Python, they are\n-# built for the target, while we need to run them at build time. So\n-# when installing host-python, we copy them to\n-# $(HOST_DIR)/bin. And then, when building the target python\n-# package, we tell the configure script where they are located.\n-define HOST_PYTHON3_INSTALL_TOOLS\n-\tcp $(@D)/Parser/pgen $(HOST_DIR)/bin/python-pgen\n+\n+#\n+# Some of CPython's source code is generated using Python interpreter\n+# and some helper tools such as \"Programs/_freeze_importlib\" or\n+# \"Parser/pgen\" (look for regen-* targets in Makefile.pre.in for more\n+# info). Normally CPython codebase ships with those files\n+# pre-generated, so just regular \"make\" with no additional steps\n+# should be sufficient for a succesfull build, however due to\n+# Buildroot's \"Add importlib fix for PEP 3147 issue\" custom patch we\n+# end up modifying \"Lib/importlib/_bootstrap_external.py\" which means\n+# we have to do \"regen-importlib\" step before building CPython\n+# (Importlib is a builtin module that needs to be \"frozen\"/converted\n+# to a C array of bytecode using \"Programs/_freeze_importlib\")\n+#\n+# To achive that we add pre-build steps to host-python3 as well as\n+# python3 that execute \"regen-importlib\" target.\n+#\n+# Unfortunately, for the target Python, \"Programs/_freeze_importlib\"\n+# is built for the target, while we need to run them at build time. So\n+# when installing host-python3, we copy them to $(HOST_DIR)/bin...\n+#\n+define HOST_PYTHON3_MAKE_REGEN_IMPORTLIB\n+\t$(HOST_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) regen-importlib\n \tcp $(@D)/Programs/_freeze_importlib $(HOST_DIR)/bin/python-freeze-importlib\n endef\n-HOST_PYTHON3_POST_INSTALL_HOOKS += HOST_PYTHON3_INSTALL_TOOLS\n \n-PYTHON3_CONF_ENV += \\\n-\tPGEN_FOR_BUILD=$(HOST_DIR)/bin/python-pgen \\\n-\tFREEZE_IMPORTLIB_FOR_BUILD=$(HOST_DIR)/bin/python-freeze-importlib\n+HOST_PYTHON3_PRE_BUILD_HOOKS += HOST_PYTHON3_MAKE_REGEN_IMPORTLIB\n+#\n+# ... And then, when building the target python we first buid\n+# 'Programs/_freeze_importlib' to force GNU Make to update all of the\n+# prerequisites of 'Programs/_freeze_importlib', then copy our stashed\n+# \"host-usable\" version over the one that was just build and then\n+# build \"regen-importlib\" target\n+#\n+define PYTHON3_MAKE_REGEN_IMPORTLIB\n+\t$(TARGET_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) Programs/_freeze_importlib\n+\tcp $(HOST_DIR)/bin/python-freeze-importlib $(@D)/Programs/_freeze_importlib\n+\t$(TARGET_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) regen-importlib\n+endef\n+\n+PYTHON3_PRE_BUILD_HOOKS += PYTHON3_MAKE_REGEN_IMPORTLIB\n+\n \n #\n # Remove useless files. In the config/ directory, only the Makefile\n",
    "prefixes": []
}