From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200703115710.30041-4-p.zabel@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Mon, 06 Jul 2020 08:32:04 +0200 Subject: Re: [ptxdist] [APPLIED] python3-packaging: 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 Cc: Philipp Zabel Thanks, applied as 3f25a7aa517ff82ef2604f29c4e6b7df526dcb3b. Michael [sent from post-receive hook] On Mon, 06 Jul 2020 08:32:04 +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > Message-Id: <20200703115710.30041-4-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-packaging.in b/rules/python3-packaging.in > new file mode 100644 > index 000000000000..3a3b9a3ad265 > --- /dev/null > +++ b/rules/python3-packaging.in > @@ -0,0 +1,10 @@ > +## SECTION=python3 > + > +config PYTHON3_PACKAGING > + tristate > + select PYTHON3 > + select PYTHON3_PYPARSING if RUNTIME > + select PYTHON3_SIX if RUNTIME > + prompt "packaging" > + help > + Core utilities for Python packages. > diff --git a/rules/python3-packaging.make b/rules/python3-packaging.make > new file mode 100644 > index 000000000000..89b7443b9e82 > --- /dev/null > +++ b/rules/python3-packaging.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_PACKAGING) += python3-packaging > + > +# > +# Paths and names > +# > +PYTHON3_PACKAGING_VERSION := 20.4 > +PYTHON3_PACKAGING_MD5 := 3208229da731c5d8e29d4d8941e75005 > +PYTHON3_PACKAGING := packaging-$(PYTHON3_PACKAGING_VERSION) > +PYTHON3_PACKAGING_SUFFIX := tar.gz > +PYTHON3_PACKAGING_URL := https://pypi.python.org/packages/source/p/packaging/$(PYTHON3_PACKAGING).$(PYTHON3_PACKAGING_SUFFIX) > +PYTHON3_PACKAGING_SOURCE := $(SRCDIR)/$(PYTHON3_PACKAGING).$(PYTHON3_PACKAGING_SUFFIX) > +PYTHON3_PACKAGING_DIR := $(BUILDDIR)/$(PYTHON3_PACKAGING) > +PYTHON3_PACKAGING_LICENSE := BSD-2-Clause OR Apache-2.0 > +PYTHON3_PACKAGING_LICENSE_FILES := \ > + file://LICENSE;md5=faadaedca9251a90b205c9167578ce91 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_PACKAGING_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-packaging.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-packaging) > + @$(call install_fixup, python3-packaging, PRIORITY, optional) > + @$(call install_fixup, python3-packaging, SECTION, base) > + @$(call install_fixup, python3-packaging, AUTHOR, "Philipp Zabel ") > + @$(call install_fixup, python3-packaging, DESCRIPTION, missing) > + > + @$(call install_glob, python3-packaging, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) > + > + @$(call install_finish, python3-packaging) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de