From: Michael Olbrich <m.olbrich@pengutronix.de>
To: David Jander <david@protonic.nl>,
ptxdist@pengutronix.de, Robin van der Gracht <robin@protonic.nl>
Subject: Re: [ptxdist] [PATCH V2 1/2] host-python3-tz: new package
Date: Fri, 6 May 2022 09:33:03 +0200 [thread overview]
Message-ID: <YnTPLyNsCWSB+8sR@pengutronix.de> (raw)
In-Reply-To: <YnTL2KSqCJCb7eO0@pengutronix.de>
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 <robin@protonic.nl>
> > Signed-off-by: David Jander <david@protonic.nl>
> > ---
> > 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 <robin@protonic.nl>
> > +#
> > +# 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 |
next prev parent reply other threads:[~2022-05-06 7:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 12:38 [ptxdist] [PATCH V2 0/2] Add host-python3-babel David Jander
2022-05-03 12:38 ` [ptxdist] [PATCH V2 1/2] host-python3-tz: new package David Jander
2022-05-06 7:18 ` Michael Olbrich
2022-05-06 7:33 ` Michael Olbrich [this message]
2022-05-03 12:38 ` [ptxdist] [PATCH V2 2/2] host-python3-babel: " David Jander
2022-05-06 7:35 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YnTPLyNsCWSB+8sR@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=david@protonic.nl \
--cc=ptxdist@pengutronix.de \
--cc=robin@protonic.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox