From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 06 May 2022 09:33:13 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nmsSf-003UUr-19 for lore@lore.pengutronix.de; Fri, 06 May 2022 09:33:13 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nmsSe-0007WM-CG; Fri, 06 May 2022 09:33:12 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmsSX-0007W1-H4; Fri, 06 May 2022 09:33:05 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nmsSY-000f9X-6N; Fri, 06 May 2022 09:33:04 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nmsSV-004mLx-Os; Fri, 06 May 2022 09:33:03 +0200 Date: Fri, 6 May 2022 09:33:03 +0200 From: Michael Olbrich To: David Jander , ptxdist@pengutronix.de, Robin van der Gracht Message-ID: Mail-Followup-To: David Jander , ptxdist@pengutronix.de, Robin van der Gracht References: <20220503123803.1439644-1-david@protonic.nl> <20220503123803.1439644-2-david@protonic.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH V2 1/2] host-python3-tz: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Fri, May 06, 2022 at 09:18:48AM +0200, Michael Olbrich wrote: > On Tue, May 03, 2022 at 02:38:02PM +0200, David Jander wrote: > > Needed for host-python3-babel > > > > Signed-off-by: Robin van der Gracht > > Signed-off-by: David Jander > > --- > > rules/host-python3-tz.in | 6 ++++++ > > rules/host-python3-tz.make | 32 ++++++++++++++++++++++++++++++++ > > 2 files changed, 38 insertions(+) > > create mode 100644 rules/host-python3-tz.in > > create mode 100644 rules/host-python3-tz.make > > > > diff --git a/rules/host-python3-tz.in b/rules/host-python3-tz.in > > new file mode 100644 > > index 000000000..fc0cba845 > > --- /dev/null > > +++ b/rules/host-python3-tz.in > > @@ -0,0 +1,6 @@ > > +## SECTION=hosttools_noprompt > > + > > +config HOST_PYTHON3_TZ > > + tristate > > + default y if ALLYES > > + select HOST_PYTHON3 > > diff --git a/rules/host-python3-tz.make b/rules/host-python3-tz.make > > new file mode 100644 > > index 000000000..312cdd3e4 > > --- /dev/null > > +++ b/rules/host-python3-tz.make > > @@ -0,0 +1,32 @@ > > +# -*-makefile-*- > > +# > > +# Copyright (C) 2019 by Robin van der Gracht > > +# > > +# For further information about the PTXdist project and license conditions > > +# see the README file. > > +# > > + > > +# > > +# We provide this package > > +# > > +HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_TZ) += host-python3-tz > > + > > +# > > +# Paths and names > > +# > > +HOST_PYTHON3_TZ_VERSION := 2018.9 > > +HOST_PYTHON3_TZ_MD5 := 0f57d76c64d0965e7429c9b871f6b711 > > Use tabs please. > > > +HOST_PYTHON3_TZ := python3-tz-$(HOST_PYTHON3_TZ_VERSION) > > Use the upstream tarball name unless there is a good reason not to. > > > +HOST_PYTHON3_TZ_SUFFIX := tar.gz > > +HOST_PYTHON3_TZ_URL := https://files.pythonhosted.org/packages/af/be/6c59e30e208a5f28da85751b93ec7b97e4612268bb054d0dff396e758a90/pytz-$(HOST_PYTHON3_TZ_VERSION).$(HOST_PYTHON3_TZ_SUFFIX) > > Use ptx/mirror-pypi. > > Michael > > > +HOST_PYTHON3_TZ_SOURCE := $(SRCDIR)/$(HOST_PYTHON3_TZ).$(HOST_PYTHON3_TZ_SUFFIX) > > +HOST_PYTHON3_TZ_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON3_TZ) > > +HOST_PYTHON3_TZ_LICENSE := MIT And please add the license file as well. Michael > > + > > +# ---------------------------------------------------------------------------- > > +# Prepare > > +# ---------------------------------------------------------------------------- > > + > > +HOST_PYTHON3_TZ_CONF_TOOL := python3 > > + > > +# vim: syntax=make > > -- > > 2.32.0 > > > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |