From patchwork Thu Jun 20 18:38:13 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: 1119682 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.136; helo=silver.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="dbuSHJ9z"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45V9cy68z1z9s3C for ; Fri, 21 Jun 2019 04:41:06 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1901620382; Thu, 20 Jun 2019 18:41:03 +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 Pjrk+FVNei7s; Thu, 20 Jun 2019 18:41:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 62A2D203C4; Thu, 20 Jun 2019 18:41:01 +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 34A771BF4E6 for ; Thu, 20 Jun 2019 18:41:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3112C203C4 for ; Thu, 20 Jun 2019 18:41:00 +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 EsrErqEYbWjj for ; Thu, 20 Jun 2019 18:40:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from koncepto.io (koncepto.io [195.154.119.111]) by silver.osuosl.org (Postfix) with ESMTPS id 2641620382 for ; Thu, 20 Jun 2019 18:40:57 +0000 (UTC) Received: from localhost.localdomain (lfbn-1-8923-205.w193-250.abo.wanadoo.fr [193.250.65.205]) by koncepto.io (Postfix) with ESMTPSA id 16A96602C8; Thu, 20 Jun 2019 20:40:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=koncepto.io; s=default; t=1561056054; bh=ALWO2LzOrKsWXx97WlOJaKpwqWQOGF1rrT1RxfuMYrg=; h=From:To:Cc:Subject:Date:From; b=dbuSHJ9zx3x6aZboRUsqsp1DyCPRi8o0XM0mLvVKsttRB4GeXMSVwfj3T+6bAVsjg BAOQa9tZzauRaqkW7tvrqFXTJ3lexnM6L8blPteZieL8SbHTrt76v/AXeo3KZ55VvY WTffwdZDcSW1wryBzJ7Frl390gtb8O6xiii7DECF0AT/uKs92rKAY0Z/upQ3LV4Ymz 7U6jaFb9E9H3fcUv3cEAa0aDDImfQZJIOGSMUJxo6AEhrpHVeZzPIfDO62hIEcOPuJ DRhlN7G1Z9kO6CMiv+Nt//4R36V+KGM0lmmRZ8HTYzFBsAscRIWFrkcNnj5wJ8Ic0U ZtcQPSyunxGAQ== From: Pierre-Jean Texier To: buildroot@buildroot.org Date: Thu, 20 Jun 2019 20:38:13 +0200 Message-Id: <1561055893-22140-1-git-send-email-pjtexier@koncepto.io> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v2 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 --- Changes v1 -> v2 - remove 'v' prefix in PYTHON_PERIPHERY_VERSION Scanpy was not used because the archive in pythonhosted does not contain the license file. With the github repo : make python-periphery-legal-info >>> python-periphery 1.1.1 Collecting legal info LICENSE: OK (sha256: db1bea825e728d8bcdf6c220d79c74370a9fcb63a4f9153c2cece2b63e177aa4) DEVELOPERS | 1 + package/Config.in | 1 + package/python-periphery/Config.in | 7 +++++++ package/python-periphery/python-periphery.hash | 3 +++ package/python-periphery/python-periphery.mk | 13 +++++++++++++ 5 files changed, 25 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 9d806db..3fec0f7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1855,6 +1855,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 1ef6bca..d70ce20 100644 --- a/package/Config.in +++ b/package/Config.in @@ -964,6 +964,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..99585b0 --- /dev/null +++ b/package/python-periphery/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PERIPHERY + bool "python-periphery" + help + A pure Python 2/3 library for peripheral I/O (GPIO, LED, + PWM, SPI, I2C, MMIO, Serial) in Linux. + + 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..de988b3 --- /dev/null +++ b/package/python-periphery/python-periphery.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 a9a0a0ac02b8c3a954281777e92a15ec41abd311eb8732b50a2faaa9df62f1df python-periphery-1.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..150ac1c --- /dev/null +++ b/package/python-periphery/python-periphery.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-periphery +# +################################################################################ + +PYTHON_PERIPHERY_VERSION = 1.1.1 +PYTHON_PERIPHERY_SITE = $(call github,vsergeev,python-periphery,v$(PYTHON_PERIPHERY_VERSION)) +PYTHON_PERIPHERY_LICENSE = MIT +PYTHON_PERIPHERY_LICENSE_FILES = LICENSE +PYTHON_PERIPHERY_SETUP_TYPE = setuptools + +$(eval $(python-package))