From patchwork Wed Jun 10 23:34:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Blach X-Patchwork-Id: 1307287 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=none (p=none dis=none) header.from=blach.pl 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 49j6cJ5LzXz9sSP for ; Thu, 11 Jun 2020 12:04:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0C68E87F3E; Thu, 11 Jun 2020 02:04:26 +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 pvtbPpnd7Kos; Thu, 11 Jun 2020 02:04:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9216F88028; Thu, 11 Jun 2020 02:04:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 907771BF34B for ; Thu, 11 Jun 2020 02:04:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8D0E98929A for ; Thu, 11 Jun 2020 02:04:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nJdDB-LV0NZV for ; Thu, 11 Jun 2020 02:04:19 +0000 (UTC) X-Greylist: delayed 01:50:00 by SQLgrey-1.7.6 Received: from 4.mo4.mail-out.ovh.net (4.mo4.mail-out.ovh.net [178.32.98.131]) by hemlock.osuosl.org (Postfix) with ESMTPS id F286189298 for ; Thu, 11 Jun 2020 02:04:18 +0000 (UTC) Received: from player759.ha.ovh.net (unknown [10.108.42.202]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id 7DD9523E90A for ; Thu, 11 Jun 2020 01:38:14 +0200 (CEST) Received: from blach.pl (public-gprs378537.centertel.pl [37.47.109.234]) (Authenticated sender: grzegorz@blach.pl) by player759.ha.ovh.net (Postfix) with ESMTPSA id 1658E13462BAC; Wed, 10 Jun 2020 23:38:09 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R006b77a1097-05cf-43e0-af93-3d07d8c36117,1E26183D2EE9BCC2972CC4A69EE242E89A555AFE) smtp.auth=grzegorz@blach.pl From: Grzegorz Blach To: buildroot@buildroot.org Date: Thu, 11 Jun 2020 01:34:52 +0200 Message-Id: <20200610233456.374430-3-grzegorz@blach.pl> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20200610233456.374430-1-grzegorz@blach.pl> References: <20200610233456.374430-1-grzegorz@blach.pl> X-Ovh-Tracer-Id: 7991074590902738590 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudehjedgvdegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojghfsedttdertdertddtnecuhfhrohhmpefirhiivghgohhriicuuehlrggthhcuoehgrhiivghgohhriiessghlrggthhdrphhlqeenucggtffrrghtthgvrhhnpeegffffjedvtdeugfekkeejueeivdeiteegiefhjeevieffjedtfefgkedvjeeuhfenucffohhmrghinheptghomhhmrghnugdrsghuihhlugdpshhtuggvrhhrrdhrvggrugdprhhsthdrrhgvrggupdhtgihtrdhrvggrugdpghhithhhuhgsrdgtohhmpdhphihpihdrohhrghdpphihthhhohhnhhhoshhtvggurdhorhhgnecukfhppedtrddtrddtrddtpdefjedrgeejrddutdelrddvfeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeehledrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehgrhiivghgohhriiessghlrggthhdrphhlpdhrtghpthhtohepsghuihhlughrohhothessghuihhlughrohhothdrohhrgh Subject: [Buildroot] [PATCH 3/3] package/python-rpi-ws281x: bump to version 4.2.4 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: Grzegorz Blach , Asaf Kahlon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Grzegorz Blach --- .../0001-Fix-cross-compilation.patch | 83 ------------------- .../python-rpi-ws281x/python-rpi-ws281x.hash | 8 +- .../python-rpi-ws281x/python-rpi-ws281x.mk | 4 +- 3 files changed, 6 insertions(+), 89 deletions(-) delete mode 100644 package/python-rpi-ws281x/0001-Fix-cross-compilation.patch diff --git a/package/python-rpi-ws281x/0001-Fix-cross-compilation.patch b/package/python-rpi-ws281x/0001-Fix-cross-compilation.patch deleted file mode 100644 index c291d4af38..0000000000 --- a/package/python-rpi-ws281x/0001-Fix-cross-compilation.patch +++ /dev/null @@ -1,83 +0,0 @@ -From aa3698d2eb38788b66b146faaa83ce4994c984e8 Mon Sep 17 00:00:00 2001 -From: Grzegorz Blach -Date: Fri, 20 Sep 2019 21:07:10 +0000 -Subject: [PATCH] Fix cross-compilation - -Signed-off-by: Grzegorz Blach ---- - Makefile | 24 ------------------------ - setup.py | 21 ++++++++------------- - 2 files changed, 8 insertions(+), 37 deletions(-) - delete mode 100644 Makefile - -diff --git a/Makefile b/Makefile -deleted file mode 100644 -index b8da8f5..0000000 ---- a/Makefile -+++ /dev/null -@@ -1,24 +0,0 @@ --.PHONY: clean lib -- --SRC = lib --BUILD = lib-built --OBJECTS = $(BUILD)/ws2811.o $(BUILD)/rpihw.o $(BUILD)/pcm.o $(BUILD)/pwm.o $(BUILD)/dma.o $(BUILD)/mailbox.o --LIB = libws2811.a -- --all: $(BUILD) $(BUILD)/version.h $(BUILD)/$(LIB) -- --$(BUILD): -- mkdir -p $(BUILD) -- --$(BUILD)/version.h: -- cp version.h $(BUILD)/version.h -- --$(OBJECTS): $(BUILD)/%.o : $(SRC)/%.c -- gcc $< -o $@ -c -g -O2 -Wall -Werror -fPIC -- --$(BUILD)/$(LIB): $(OBJECTS) -- ar rc $@ $^ -- ranlib $@ -- --clean: -- -rm -f $(OBJECTS) $(BUILD)/$(LIB) $(BUILD)/version.h -diff --git a/library/setup.py b/library/setup.py -index b6785ec..1639574 100755 ---- a/setup.py -+++ b/setup.py -@@ -8,14 +8,6 @@ from setuptools import setup, find_packages, Extension - from setuptools.command.build_py import build_py - import subprocess - --class CustomInstallCommand(build_py): -- """Customized install to run library Makefile""" -- def run(self): -- print("Compiling ws281x library...") -- proc =subprocess.Popen(["make"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) -- print(proc.stderr.read()) -- build_py.run(self) -- - setup(name = 'rpi_ws281x', - version = '4.2.2', - author = 'Jeremy Garff , Phil Howard ', -@@ -24,10 +16,13 @@ setup(name = 'rpi_ws281x', - long_description = open('README.rst').read() + "\n" + open('CHANGELOG.txt').read(), - license = 'MIT', - url = 'https://github.com/rpi-ws281x/rpi-ws281x-python/', -- cmdclass = {'build_py':CustomInstallCommand}, - packages = ['rpi_ws281x'], - ext_modules = [Extension('_rpi_ws281x', -- sources=['rpi_ws281x_wrap.c'], -- include_dirs=['lib/'], -- library_dirs=['lib-built/'], -- libraries=['ws2811'])]) -+ include_dirs=['.'], -+ sources=['rpi_ws281x_wrap.c', -+ 'lib/dma.c', -+ 'lib/mailbox.c', -+ 'lib/pcm.c', -+ 'lib/pwm.c', -+ 'lib/rpihw.c', -+ 'lib/ws2811.c'])]) --- -2.23.0 - diff --git a/package/python-rpi-ws281x/python-rpi-ws281x.hash b/package/python-rpi-ws281x/python-rpi-ws281x.hash index 5333baabb6..54d91a6df0 100644 --- a/package/python-rpi-ws281x/python-rpi-ws281x.hash +++ b/package/python-rpi-ws281x/python-rpi-ws281x.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/rpi-ws281x/json -md5 17a714941043621e81f592e6a137dd92 rpi_ws281x-4.2.3.tar.gz -sha256 265a395410cc7199f779c4209ca3970b7211896b86dbaa4731bdc3569d2e595f rpi_ws281x-4.2.3.tar.gz +md5 8eb175e05905ee7a00bb5fd2f1b15e40 rpi_ws281x-4.2.4.tar.gz +sha256 7175e708d6085bc02a9d0b8227797d697e34fd00787030ae5f119fe2f4f90889 rpi_ws281x-4.2.4.tar.gz # Locally computed sha256 checksums -sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 LICENSE -sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 lib/LICENSE +sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 LICENSE +sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 lib/LICENSE diff --git a/package/python-rpi-ws281x/python-rpi-ws281x.mk b/package/python-rpi-ws281x/python-rpi-ws281x.mk index 899ad3d1e3..4af1d268af 100644 --- a/package/python-rpi-ws281x/python-rpi-ws281x.mk +++ b/package/python-rpi-ws281x/python-rpi-ws281x.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_RPI_WS281X_VERSION = 4.2.3 +PYTHON_RPI_WS281X_VERSION = 4.2.4 PYTHON_RPI_WS281X_SOURCE = rpi_ws281x-$(PYTHON_RPI_WS281X_VERSION).tar.gz -PYTHON_RPI_WS281X_SITE = https://files.pythonhosted.org/packages/03/6c/46fad1bace9d5917190fd76e1550ec6727010cff6d3e5818b8c3a5405ba3 +PYTHON_RPI_WS281X_SITE = https://files.pythonhosted.org/packages/3b/99/0f74f2d303e03432d10b11dab240cb15afad1bc6ab9a1449c9bc08af2ee4 PYTHON_RPI_WS281X_SETUP_TYPE = setuptools PYTHON_RPI_WS281X_LICENSE = MIT PYTHON_RPI_WS281X_LICENSE_FILES = LICENSE lib/LICENSE