From patchwork Wed Oct 7 23:23:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 527504 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 25478140D72 for ; Thu, 8 Oct 2015 10:24:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2F5AB8B150; Wed, 7 Oct 2015 23:24:23 +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 ilZ3bbawOxy3; Wed, 7 Oct 2015 23:24:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F1B7D8B0A2; Wed, 7 Oct 2015 23:24:21 +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 862891C0FC3 for ; Wed, 7 Oct 2015 23:24:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7FDD38BEF0 for ; Wed, 7 Oct 2015 23:24:20 +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 EkUgW3fLTdAW for ; Wed, 7 Oct 2015 23:24:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wsget2.nist.gov (wsget2.nist.gov [129.6.13.151]) by whitealder.osuosl.org (Postfix) with ESMTPS id 522638BE77 for ; Wed, 7 Oct 2015 23:24:19 +0000 (UTC) Received: from WSXGHUB1.xchange.nist.gov (129.6.18.96) by wsget2.nist.gov (129.6.13.151) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 7 Oct 2015 19:23:46 -0400 Received: from postmark.nist.gov (129.6.16.94) by WSXGHUB1.xchange.nist.gov (129.6.18.96) with Microsoft SMTP Server (TLS) id 8.3.406.0; Wed, 7 Oct 2015 19:24:16 -0400 Received: from 688pn2a171.bw.nist.gov (688pn2a171.bw.nist.gov [132.163.81.111]) by postmark.nist.gov (8.13.8/8.13.1) with ESMTP id t97NO4rX011042; Wed, 7 Oct 2015 19:24:05 -0400 From: Guillaume William Bres To: Date: Wed, 7 Oct 2015 17:23:08 -0600 Message-ID: <1444260188-9571-1-git-send-email-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: X-NIST-MailScanner-Information: MIME-Version: 1.0 Cc: Guillaume William Bres Subject: [Buildroot] [PATCH v2] pyqtgraph: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Guillaume William Bres --- Applied modifications suggested by Arnout: package/python-pyqtgraph/Config.in now depends on the new variable: BR2_PACKAGE_PYTHON_NUMPY_ARCH_DEPENDS. package/python-pyqtgraph/Config.in selects Qt/PyQt. comment all dependencies. --- package/Config.in | 1 + package/python-pyqtgraph/Config.in | 22 ++++++++++++++++++++++ package/python-pyqtgraph/python-pyqtgraph.hash | 5 +++++ package/python-pyqtgraph/python-pyqtgraph.mk | 15 +++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 package/python-pyqtgraph/Config.in create mode 100644 package/python-pyqtgraph/python-pyqtgraph.hash create mode 100644 package/python-pyqtgraph/python-pyqtgraph.mk diff --git a/package/Config.in b/package/Config.in index 3794f44..c8812a6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -645,6 +645,7 @@ menu "external python modules" source "package/python-pyparsing/Config.in" source "package/python-pypcap/Config.in" source "package/python-pyqt/Config.in" + source "package/python-pyqtgraph/Config.in" source "package/python-pyratemp/Config.in" source "package/python-pyro/Config.in" source "package/python-pyroute2/Config.in" diff --git a/package/python-pyqtgraph/Config.in b/package/python-pyqtgraph/Config.in new file mode 100644 index 0000000..f1c3a42 --- /dev/null +++ b/package/python-pyqtgraph/Config.in @@ -0,0 +1,22 @@ +comment "python-pyqtgraph requires a (e)glibc toolchain w/ wchar and C++" + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_DEPENDS + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_PYTHON_PYQTGRAPH + bool "python-pyqtgraph" + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_DEPENDS + depends on BR2_USE_MMU # pyqt -> qt + depends on BR2_INSTALL_LIBSTDCPP # pyqt -> qt + depends on BR2_TOOLCHAIN_HAS_THREADS # pyqt -> qt + select BR2_PACKAGE_PYTHON_PYQT + select BR2_PACKAGE_PYTHON_NUMPY # runtime dependency + select BR2_PACKAGE_PYTHON_PYEXPAT # runtime dependency + select BR2_PACKAGE_QT_SVG # runtime dependency + select BR2_PACKAGE_QT_GUI_MODULE + help + Pyqtgraph is a pure Python graphics and GUI library built on PyQt4, + PySide and Numpy. + + Official website: + http://www.pyqtgraph.org/ diff --git a/package/python-pyqtgraph/python-pyqtgraph.hash b/package/python-pyqtgraph/python-pyqtgraph.hash new file mode 100644 index 0000000..c20eea2 --- /dev/null +++ b/package/python-pyqtgraph/python-pyqtgraph.hash @@ -0,0 +1,5 @@ +# From http://www.pyqtgraph.org/downloads +md5 6e2efa185b6b9227dfe16fefd921a8ec pyqtgraph-0.9.10.tar.gz + +# Locally calculated: +sha256 4c0589774e3c8b0c374931397cf6356b9cc99a790215d1917bb7f015c6f0729a pyqtgraph-0.9.10.tar.gz diff --git a/package/python-pyqtgraph/python-pyqtgraph.mk b/package/python-pyqtgraph/python-pyqtgraph.mk new file mode 100644 index 0000000..dbc3598 --- /dev/null +++ b/package/python-pyqtgraph/python-pyqtgraph.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pyqtgraph +# +################################################################################ + +PYTHON_PYQTGRAPH_VERSION = 0.9.10 +PYTHON_PYQTGRAPH_SOURCE = pyqtgraph-$(PYTHON_PYQTGRAPH_VERSION).tar.gz +PYTHON_PYQTGRAPH_SITE = http://www.pyqtgraph.org/downloads +PYTHON_PYQTGRAPH_LICENSE = MIT +PYTHON_PYQTGRAPH_LICENSE_FILES = COPYING +PYTHON_PYQTGRAPH_SETUP_TYPE = distutils +PYTHON_PYQTGRAPH_DEPENDENCIES = python-pyqt + +$(eval $(python-package))