From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/38] package: introduce Python package infrastructure
Date: Wed, 11 Dec 2013 21:08:43 +0100 [thread overview]
Message-ID: <20131211210843.103e43c4@skate> (raw)
In-Reply-To: <CAAXf6LWUByrN9ZHRu1MET+_aS44JquFaSXzxx6AWnL9WmC817w@mail.gmail.com>
Dear Thomas De Schampheleire,
Only replying to your comments that required a reply. I have
already taken into account all the typos.
On Mon, 9 Dec 2013 11:02:25 +0100, Thomas De Schampheleire wrote:
> > +On line 8 and 9, we declare the name of the tarball (xz-ed tarball
> > +recommended) and the location of the tarball on the Web. Buildroot
> > +will automatically download the tarball from this location.
>
> Should we clarify here that if the tarball is .gz, it shouldn't be
> specified because it's currently the default?
I decided not to do this, because in the case of the Python modules, it
is very often not possible to rely on the default value of
<pkg>_SOURCE, because the upstream tarball is named
<foo>-<version>.tar.gz, but we call the package python-<foo> in
Buildroot.
> What I have not yet seen in the documentation is a naming policy for
> python packages. I understood that we expect them all to be named
> python-foo, right, so maybe this could be added in the new python
> section of the manual?
I've added some details about this. However, note that not *all* Python
packages should be named python-<foo>. Only Python modules should be
named as such. Packages such as scons and supervisor, which use a
Python-based setup.py, and therefore use the python-package
infrastructure, are not Python modules, and therefore do not have to be
named python-scons and python-supervisor.
> > +# Passed as options of the build step of target distutils based
> > +# packages.
>
> This is probably personal, but I don't feel this comment explains more
> than the variable name already does.
> Moreover, to repeat the text 'of target distutils based packages' for
> each of the ENV, BUILD_OPT, INSTALL_OPT variables seems redundant too.
> What about a structure like:
Ok, fixed.
> > +# This must be repeated from inner-generic-package, and we need to
> > +# exclude the packages added above in various situations, otherwise
>
> Do you mean 'as we need to' ?
>
> added below
>
> and what do you mean with 'in various situations' here?
I've added a much more detailed explanations about this, it will be in
the v2.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-12-11 20:08 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-08 22:14 [Buildroot] [PATCH 00/38] Python infrastructure and package conversion Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 01/38] dialog: add missing comment when thread support is missing Thomas Petazzoni
2013-12-08 22:40 ` Peter Korsgaard
2013-12-08 22:14 ` [Buildroot] [PATCH 02/38] dialog: remove useless POST_CLEAN command Thomas Petazzoni
2013-12-08 22:40 ` Peter Korsgaard
2013-12-08 22:14 ` [Buildroot] [PATCH 03/38] package: introduce Python package infrastructure Thomas Petazzoni
2013-12-09 10:02 ` Thomas De Schampheleire
2013-12-11 20:08 ` Thomas Petazzoni [this message]
2013-12-08 22:14 ` [Buildroot] [PATCH 04/38] python-bottle: convert to the " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 05/38] python-crc16: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 06/38] python-dpkt: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 07/38] python-id3: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 08/38] python-ipy: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 09/38] python-m2crypto: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 10/38] python-mad: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 11/38] python-meld3: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 12/38] python-nfc: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 13/38] python-protobuf: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 14/38] python-pygame: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 15/38] python-pyparsing: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 16/38] python-pyro: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 17/38] python-pyzmq: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 18/38] python-serial: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 19/38] python-setuptools: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 20/38] scons: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 21/38] python-netifaces: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 22/38] supervisor: " Thomas Petazzoni
2013-12-09 15:18 ` Thomas De Schampheleire
2013-12-08 22:14 ` [Buildroot] [PATCH 23/38] python-distutilscross: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 24/38] python-thrift: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 25/38] python-dialog: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 26/38] python-pyusb: new package Thomas Petazzoni
2013-12-09 14:40 ` Thomas De Schampheleire
2013-12-09 20:19 ` Wojciech Zabolotny
2013-12-08 22:14 ` [Buildroot] [PATCH 27/38] python-msgpack: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 28/38] python-configobj: " Thomas Petazzoni
2013-12-08 22:14 ` [Buildroot] [PATCH 29/38] python-versiontools: " Thomas Petazzoni
2013-12-09 14:29 ` Thomas De Schampheleire
2013-12-08 22:14 ` [Buildroot] [PATCH 30/38] python-keyring: " Thomas Petazzoni
2013-12-09 14:34 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 31/38] python-simplejson: " Thomas Petazzoni
2013-12-09 14:29 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 32/38] python-json-schema-validator: " Thomas Petazzoni
2013-12-08 22:15 ` [Buildroot] [PATCH 33/38] python-tornado: " Thomas Petazzoni
2013-12-09 14:36 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 34/38] python-pyasn: " Thomas Petazzoni
2013-12-09 14:41 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 35/38] python-pycrypto: " Thomas Petazzoni
2013-12-09 14:43 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 36/38] python-pysnmp: " Thomas Petazzoni
2013-12-09 14:44 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 37/38] python-pysnmp-apps: " Thomas Petazzoni
2013-12-09 12:18 ` Ryan Barnett
2013-12-09 14:47 ` Thomas De Schampheleire
2013-12-08 22:15 ` [Buildroot] [PATCH 38/38] python-pysnmp-mibs: " Thomas Petazzoni
2013-12-09 14:45 ` Thomas De Schampheleire
2013-12-09 16:44 ` [Buildroot] [PATCH 00/38] Python infrastructure and package conversion Thomas De Schampheleire
2013-12-11 20:16 ` Thomas Petazzoni
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=20131211210843.103e43c4@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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