From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1jrKJc-0000xB-1o for ptxdist@pengutronix.de; Fri, 03 Jul 2020 13:57:12 +0200 From: Philipp Zabel Date: Fri, 3 Jul 2020 13:57:07 +0200 Message-Id: <20200703115710.30041-7-p.zabel@pengutronix.de> In-Reply-To: <20200703115710.30041-1-p.zabel@pengutronix.de> References: <20200703115710.30041-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 07/10] python3-pyparsing: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Philipp Zabel --- rules/python3-pyparsing.in | 8 ++++++ rules/python3-pyparsing.make | 54 ++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 rules/python3-pyparsing.in create mode 100644 rules/python3-pyparsing.make diff --git a/rules/python3-pyparsing.in b/rules/python3-pyparsing.in new file mode 100644 index 000000000000..5e59a09018dc --- /dev/null +++ b/rules/python3-pyparsing.in @@ -0,0 +1,8 @@ +## SECTION=python3 + +config PYTHON3_PYPARSING + tristate + select PYTHON3 + prompt "pyparsing" + help + Python parsing module diff --git a/rules/python3-pyparsing.make b/rules/python3-pyparsing.make new file mode 100644 index 000000000000..1c2087574388 --- /dev/null +++ b/rules/python3-pyparsing.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Philipp Zabel +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_PYPARSING) += python3-pyparsing + +# +# Paths and names +# +PYTHON3_PYPARSING_VERSION := 2.4.7 +PYTHON3_PYPARSING_MD5 := f0953e47a0112f7a65aec2305ffdf7b4 +PYTHON3_PYPARSING := pyparsing-$(PYTHON3_PYPARSING_VERSION) +PYTHON3_PYPARSING_SUFFIX := tar.gz +PYTHON3_PYPARSING_URL := https://pypi.python.org/packages/source/p/pyparsing/$(PYTHON3_PYPARSING).$(PYTHON3_PYPARSING_SUFFIX) +PYTHON3_PYPARSING_SOURCE := $(SRCDIR)/$(PYTHON3_PYPARSING).$(PYTHON3_PYPARSING_SUFFIX) +PYTHON3_PYPARSING_DIR := $(BUILDDIR)/$(PYTHON3_PYPARSING) +PYTHON3_PYPARSING_LICENSE := MIT +PYTHON3_PYPARSING_LICENSE_FILES := \ + file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_PYPARSING_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-pyparsing.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-pyparsing) + @$(call install_fixup, python3-pyparsing, PRIORITY, optional) + @$(call install_fixup, python3-pyparsing, SECTION, base) + @$(call install_fixup, python3-pyparsing, AUTHOR, "Philipp Zabel ") + @$(call install_fixup, python3-pyparsing, DESCRIPTION, missing) + + @$(call install_glob, python3-pyparsing, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) + + @$(call install_finish, python3-pyparsing) + + @$(call touch) + +# vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de