From patchwork Sat Jan 30 22:46:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Gyarmati X-Patchwork-Id: 576091 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 8FA58140BCB for ; Sun, 31 Jan 2016 09:46:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=L8kiIl/G; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 295279568E; Sat, 30 Jan 2016 22:46:27 +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 cX293lFBSl+p; Sat, 30 Jan 2016 22:46:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1896395679; Sat, 30 Jan 2016 22:46:25 +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 7D5811C1550 for ; Sat, 30 Jan 2016 22:46:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C7E809206B for ; Sat, 30 Jan 2016 22:46:22 +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 ecHlMj2RtMQZ for ; Sat, 30 Jan 2016 22:46:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 064D191F1D for ; Sat, 30 Jan 2016 22:46:22 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id 128so3342551wmz.3 for ; Sat, 30 Jan 2016 14:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=dfEPO9HwP8wkJR+fVwc8VuQW+JL67MVWmGlJ8TiDmpU=; b=L8kiIl/GG/VVicOyRtqlLx1DHttWs78TJXNqOEJyYyssq+HYiOuc6vi+7pF2XglM2G MYmSFyObvc2oG0ofXzZnGYbr2rddnBuGhqspEKpI3mf89YlYTJ4fgp/UmbfCuHWuRTP8 wsyfIM04UA9aKzqcyiL13ciNID1mxynggZ6MExntvGEjF9QFCsFbMCD6/nq3PmZD3GZ3 0MBQY7BYa+n8bnyLLwOnyz68drAfMjul+ks/HXcOV9Bg9iIQfFb0EfigAMITe1A8//rM CR5bPNuYqvTeZZGVO6z2KRJ34grRlVNnPiTqeY8WYyi+Hh/D4BQffi7FJ31034Zm8Ng9 96kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dfEPO9HwP8wkJR+fVwc8VuQW+JL67MVWmGlJ8TiDmpU=; b=lapzsCxa3qfRbncfm/AvqmYqpOtrzmaVv5DHb2DKrXvf+yP/H6HPVruiLy2YzB5+Y+ cmKL501L4SFBbAeVmfoNUJQNiFy1623Hao9g4wyAZWSaIt/vkRAvNN3PephhYt1myyep TGExON0zrts0GrggUnOS3IgZmIyNnb8JQ7YLPIuhPe3NUiWhTsiaBibjr/GAc3/G7gWa Q0inGf9Az7K2MjhCki10bdW10epCBi105WiEjmLa3oXlguBXQKRgDpo9ADpzdOCAOa5x 1T16qwh+2T4bHM/1eSr8se1nlOu3hfPVEqYTlNSVUWCG1FvgscsIdL6i0iIS5ZPz5Wrb VBNw== X-Gm-Message-State: AG10YOQ9ZlvT5X9qA7eoFPJWMNMVXwRqbX1P2kZe5mGxJGcnFjyzxYJL9HsiMjJkNp2cSA== X-Received: by 10.194.190.77 with SMTP id go13mr195958wjc.23.1454193982330; Sat, 30 Jan 2016 14:46:22 -0800 (PST) Received: from zgyarmati-ThinkPad-T510.fritz.box (aftr-37-201-193-61.unity-media.net. [37.201.193.61]) by smtp.gmail.com with ESMTPSA id v191sm4300771wme.1.2016.01.30.14.46.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 30 Jan 2016 14:46:21 -0800 (PST) From: Zoltan Gyarmati To: buildroot@busybox.net Date: Sat, 30 Jan 2016 23:46:09 +0100 Message-Id: <1454193970-22544-1-git-send-email-mr.zoltan.gyarmati@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH v2 1/2] python-iniparse: 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Zoltan Gyarmati --- Changes v1 -> v2: - add sha256 hash - whitespace and line length fixes --- package/Config.in | 1 + package/python-iniparse/Config.in | 11 +++++++++++ package/python-iniparse/python-iniparse.hash | 4 ++++ package/python-iniparse/python-iniparse.mk | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-iniparse/Config.in create mode 100644 package/python-iniparse/python-iniparse.hash create mode 100644 package/python-iniparse/python-iniparse.mk diff --git a/package/Config.in b/package/Config.in index 09c2b40..a339161 100644 --- a/package/Config.in +++ b/package/Config.in @@ -645,6 +645,7 @@ menu "External python modules" source "package/python-httplib2/Config.in" source "package/python-id3/Config.in" source "package/python-idna/Config.in" + source "package/python-iniparse/Config.in" source "package/python-ipaddr/Config.in" source "package/python-ipaddress/Config.in" source "package/python-ipy/Config.in" diff --git a/package/python-iniparse/Config.in b/package/python-iniparse/Config.in new file mode 100644 index 0000000..a04e2a6 --- /dev/null +++ b/package/python-iniparse/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_INIPARSE + bool "python-iniparse" + depends on BR2_PACKAGE_PYTHON + help + iniparse is an INI parser for Python which is API compatible with + the standard library's ConfigParser, preserves structure of INI + files (order of sections & options, indentation, comments, and + blank lines are preserved when data is updated), and is more + convenient to use. + + https://pypi.python.org/pypi/iniparse diff --git a/package/python-iniparse/python-iniparse.hash b/package/python-iniparse/python-iniparse.hash new file mode 100644 index 0000000..d7d8e93 --- /dev/null +++ b/package/python-iniparse/python-iniparse.hash @@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=5e573e9e9733d97623881ce9bbe5eca6, sha256 locally computed +md5 5e573e9e9733d97623881ce9bbe5eca6 iniparse-0.4.tar.gz +sha256 abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054 iniparse-0.4.tar.gz + diff --git a/package/python-iniparse/python-iniparse.mk b/package/python-iniparse/python-iniparse.mk new file mode 100644 index 0000000..b00e0c4 --- /dev/null +++ b/package/python-iniparse/python-iniparse.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-iniparse +# +################################################################################ + +PYTHON_INIPARSE_VERSION = 0.4 +PYTHON_INIPARSE_SOURCE = iniparse-$(PYTHON_INIPARSE_VERSION).tar.gz +PYTHON_INIPARSE_SITE = https://pypi.python.org/packages/source/i/iniparse +PYTHON_INIPARSE_LICENSE = Python software foundation license v2, MIT +PYTHON_INIPARSE_LICENSE_FILES = LICENSE-PSF LICENSE +PYTHON_INIPARSE_SETUP_TYPE = distutils + +$(eval $(python-package))