[oe] [meta-python][PATCH] meta-python: fix conf/layer.conf, follow typical structure

Martin Jansa martin.jansa at gmail.com
Wed Jul 30 08:12:05 UTC 2014


On Sat, Jul 26, 2014 at 10:34:35AM -0700, Tim Orling wrote:
> Ping.
> I haven't seen any comment on this patch at all.

I don't have strong opinion on this, but I don't like much the structure
with 1 recipe per directory, so I prefer single python directory with
all python modules together.

Also using the original structure from meta-oe has the advantage that
additional layers which were using include or require of some file from
python directory don't need any adaptation after meta-python was
separated (I've noticed it in one of our layers and that's why I've
submitted recipes-python -> recipes-devtools change).

> On Tue, Jul 22, 2014 at 11:28 AM, Tim Orling <ticotimo at gmail.com> wrote:
> 
> > Intended structure was meta-python/recipes-python/*.bb, but
> > this is not typical. Rather, let's follow the typical structure
> > and have meta-python/recipes-python/<package>/python-<package>.bb
> >
> > Signed-off-by: Tim Orling <TicoTimo at gmail.com>
> > ---
> >  meta-python/conf/layer.conf                                           | 4
> > ++--
> >  .../recipes-python/{python => autobahn}/python-autobahn_0.8.6.bb      | 0
> >  .../recipes-python/{python => cheetah}/python-cheetah_2.4.4.bb        | 0
> >  .../recipes-python/{python => cloudeebus}/python-cloudeebus_0.6.0.bb  | 0
> >  meta-python/recipes-python/{python => cython}/python-cython_0.20.2.bb | 0
> >  .../recipes-python/{python => dateutil}/python-dateutil_1.5.bb        | 0
> >  meta-python/recipes-python/{python => epydoc}/python-epydoc_3.0.1.bb  | 0
> >  .../recipes-python/{python => feedparser}/python-feedparser_5.1.3.bb  | 0
> >  meta-python/recipes-python/{python => gdata}/python-gdata_1.2.4.bb    | 0
> >  meta-python/recipes-python/{python => gevent}/python-gevent_0.13.8.bb | 0
> >  .../recipes-python/{python => greenlet}/python-greenlet_0.4.1.bb      | 0
> >  .../recipes-python/{python => ldap}/python-ldap/setup.cfg.patch       | 0
> >  meta-python/recipes-python/{python => ldap}/python-ldap_2.3.9.bb      | 0
> >  meta-python/recipes-python/{python => lxml}/python-lxml_3.0.2.bb      | 0
> >  .../0001-setup.py-link-in-sysroot-not-in-host-directories.patch       | 0
> >  .../recipes-python/{python => m2crypto}/python-m2crypto_0.21.1.bb     | 0
> >  .../{python => matplotlib}/python-matplotlib/fix_setup.patch          | 0
> >  .../{python => matplotlib}/python-matplotlib/fix_setupext.patch       | 0
> >  .../recipes-python/{python => matplotlib}/python-matplotlib_1.1.0.bb  | 0
> >  .../recipes-python/{python => numeric}/python-numeric/no-lapack.patch | 0
> >  meta-python/recipes-python/{python => numeric}/python-numeric_24.2.bb | 0
> >  meta-python/recipes-python/{python => pexpect}/python-pexpect_2.3.bb  | 0
> >  meta-python/recipes-python/{python => pip}/python-pip_1.3.1.bb        | 0
> >  meta-python/recipes-python/{python => psutil}/python-psutil_0.6.1.bb  | 0
> >  .../recipes-python/{python => pyalsaaudio}/python-pyalsaaudio_0.4.bb  | 0
> >  meta-python/recipes-python/{python => pyrtm}/pyrtm_0.2.bb             | 0
> >  .../recipes-python/{python => pyserial}/python-pyserial_2.4.bb        | 0
> >  meta-python/recipes-python/{python => pyudev}/python-pyudev_0.16.1.bb | 0
> >  meta-python/recipes-python/{python => pyusb}/python-pyusb_1.0.0a2.bb  | 0
> >  meta-python/recipes-python/{python => pyyaml}/python-pyyaml/setup.py  | 0
> >  meta-python/recipes-python/{python => pyyaml}/python-pyyaml_3.10.bb   | 0
> >  meta-python/recipes-python/{python => smbus}/python-smbus_3.0.3.bb    | 0
> >  .../recipes-python/{python => sqlalchemy}/python-sqlalchemy_0.7.9.bb  | 0
> >  .../recipes-python/{python => twisted}/python-twisted_13.2.0.bb       | 0
> >  .../recipes-python/{python => vobject}/python-vobject_0.8.1c.bb       | 0
> >  meta-python/recipes-python/{python => webdav}/python-webdav_0.1.2.bb  | 0
> >  .../{python => zopeinterface}/python-zopeinterface_4.1.1.bb           | 0
> >  37 files changed, 2 insertions(+), 2 deletions(-)
> >  rename meta-python/recipes-python/{python => autobahn}/
> > python-autobahn_0.8.6.bb (100%)
> >  rename meta-python/recipes-python/{python => cheetah}/
> > python-cheetah_2.4.4.bb (100%)
> >  rename meta-python/recipes-python/{python => cloudeebus}/
> > python-cloudeebus_0.6.0.bb (100%)
> >  rename meta-python/recipes-python/{python => cython}/
> > python-cython_0.20.2.bb (100%)
> >  rename meta-python/recipes-python/{python => dateutil}/
> > python-dateutil_1.5.bb (100%)
> >  rename meta-python/recipes-python/{python => epydoc}/
> > python-epydoc_3.0.1.bb (100%)
> >  rename meta-python/recipes-python/{python => feedparser}/
> > python-feedparser_5.1.3.bb (100%)
> >  rename meta-python/recipes-python/{python => gdata}/python-gdata_1.2.4.bb
> > (100%)
> >  rename meta-python/recipes-python/{python => gevent}/
> > python-gevent_0.13.8.bb (100%)
> >  rename meta-python/recipes-python/{python => greenlet}/
> > python-greenlet_0.4.1.bb (100%)
> >  rename meta-python/recipes-python/{python =>
> > ldap}/python-ldap/setup.cfg.patch (100%)
> >  rename meta-python/recipes-python/{python => ldap}/python-ldap_2.3.9.bb
> > (100%)
> >  rename meta-python/recipes-python/{python => lxml}/python-lxml_3.0.2.bb
> > (100%)
> >  rename meta-python/recipes-python/{python =>
> > m2crypto}/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
> > (100%)
> >  rename meta-python/recipes-python/{python => m2crypto}/
> > python-m2crypto_0.21.1.bb (100%)
> >  rename meta-python/recipes-python/{python =>
> > matplotlib}/python-matplotlib/fix_setup.patch (100%)
> >  rename meta-python/recipes-python/{python =>
> > matplotlib}/python-matplotlib/fix_setupext.patch (100%)
> >  rename meta-python/recipes-python/{python => matplotlib}/
> > python-matplotlib_1.1.0.bb (100%)
> >  rename meta-python/recipes-python/{python =>
> > numeric}/python-numeric/no-lapack.patch (100%)
> >  rename meta-python/recipes-python/{python => numeric}/
> > python-numeric_24.2.bb (100%)
> >  rename meta-python/recipes-python/{python => pexpect}/
> > python-pexpect_2.3.bb (100%)
> >  rename meta-python/recipes-python/{python => pip}/python-pip_1.3.1.bb
> > (100%)
> >  rename meta-python/recipes-python/{python => psutil}/
> > python-psutil_0.6.1.bb (100%)
> >  rename meta-python/recipes-python/{python => pyalsaaudio}/
> > python-pyalsaaudio_0.4.bb (100%)
> >  rename meta-python/recipes-python/{python => pyrtm}/pyrtm_0.2.bb (100%)
> >  rename meta-python/recipes-python/{python => pyserial}/
> > python-pyserial_2.4.bb (100%)
> >  rename meta-python/recipes-python/{python => pyudev}/
> > python-pyudev_0.16.1.bb (100%)
> >  rename meta-python/recipes-python/{python => pyusb}/
> > python-pyusb_1.0.0a2.bb (100%)
> >  rename meta-python/recipes-python/{python =>
> > pyyaml}/python-pyyaml/setup.py (100%)
> >  rename meta-python/recipes-python/{python => pyyaml}/
> > python-pyyaml_3.10.bb (100%)
> >  rename meta-python/recipes-python/{python => smbus}/python-smbus_3.0.3.bb
> > (100%)
> >  rename meta-python/recipes-python/{python => sqlalchemy}/
> > python-sqlalchemy_0.7.9.bb (100%)
> >  rename meta-python/recipes-python/{python => twisted}/
> > python-twisted_13.2.0.bb (100%)
> >  rename meta-python/recipes-python/{python => vobject}/
> > python-vobject_0.8.1c.bb (100%)
> >  rename meta-python/recipes-python/{python => webdav}/
> > python-webdav_0.1.2.bb (100%)
> >  rename meta-python/recipes-python/{python => zopeinterface}/
> > python-zopeinterface_4.1.1.bb (100%)
> >
> > diff --git a/meta-python/conf/layer.conf b/meta-python/conf/layer.conf
> > index 4e8eca3..db9ec2b 100644
> > --- a/meta-python/conf/layer.conf
> > +++ b/meta-python/conf/layer.conf
> > @@ -1,8 +1,8 @@
> >  # We might have a conf and classes directory, append to BBPATH
> >  BBPATH .= ":${LAYERDIR}"
> >
> > -# We have recipes directories, add to BBFILES
> > -BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
> > +# We have recipes-* directories, add to BBFILES
> > +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb
> > ${LAYERDIR}/recipes-*/*/*.bbappend"
> >
> >  BBFILE_COLLECTIONS += "meta-python"
> >  BBFILE_PATTERN_meta-python := "^${LAYERDIR}/"
> > diff --git a/meta-python/recipes-python/python/python-autobahn_0.8.6.bb
> > b/meta-python/recipes-python/autobahn/python-autobahn_0.8.6.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-autobahn_0.8.6.bb
> > rename to meta-python/recipes-python/autobahn/python-autobahn_0.8.6.bb
> > diff --git a/meta-python/recipes-python/python/python-cheetah_2.4.4.bb
> > b/meta-python/recipes-python/cheetah/python-cheetah_2.4.4.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-cheetah_2.4.4.bb
> > rename to meta-python/recipes-python/cheetah/python-cheetah_2.4.4.bb
> > diff --git a/meta-python/recipes-python/python/python-cloudeebus_0.6.0.bb
> > b/meta-python/recipes-python/cloudeebus/python-cloudeebus_0.6.0.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-cloudeebus_0.6.0.bb
> > rename to meta-python/recipes-python/cloudeebus/python-cloudeebus_0.6.0.bb
> > diff --git a/meta-python/recipes-python/python/python-cython_0.20.2.bb
> > b/meta-python/recipes-python/cython/python-cython_0.20.2.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-cython_0.20.2.bb
> > rename to meta-python/recipes-python/cython/python-cython_0.20.2.bb
> > diff --git a/meta-python/recipes-python/python/python-dateutil_1.5.bb
> > b/meta-python/recipes-python/dateutil/python-dateutil_1.5.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-dateutil_1.5.bb
> > rename to meta-python/recipes-python/dateutil/python-dateutil_1.5.bb
> > diff --git a/meta-python/recipes-python/python/python-epydoc_3.0.1.bb
> > b/meta-python/recipes-python/epydoc/python-epydoc_3.0.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-epydoc_3.0.1.bb
> > rename to meta-python/recipes-python/epydoc/python-epydoc_3.0.1.bb
> > diff --git a/meta-python/recipes-python/python/python-feedparser_5.1.3.bb
> > b/meta-python/recipes-python/feedparser/python-feedparser_5.1.3.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-feedparser_5.1.3.bb
> > rename to meta-python/recipes-python/feedparser/python-feedparser_5.1.3.bb
> > diff --git a/meta-python/recipes-python/python/python-gdata_1.2.4.bb
> > b/meta-python/recipes-python/gdata/python-gdata_1.2.4.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-gdata_1.2.4.bb
> > rename to meta-python/recipes-python/gdata/python-gdata_1.2.4.bb
> > diff --git a/meta-python/recipes-python/python/python-gevent_0.13.8.bb
> > b/meta-python/recipes-python/gevent/python-gevent_0.13.8.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-gevent_0.13.8.bb
> > rename to meta-python/recipes-python/gevent/python-gevent_0.13.8.bb
> > diff --git a/meta-python/recipes-python/python/python-greenlet_0.4.1.bb
> > b/meta-python/recipes-python/greenlet/python-greenlet_0.4.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-greenlet_0.4.1.bb
> > rename to meta-python/recipes-python/greenlet/python-greenlet_0.4.1.bb
> > diff --git a/meta-python/recipes-python/python/python-ldap/setup.cfg.patch
> > b/meta-python/recipes-python/ldap/python-ldap/setup.cfg.patch
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-ldap/setup.cfg.patch
> > rename to meta-python/recipes-python/ldap/python-ldap/setup.cfg.patch
> > diff --git a/meta-python/recipes-python/python/python-ldap_2.3.9.bb
> > b/meta-python/recipes-python/ldap/python-ldap_2.3.9.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-ldap_2.3.9.bb
> > rename to meta-python/recipes-python/ldap/python-ldap_2.3.9.bb
> > diff --git a/meta-python/recipes-python/python/python-lxml_3.0.2.bb
> > b/meta-python/recipes-python/lxml/python-lxml_3.0.2.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-lxml_3.0.2.bb
> > rename to meta-python/recipes-python/lxml/python-lxml_3.0.2.bb
> > diff --git
> > a/meta-python/recipes-python/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
> > b/meta-python/recipes-python/m2crypto/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
> > similarity index 100%
> > rename from
> > meta-python/recipes-python/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
> > rename to
> > meta-python/recipes-python/m2crypto/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch
> > diff --git a/meta-python/recipes-python/python/python-m2crypto_0.21.1.bb
> > b/meta-python/recipes-python/m2crypto/python-m2crypto_0.21.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-m2crypto_0.21.1.bb
> > rename to meta-python/recipes-python/m2crypto/python-m2crypto_0.21.1.bb
> > diff --git
> > a/meta-python/recipes-python/python/python-matplotlib/fix_setup.patch
> > b/meta-python/recipes-python/matplotlib/python-matplotlib/fix_setup.patch
> > similarity index 100%
> > rename from
> > meta-python/recipes-python/python/python-matplotlib/fix_setup.patch
> > rename to
> > meta-python/recipes-python/matplotlib/python-matplotlib/fix_setup.patch
> > diff --git
> > a/meta-python/recipes-python/python/python-matplotlib/fix_setupext.patch
> > b/meta-python/recipes-python/matplotlib/python-matplotlib/fix_setupext.patch
> > similarity index 100%
> > rename from
> > meta-python/recipes-python/python/python-matplotlib/fix_setupext.patch
> > rename to
> > meta-python/recipes-python/matplotlib/python-matplotlib/fix_setupext.patch
> > diff --git a/meta-python/recipes-python/python/python-matplotlib_1.1.0.bb
> > b/meta-python/recipes-python/matplotlib/python-matplotlib_1.1.0.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-matplotlib_1.1.0.bb
> > rename to meta-python/recipes-python/matplotlib/python-matplotlib_1.1.0.bb
> > diff --git
> > a/meta-python/recipes-python/python/python-numeric/no-lapack.patch
> > b/meta-python/recipes-python/numeric/python-numeric/no-lapack.patch
> > similarity index 100%
> > rename from
> > meta-python/recipes-python/python/python-numeric/no-lapack.patch
> > rename to meta-python/recipes-python/numeric/python-numeric/no-lapack.patch
> > diff --git a/meta-python/recipes-python/python/python-numeric_24.2.bb
> > b/meta-python/recipes-python/numeric/python-numeric_24.2.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-numeric_24.2.bb
> > rename to meta-python/recipes-python/numeric/python-numeric_24.2.bb
> > diff --git a/meta-python/recipes-python/python/python-pexpect_2.3.bb
> > b/meta-python/recipes-python/pexpect/python-pexpect_2.3.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pexpect_2.3.bb
> > rename to meta-python/recipes-python/pexpect/python-pexpect_2.3.bb
> > diff --git a/meta-python/recipes-python/python/python-pip_1.3.1.bb
> > b/meta-python/recipes-python/pip/python-pip_1.3.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pip_1.3.1.bb
> > rename to meta-python/recipes-python/pip/python-pip_1.3.1.bb
> > diff --git a/meta-python/recipes-python/python/python-psutil_0.6.1.bb
> > b/meta-python/recipes-python/psutil/python-psutil_0.6.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-psutil_0.6.1.bb
> > rename to meta-python/recipes-python/psutil/python-psutil_0.6.1.bb
> > diff --git a/meta-python/recipes-python/python/python-pyalsaaudio_0.4.bb
> > b/meta-python/recipes-python/pyalsaaudio/python-pyalsaaudio_0.4.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pyalsaaudio_0.4.bb
> > rename to meta-python/recipes-python/pyalsaaudio/python-pyalsaaudio_0.4.bb
> > diff --git a/meta-python/recipes-python/python/pyrtm_0.2.bb
> > b/meta-python/recipes-python/pyrtm/pyrtm_0.2.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/pyrtm_0.2.bb
> > rename to meta-python/recipes-python/pyrtm/pyrtm_0.2.bb
> > diff --git a/meta-python/recipes-python/python/python-pyserial_2.4.bb
> > b/meta-python/recipes-python/pyserial/python-pyserial_2.4.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pyserial_2.4.bb
> > rename to meta-python/recipes-python/pyserial/python-pyserial_2.4.bb
> > diff --git a/meta-python/recipes-python/python/python-pyudev_0.16.1.bb
> > b/meta-python/recipes-python/pyudev/python-pyudev_0.16.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pyudev_0.16.1.bb
> > rename to meta-python/recipes-python/pyudev/python-pyudev_0.16.1.bb
> > diff --git a/meta-python/recipes-python/python/python-pyusb_1.0.0a2.bb
> > b/meta-python/recipes-python/pyusb/python-pyusb_1.0.0a2.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pyusb_1.0.0a2.bb
> > rename to meta-python/recipes-python/pyusb/python-pyusb_1.0.0a2.bb
> > diff --git a/meta-python/recipes-python/python/python-pyyaml/setup.py
> > b/meta-python/recipes-python/pyyaml/python-pyyaml/setup.py
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pyyaml/setup.py
> > rename to meta-python/recipes-python/pyyaml/python-pyyaml/setup.py
> > diff --git a/meta-python/recipes-python/python/python-pyyaml_3.10.bb
> > b/meta-python/recipes-python/pyyaml/python-pyyaml_3.10.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-pyyaml_3.10.bb
> > rename to meta-python/recipes-python/pyyaml/python-pyyaml_3.10.bb
> > diff --git a/meta-python/recipes-python/python/python-smbus_3.0.3.bb
> > b/meta-python/recipes-python/smbus/python-smbus_3.0.3.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-smbus_3.0.3.bb
> > rename to meta-python/recipes-python/smbus/python-smbus_3.0.3.bb
> > diff --git a/meta-python/recipes-python/python/python-sqlalchemy_0.7.9.bb
> > b/meta-python/recipes-python/sqlalchemy/python-sqlalchemy_0.7.9.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-sqlalchemy_0.7.9.bb
> > rename to meta-python/recipes-python/sqlalchemy/python-sqlalchemy_0.7.9.bb
> > diff --git a/meta-python/recipes-python/python/python-twisted_13.2.0.bb
> > b/meta-python/recipes-python/twisted/python-twisted_13.2.0.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-twisted_13.2.0.bb
> > rename to meta-python/recipes-python/twisted/python-twisted_13.2.0.bb
> > diff --git a/meta-python/recipes-python/python/python-vobject_0.8.1c.bb
> > b/meta-python/recipes-python/vobject/python-vobject_0.8.1c.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-vobject_0.8.1c.bb
> > rename to meta-python/recipes-python/vobject/python-vobject_0.8.1c.bb
> > diff --git a/meta-python/recipes-python/python/python-webdav_0.1.2.bb
> > b/meta-python/recipes-python/webdav/python-webdav_0.1.2.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/python-webdav_0.1.2.bb
> > rename to meta-python/recipes-python/webdav/python-webdav_0.1.2.bb
> > diff --git a/meta-python/recipes-python/python/
> > python-zopeinterface_4.1.1.bb b/meta-python/recipes-python/zopeinterface/
> > python-zopeinterface_4.1.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-python/python/
> > python-zopeinterface_4.1.1.bb
> > rename to meta-python/recipes-python/zopeinterface/
> > python-zopeinterface_4.1.1.bb
> > --
> > 1.9.3
> >
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140730/14c6829f/attachment-0002.sig>


More information about the Openembedded-devel mailing list