From patchwork Mon Jan 13 22:24:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1222366 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.138; helo=whitealder.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.a=rsa-sha256 header.s=20161025 header.b=nweHOn8T; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47xSnS1ZvTz9sR1 for ; Tue, 14 Jan 2020 09:24:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 52CB883C00; Mon, 13 Jan 2020 22:24:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dmJRSu-fI-HC; Mon, 13 Jan 2020 22:24:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2345081F2C; Mon, 13 Jan 2020 22:24:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 667131BF2A0 for ; Mon, 13 Jan 2020 22:24:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 62CB02045D for ; Mon, 13 Jan 2020 22:24:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aZ1EuEZD8wox for ; Mon, 13 Jan 2020 22:24:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by silver.osuosl.org (Postfix) with ESMTPS id 2660820401 for ; Mon, 13 Jan 2020 22:24:37 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id p17so11552979wma.1 for ; Mon, 13 Jan 2020 14:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=E+Rc/KLMy4Ld8GNeWfxxFR0wvCK+ctbLQH32Ji20Au8=; b=nweHOn8TvFET/Si1W40cr3bfevw7Z9Ywl7PHDKuvWlb3vUjG/9sdAAsh82DiskFQsf bsIH0HhJxHk/Z4+QWnWXFoXVxYbjxuyhxDMfCgbiRDo1SCKb7zKwrO68T2/74B0q29hV QWnGVRZM8XSdKH3xt4pXUMXnWjqrmwYf76oX7amXZPStrWwvN0VIkvYNHCJR7/U1CTWA TFIAYvUW5DdVqkCD66l1gOEYbzVSXJIGg6RgblQO2mfrdJK6noWe2obJHMhLlXoQ0BOK 4qrwhEYH07MlyqzGLsSOydlvoCpvACtrdnydfaBiaguKGO+OrtOAkZ3W66X3C0QRTXxe 3MtQ== 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; bh=E+Rc/KLMy4Ld8GNeWfxxFR0wvCK+ctbLQH32Ji20Au8=; b=ZQJ8e1RLVJ1s8vPUQLuQES2o62Z/WE0T/6tP8fjK5M6nDKw85N7ZZPGH+SmP5oAFzk j0AbyMmxMtktwx3dR/giiPiWe5y0zcGLe/yO7HyeL1xnCJE9/P/KpluLZC5uqTYlPmkL 0FIrsyVF2SZkJzJw7H4NMcQryI+DYEwi0HtTwWdkjmL2rAA9nLBHgGnNql2jKZwU+rJr VHLSgs4AgFhGvWX+/zO4mzEoRRvKw8LwjaCn+VC5fZ8VaslX2/8QGRcn1N1e/jnlVk6t 4y0F14N3Q4gd4TyliBLBKirQ/aLseTmpS89Zi+HWF7mIqnI/DPO9YMOd8fjwpXC1oI1v qrjA== X-Gm-Message-State: APjAAAUZ9G6zDOeNaRATimxQ1ZH0cONKiJYbN2af3hWF4n5EGrQnJSIk JCRRsvi1I0/PyCdM67JL8dN/bTsi X-Google-Smtp-Source: APXvYqwgiohZ5ToWjwyp9TD1LXvBuxk3SKksqu3f9Ueu1EIzsk6PyKffc5XWF51Cilh9tULYVjQTCA== X-Received: by 2002:a05:600c:145:: with SMTP id w5mr24344102wmm.157.1578954275170; Mon, 13 Jan 2020 14:24:35 -0800 (PST) Received: from localhost.localdomain ([37.163.181.255]) by smtp.gmail.com with ESMTPSA id s16sm16875479wrn.78.2020.01.13.14.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 14:24:34 -0800 (PST) From: Angelo Compagnucci X-Google-Original-From: Angelo Compagnucci To: buildroot@buildroot.org Date: Mon, 13 Jan 2020 23:24:30 +0100 Message-Id: <20200113222430.5157-1-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/python-pillow: bump to version 6.2.2/7.0.0 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch bumps Pillow to version 7.0.0 for Python3 and version 6.2.2 for Python2. Different versions here are needed cause the latest 7.0.0 only supports Python3, while support for Python2 is available in 6.2.2. It updates also the LICENSE hash due to copyright year update. Signed-off-by: Angelo Compagnucci --- I don't really know if this is the correct way to support two versions of the same package, please let me know. package/python-pillow/python-pillow.hash | 10 ++++++---- package/python-pillow/python-pillow.mk | 9 +++++++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/package/python-pillow/python-pillow.hash b/package/python-pillow/python-pillow.hash index 990b25c46e..24c0cc7c44 100644 --- a/package/python-pillow/python-pillow.hash +++ b/package/python-pillow/python-pillow.hash @@ -1,5 +1,7 @@ -# md5, sha256 from https://pypi.org/pypi/pillow/json -md5 13acde283ece6ac69f62609fa108d316 Pillow-6.2.1.tar.gz -sha256 bf4e972a88f8841d8fdc6db1a75e0f8d763e66e3754b03006cbc3854d89f1cb1 Pillow-6.2.1.tar.gz +# md5, sha256 from https://pypi.org/project/Pillow/ +md5 d099946335c1ba372f5b1fa68ca71645 Pillow-7.0.0.tar.gz +sha256 4d9ed9a64095e031435af120d3c910148067087541131e82b3e8db302f4c8946 Pillow-7.0.0.tar.gz +md5 46cad14f0044a5ac4b2d801271528893 Pillow-6.2.2.tar.gz +sha256 db9ff0c251ed066d367f53b64827cc9e18ccea001b986d08c265e53625dab950 Pillow-6.2.2.tar.gz # Locally computed sha256 checksums -sha256 64ea4328ed56392b423ef968519a9ad427e3de9b985862c95ed2ed4d793d22ee LICENSE +sha256 04a04a908e52921829c7f51528e5619c79becdde99c484ab7d4f235e2927968c LICENSE diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk index 895b1fcb99..df116164c3 100644 --- a/package/python-pillow/python-pillow.mk +++ b/package/python-pillow/python-pillow.mk @@ -4,9 +4,14 @@ # ################################################################################ -PYTHON_PILLOW_VERSION = 6.2.1 +ifeq ($(BR2_PACKAGE_PYTHON3),y) +PYTHON_PILLOW_VERSION = 7.0.0 +PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/39/47/f28067b187dd664d205f75b07dcc6e0e95703e134008a14814827eebcaab +else +PYTHON_PILLOW_VERSION = 6.2.2 +PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/b3/d0/a20d8440b71adfbf133452d4f6e0fe80de2df7c2578c9b498fb812083383 +endif PYTHON_PILLOW_SOURCE = Pillow-$(PYTHON_PILLOW_VERSION).tar.gz -PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/5b/bb/cdc8086db1f15d0664dd22a62c69613cdc00f1dd430b5b19df1bea83f2a3 PYTHON_PILLOW_LICENSE = PIL Software License PYTHON_PILLOW_LICENSE_FILES = LICENSE PYTHON_PILLOW_SETUP_TYPE = setuptools