From patchwork Wed Jun 5 18:57:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Jean Texier X-Patchwork-Id: 1110633 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=quarantine dis=none) header.from=koncepto.io Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=koncepto.io header.i=@koncepto.io header.b="hqRWzG6Q"; 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 45Jylr04xPz9s3Z for ; Thu, 6 Jun 2019 05:00:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 57C9B87586; Wed, 5 Jun 2019 19:00:04 +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 Nzp08XFnEAoI; Wed, 5 Jun 2019 19:00:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3C04887456; Wed, 5 Jun 2019 19:00:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 907C01BF23F for ; Wed, 5 Jun 2019 19:00:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8068387456 for ; Wed, 5 Jun 2019 19:00:01 +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 tElgNSvnE9tq for ; Wed, 5 Jun 2019 19:00:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from koncepto.io (koncepto.io [195.154.119.111]) by whitealder.osuosl.org (Postfix) with ESMTPS id AC52E86ECC for ; Wed, 5 Jun 2019 18:59:59 +0000 (UTC) Received: from localhost.localdomain (lfbn-1-8938-37.w193-250.abo.wanadoo.fr [193.250.79.37]) by koncepto.io (Postfix) with ESMTPSA id F287C6002B; Wed, 5 Jun 2019 20:59:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=koncepto.io; s=default; t=1559761189; bh=hkYcn1QnFESjkVXA345NjZyuJxk4/1i9Plm0RdflXi0=; h=From:To:Cc:Subject:Date:From; b=hqRWzG6QI/G1JHDJIpe/lhzFnhE5KfdF2Wtsu3oPr5GjK0kZXvYKyp2A0LUIds5cn Imo5Yx6fAp+lAXK6sB+6yYkYsHzqfyvHLCpd15ICfJKIIC3Yhju8qf50NNbSTr0G2c UzIKMmoATnORmoi0X4ro6VlgctIOZrtCtVh8YL5zpRGOWAoAmToI73cwZu0zxJh91h yMD7ArHLiDb66QC49AbKOWVYL/eYEHtUc83N7QhoSaGixY5/CjVxCMLjzyCL7++2js KLkoTmKZJFxqb6zcrm4k5kjb0RxQgOeDFHpqwmKP8LIeITHDlP2/tZRarPtpW8PzWP U7t9ZZXOHVUAA== From: Pierre-Jean Texier To: buildroot@buildroot.org Date: Wed, 5 Jun 2019 20:57:33 +0200 Message-Id: <1559761053-2367-1-git-send-email-pjtexier@koncepto.io> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 1/1] package/python-periphery: new package 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: Pierre-Jean Texier , Asaf Kahlon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Pierre-Jean Texier --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-periphery/Config.in | 13 +++++++++++++ package/python-periphery/python-periphery.hash | 3 +++ package/python-periphery/python-periphery.mk | 13 +++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 package/python-periphery/Config.in create mode 100644 package/python-periphery/python-periphery.hash create mode 100644 package/python-periphery/python-periphery.mk diff --git a/DEVELOPERS b/DEVELOPERS index 7025ac6..d05ceab 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1848,6 +1848,7 @@ F: package/trace-cmd/ N: Pierre-Jean Texier F: package/libubootenv/ +F: package/python-periphery/ N: Pieter De Gendt F: package/libvips/ diff --git a/package/Config.in b/package/Config.in index f610094..db2862f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -963,6 +963,7 @@ menu "External python modules" source "package/python-pathpy/Config.in" source "package/python-pathtools/Config.in" source "package/python-pathvalidate/Config.in" + source "package/python-periphery/Config.in" source "package/python-pexpect/Config.in" source "package/python-pickleshare/Config.in" source "package/python-pigpio/Config.in" diff --git a/package/python-periphery/Config.in b/package/python-periphery/Config.in new file mode 100644 index 0000000..b34ecbb --- /dev/null +++ b/package/python-periphery/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_PYTHON_PERIPHERY + bool "python-periphery" + help + python-periphery is a pure Python library for + GPIO, LED, PWM, SPI, I2C, MMIO, and Serial peripheral + I/O interface access in userspace Linux. + It is useful in embedded Linux environments + (including Raspberry Pi, BeagleBone, etc. platforms) + for interfacing with external peripherals. + python-periphery is compatible with Python 2 and Python 3, + is written in pure Python, and is MIT licensed. + + https://github.com/vsergeev/python-periphery diff --git a/package/python-periphery/python-periphery.hash b/package/python-periphery/python-periphery.hash new file mode 100644 index 0000000..c59cef3 --- /dev/null +++ b/package/python-periphery/python-periphery.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 a9a0a0ac02b8c3a954281777e92a15ec41abd311eb8732b50a2faaa9df62f1df python-periphery-v1.1.1.tar.gz +sha256 db1bea825e728d8bcdf6c220d79c74370a9fcb63a4f9153c2cece2b63e177aa4 LICENSE diff --git a/package/python-periphery/python-periphery.mk b/package/python-periphery/python-periphery.mk new file mode 100644 index 0000000..0bd969a --- /dev/null +++ b/package/python-periphery/python-periphery.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-periphery +# +################################################################################ + +PYTHON_PERIPHERY_VERSION = v1.1.1 +PYTHON_PERIPHERY_SITE = $(call github,vsergeev,python-periphery,$(PYTHON_PERIPHERY_VERSION)) +PYTHON_PERIPHERY_LICENSE = MIT +PYTHON_PERIPHERY_LICENSE_FILES = LICENSE +PYTHON_PERIPHERY_SETUP_TYPE = setuptools + +$(eval $(python-package))