mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 01/10] python3-attrs: new package
Date: Fri, 03 Jul 2020 11:54:30 +0200	[thread overview]
Message-ID: <895ea6508a9d46f941d850e80436b2fe0417ebe8.camel@pengutronix.de> (raw)
In-Reply-To: <20200703091948.GC24749@pengutronix.de>

On Fri, 2020-07-03 at 11:19 +0200, Michael Olbrich wrote:
> On Thu, Jul 02, 2020 at 03:05:09PM +0200, Philipp Zabel wrote:
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> >  rules/python3-attrs.in   |  8 ++++++
> >  rules/python3-attrs.make | 54 ++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 62 insertions(+)
> >  create mode 100644 rules/python3-attrs.in
> >  create mode 100644 rules/python3-attrs.make
> > 
> > diff --git a/rules/python3-attrs.in b/rules/python3-attrs.in
> > new file mode 100644
> > index 000000000000..98ff9134a306
> > --- /dev/null
> > +++ b/rules/python3-attrs.in
> > @@ -0,0 +1,8 @@
> > +## SECTION=python3
> > +
> > +config PYTHON3_ATTRS
> > +	tristate
> > +	select PYTHON3
> > +	prompt "attrs"
> > +	help
> > +	  attrs: Classes Without Boilerplate
> > diff --git a/rules/python3-attrs.make b/rules/python3-attrs.make
> > new file mode 100644
> > index 000000000000..3683cda801fa
> > --- /dev/null
> > +++ b/rules/python3-attrs.make
> > @@ -0,0 +1,54 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) 2020 by Philipp Zabel <p.zabel@pengutronix.de>
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +#
> > +# We provide this package
> > +#
> > +PACKAGES-$(PTXCONF_PYTHON3_ATTRS) += python3-attrs
> > +
> > +#
> > +# Paths and names
> > +#
> > +PYTHON3_ATTRS_VERSION	:= 19.3.0
> > +PYTHON3_ATTRS_MD5	:= 5b2db50fcc31be34d32798183c9bd062
> > +PYTHON3_ATTRS		:= attrs-$(PYTHON3_ATTRS_VERSION)
> > +PYTHON3_ATTRS_SUFFIX	:= tar.gz
> > +PYTHON3_ATTRS_URL	:= https://pypi.python.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612/$(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX)
> 
> So where did you get this URL from? When I look for the package on pypi I
> get:
> https://files.pythonhosted.org/packages/98/c3/...

I've collected the addresses form pypi.org and then only replaced the
hashes in my template, which had the pypi.python.org domain.

> And we need to change the URL with each new versions. That's not so good.
> This should work as well:
> 
> https://pypi.python.org/packages/source/a/attrs/$(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX)
> 
> Please update all packages like this.

Will do, thank you!

regards
Philipp

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      reply	other threads:[~2020-07-03  9:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-02 13:05 Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 02/10] python3-importlib-metadata: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 03/10] python3-more-itertools: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 04/10] python3-packaging: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 05/10] python3-pluggy: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 06/10] python3-py: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 07/10] python3-pyparsing: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 08/10] python3-wcwidth: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 09/10] python3-zipp: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 10/10] python3-pytest: " Philipp Zabel
2020-07-03  9:22   ` Michael Olbrich
2020-07-03  9:54     ` Philipp Zabel
2020-07-03 11:06       ` Michael Olbrich
2020-07-03  9:19 ` [ptxdist] [PATCH 01/10] python3-attrs: " Michael Olbrich
2020-07-03  9:54   ` Philipp Zabel [this message]

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=895ea6508a9d46f941d850e80436b2fe0417ebe8.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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