All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Packaging problem
Date: Tue, 28 Oct 2014 08:03:38 -0600	[thread overview]
Message-ID: <544FA23A.6050502@mlbassoc.com> (raw)

I'm trying to split out some tests from a packages by adding these lines the recipe:
   PACKAGES += " ${PN}-tests"
   FILES_${PN}-tests = "${libdir}/python*/site-packages/matplotlib/test*"
   RDEPENDS_${PN}-tests += " python-nose"

This expands (via -e) to:
   # $FILES_python-matplotlib-tests
   #   rename from FILES_${PN}-tests data.py:170 [expandKeys]
   #     "${libdir}/python*/site-packages/matplotlib/test*"
   FILES_python-matplotlib-tests="/usr/lib/python*/site-packages/matplotlib/test*"

When I look at the installed image, I see this:
   # ls /usr/lib/python*/site-packages/matplotlib/test*
   /usr/lib/python2.7/site-packages/matplotlib/testing:
   __init__.py   compare.pyc     image_util.py   noseclasses.py
   __init__.pyc  decorators.py   image_util.pyc  noseclasses.pyc
   compare.py    decorators.pyc  jpl_units

   /usr/lib/python2.7/site-packages/matplotlib/tests:
   __init__.py                test_colorbar.py         test_png.py
   __init__.pyc               test_colorbar.pyc        test_png.pyc
   baseline_images            test_colors.py           test_quiver.py
            ...

It all looks correct to me, but the -tests package is empty.

I'm sure I'm making some silly/rookie mistake.  Any pointers?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


             reply	other threads:[~2014-10-28 14:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28 14:03 Gary Thomas [this message]
2014-10-28 14:15 ` Packaging problem Anders Darander
2014-10-28 14:30   ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2007-07-18  6:54 Rob Kramer
2007-07-19 15:28 ` Rob Kramer
2007-07-19 17:22   ` Paul Sokolovsky
2007-10-09  0:37 ` Hasjim Williams

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=544FA23A.6050502@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.