From patchwork Fri Oct 25 18:54:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 1184405 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qwUKr+pH"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 470CwV5zFFz9sPV for ; Sat, 26 Oct 2019 05:55:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 60B4485D39; Fri, 25 Oct 2019 18:55:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25YVgVNa1usz; Fri, 25 Oct 2019 18:55:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 95D19843EC; Fri, 25 Oct 2019 18:55:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8E5ED1BF35A for ; Fri, 25 Oct 2019 18:54:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8BBC4842A5 for ; Fri, 25 Oct 2019 18:54:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JOB92rKxm8Nq for ; Fri, 25 Oct 2019 18:54:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 92732843EC for ; Fri, 25 Oct 2019 18:54:56 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id n15so3472052wrw.13 for ; Fri, 25 Oct 2019 11:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bDq6PdDsNj4WZFNHzw0tylF/Tvs8sKSm7iel1C1sGWo=; b=qwUKr+pHlub8uEUWGIoRDP0eNoJnu/zAPbTlFtoZMjM2dUSeuHyHZd8ixXNmwl3wts ppHIFq9KcYZxgZdNjM6D7Le7asVaJtwZ+U4vj7Xw0ffulTVJ10sEog9cJgFMRPq3OgSW X8LmOLIH9E/UZ4/BqbjOP/IK3NRFYffgTY5vjbM1jLl6f1+2YlAJQyvm4/2iFLPSU+JQ vbcPhsqsdEO4j++YQPNZ26s7daE5/ScwdgitEOWWGlf2136kCzRXTs/OLfdO42jQ/0d3 4KLyWpl0aR0V5mSkEbXHytfpn+AbMX8omVGpf7279Hom+IZ8L7iNcHU8sTc3qCzTGqTQ yWbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bDq6PdDsNj4WZFNHzw0tylF/Tvs8sKSm7iel1C1sGWo=; b=I+Zt64JBPNk6ACaP1XTuckdHdjLhptMoX956sjVguy6BXBzumDR3nP9kIOpq1Lho6O ts4BILn4pcCt2FSOFeby2FSEvh5Cx9cUJAYwxMTN/EUtJ1Iik8aFEdIlWP54+nmpxfUc ZaYp3UWl5RIoIleHedGe4bXFVHvDOG3ZVqC8J7lh9+hb8Ny0v+oQQyap3ytqZil6nBkq BwLV1tZDNv87O5Ov6kXKPPMp5dEvH5IYB2S/S5Kmb1P4qpgq3o28+SHdZE8rL2zWKNCa +lzYGxBVinaqgyTtjoEh9tJbakujXJlabs9vaxXgJrrVLuC5fgmjck3h88uDCkuenbBM 81CA== X-Gm-Message-State: APjAAAU5yzzxuxmikGO/xvcOV46Qb3utqEznik+bFlEPKT18voh7SoNV Yh87Cc8I75DbuEXy4pIHuRrEjlC4 X-Google-Smtp-Source: APXvYqxw6QqQj9mKiybl1JIwC5Bz4Jq3+MpucXirXyYHlQvxTZ3RqN+kpgB/RZ6uZalAfZP4yWn82A== X-Received: by 2002:adf:fcc8:: with SMTP id f8mr4142382wrs.363.1572029694802; Fri, 25 Oct 2019 11:54:54 -0700 (PDT) Received: from localhost.localdomain (bzq-84-108-5-46.cablep.bezeqint.net. [84.108.5.46]) by smtp.gmail.com with ESMTPSA id r5sm3964847wrs.57.2019.10.25.11.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 11:54:54 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Fri, 25 Oct 2019 21:54:43 +0300 Message-Id: <20191025185448.32633-1-asafka7@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/python-docutils: add upstream patch to build without setuptools X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Asaf Kahlon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" An upstream patch to enable building without setuptools is added. The original commit is adjusted slightly to fit the current version. Fixes: - http://autobuild.buildroot.net/results/8f3c01f0e286c6b15c8c973f91dd69ee816a58b9 Signed-off-by: Asaf Kahlon --- .../0001-Update-setup.py.patch | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 package/python-docutils/0001-Update-setup.py.patch diff --git a/package/python-docutils/0001-Update-setup.py.patch b/package/python-docutils/0001-Update-setup.py.patch new file mode 100644 index 0000000000..3fb34a9763 --- /dev/null +++ b/package/python-docutils/0001-Update-setup.py.patch @@ -0,0 +1,64 @@ +From 583e59ccf72a02c2a6f0399f29f622c7f2f4a932 Mon Sep 17 00:00:00 2001 +From: milde +Date: Sun, 1 Sep 2019 19:39:36 +0000 +Subject: [PATCH] Update setup.py + +Python 3.4 no longer supported, +more languages supported (and Lithuanian accepted by PyPi). + +git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8383 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 + +[Asaf: adjust upstream patch to 0.15.2] +Signed-off-by: Asaf Kahlon +--- + setup.py | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index f801ea2..5c1ebfd 100755 +--- a/setup.py ++++ b/setup.py +@@ -7,6 +7,10 @@ import os + import glob + try: + import setuptools ++except ImportError: ++ print('Warning: Could not load package `setuptools`.') ++ print('Actions requiring `setuptools` instead of `distutils` will fail') ++try: + from distutils.core import setup, Command + from distutils.command.build import build + from distutils.command.build_py import build_py +@@ -123,7 +127,7 @@ what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60 + 'maintainer_email': 'docutils-develop@lists.sourceforge.net', + 'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)', + 'platforms': 'OS-independent', +- 'python_requires': '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*', ++ 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', + 'package_dir': {'docutils': 'docutils', + 'docutils.tools': 'tools'}, + 'packages': ['docutils', +@@ -213,14 +219,20 @@ classifiers = [ + 'Natural Language :: Chinese (Simplified)', + 'Natural Language :: Chinese (Traditional)', + 'Natural Language :: Czech', ++ 'Natural Language :: Danish', + 'Natural Language :: Dutch', + 'Natural Language :: Esperanto', + 'Natural Language :: Finnish', + 'Natural Language :: French', + 'Natural Language :: Galician', + 'Natural Language :: German', ++ 'Natural Language :: Hebrew', + 'Natural Language :: Italian', + 'Natural Language :: Japanese', ++ 'Natural Language :: Korean', ++ 'Natural Language :: Latvian', ++ 'Natural Language :: Lithuanian', ++ 'Natural Language :: Persian', + 'Natural Language :: Polish', + 'Natural Language :: Portuguese (Brazilian)', + 'Natural Language :: Russian', +-- +2.20.1 +k