Commit Graph

101 Commits

Author SHA1 Message Date
Martin Jansa 1f61a96fa6 python-pyproj: upgrade to 1.9.6 and use pypi.bbclass
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see https://github.com/pyproj4/pyproj/issues/138
  https://github.com/pyproj4/pyproj/issues/136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-03 19:52:51 +00:00
Martin Jansa 9ec19e7602 python-wstool: fix unpackaged files
* fixes:
  ERROR: python-wstool-0.1.13-r0 do_package: QA Issue: python-wstool: Files/directories were installed but not shipped in any package:
    /usr/share
    /usr/share/zsh
    /usr/share/zsh/site-functions
    /usr/share/zsh/site-functions/_wstool
    /usr/share/zsh/site-functions/wstool-completion.bash
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  python-wstool: 5 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-03 18:00:03 +00:00
Johannes Schrimpf 615016f462 python-bson: Remove recipe
bson is provided by python-pymongo in meta-python
2019-07-02 11:51:51 +00:00
Martin Jansa c1d9ef998b python-pyyaml: drop and use the recipe from meta-python
* 3.11 version is in meta-python since morty
  http://git.openembedded.org/meta-openembedded/commit/?id=4100a96a5a98987910f17b317488bb2a86d50514
* the meta-ros version was missing dependency on libyaml and python-cython-native which
  was in meta-oe version for very long time since denzil
  http://git.openembedded.org/meta-openembedded/commit/?id=89500c583e0f1dc1b4ffdf72914e08e505e427e0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-08-24 19:47:43 +00:00
Martin Jansa 1b08af3ea7 yaml-cpp: add PN-gtest package
* fixes:
-dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgmock_main.so'
-dev package contains non-symlink .so: yaml-cpp-dev path
'/work/aarch64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgmock.so'
[dev-elf]
-dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgtest_main.so'
-dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgtest.so' [dev-elf]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-08-24 19:47:43 +00:00
Lukas Bulwahn 27e95fdd35 python-pycrypto: drop recipe fully included in meta-python 2018-07-11 20:44:21 +02:00
Lukas Bulwahn a002ad4f84 provide python3 versions of recently added recipes 2018-07-11 20:44:21 +02:00
Lukas Bulwahn ec0e512072 python-pbr: update to 3.1.1 from meta-python layer 2018-07-11 20:44:21 +02:00
Lukas Bulwahn 1f1ecbc360 python-ecdsa: use meta-openstack's recipe 2018-07-11 20:44:21 +02:00
ybourrig 14ee7fb7cc Support remote node execution
Roslaunch needs paramiko to launch remote nodes

[backport to master from cae316ec7a]
[manually resolved conflict in roslaunch]

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-07-11 20:44:21 +02:00
johannesschrimpf e7fbbd4a06 python-defusedxml: Update to version 0.5.0, use pypi, add python3 recipe (#12)
python-defusedxml: update to version 0.5.0, use pypi, add python3 recipe
2018-07-11 20:44:21 +02:00
Johannes Schrimpf 24dab93318 python-defusedxml: Added recipe for python3 2018-07-11 20:44:21 +02:00
Mike Thompson 8901a60ba6 Added python-defusedxml recipe to fix runtime dependency. 2018-07-11 20:44:21 +02:00
Johannes Schrimpf cbeba5e16a python-pyproj: add recipes required for geographic-info
[rephrased commit message]
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-06-18 05:33:37 +02:00
Lukas Bulwahn d17b8e1e05 yaml-cpp: update to 0.6.2 due to boost issue 2018-05-14 21:38:53 +02:00
Dominique Hunziker cd5934f6cc add patch for cmake recipe
By default the toolchain file for the SDK is placed in nativesdk-cmake-dev;
however, the installed environment hook (which depends on the toolchain
file) is placed in nativesdk-cmake. Therefore, this patch overwrites
the default filter from cmake.bbclass such that all files are located in
nativesdk-cmake.
2018-05-05 21:44:10 +02:00
Dominique Hunziker 9f6f30d174 catkin: add support for SDK 2018-04-13 15:56:35 +02:00
Dominique Hunziker 78015372a5 python-catkin-pkg: add missing run dependency on python-unixadmin
catkin_create_pkg depends on getpass which is part of python-unixadmin.
2018-04-13 15:56:35 +02:00
Lukas Bulwahn 6ddc0cc518 python3: make python point to python3 (resolves #570)
This commit is just a copy of the patch that Dmitry Rozhkov
submitted to openembedded-core, but it was rejected there [1].

If only python3 is installed on an image nothing provides
/usr/bin/python even though many scripts compatible with
both python2 and python3 just state `#!/usr/bin/env python`
in their shebang line.

Make python and python3 recipes provide alternatives for
/usr/bin/python and /usr/bin/python-config. By default
python2 has higher priority over python3.

In meta-ros, we need this behaviour for ROS_USE_PYTHON3 = "yes"
because ROS packages are always written to be python2 and python3
compatible.

[1] https://patchwork.openembedded.org/patch/139143/

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-02-22 06:29:36 +01:00
Lukas Bulwahn 58a843f99f use pypi class for python recipes (resolves #566) 2017-12-11 13:32:17 +01:00
Lukas Bulwahn c747482afa clean up to prepare merging content from #519
This commit includes:

  - use `DEPENDS =` instead of `DEPENDS +=`.
  - put single-line configurations into a single line
  - move DEPENDS to right location in recipe files
  - remove superfluous ROS_SPN declarations

The clean up was motivated by the commits for
object-recognition-msgs and hector-mapping in #519.

Issues were identified with `grep "DEPENDS +=" . -R` and by looking
at the output of oe-stylize.py with this bash script:

```

for RECIPE in $(find . -name *.bb)
do
        echo "Processing: $RECIPE"
        ~/work/repositories/openembedded.org/meta-openembedded/contrib/oe-stylize.py $RECIPE > $RECIPE-oestylize
        diff $RECIPE $RECIPE-oestylize
done
```

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-11-25 13:55:56 +01:00
Dmitry Rozhkov dfeb9aa136 yaml-cpp: tie recipe to git revision instead of dynamicly generated tarball
Since Github's auto-generated tarballs aren't garanteed to be identical
over time it's better to tie the recipe to a git revision.

closes #552

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-09-20 08:57:04 +03:00
Sebastien Gemme afb31faf99 log4cxx doesn't support http, only https, therefore, the recipe failed
Signed-off-by: Sebastien Gemme <sebastien.gemme@canada.ca>
2017-05-25 13:40:41 -04:00
Lukas Bulwahn fb00393ba7 python-future: recipe for version 0.16.0 with python2/python3 support 2017-05-07 08:00:21 +02:00
Lukas Bulwahn 290766c504 log4cxx: fetch with git instead of svn
Recently, the log4cxx development version is not only provided
through a svn repository, but also provided through a git
repository.

In the past, various meta-ros users reported some issues
(#413, #470, #483) when fetching log4cxx from the svn repository,
probably due to the non-standard handling of http/https proxy in
the svn client.

I expect that fetching from git causes less issues than from svn.
So, the log4cxx recipe now makes bitbake fetch the sources from the
git repository instead of the svn repository. Furthermore, this
commit updates the source revision to the currently latest commit.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-04-22 09:16:54 +02:00
Dmitry Rozhkov 88ec37531a resource-retriever: backport python3 compatibility patch
The added patch makes resource-retriever compatible with python3.

Also drop python-urlgrabber which resource-retriever used to
depend on.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-10 09:58:53 +03:00
Dmitry Rozhkov b4c015b4ea python-rospkg: add python3 flavour of the package
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-07 14:30:31 +03:00
Dmitry Rozhkov 6b79f13bec python-rosdistro: add python3 flavour of the package
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-07 14:30:01 +03:00
Dmitry Rozhkov dc34b1230b python-rosdep: add python3 flavour of the package
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-07 14:28:42 +03:00
Dmitry Rozhkov 98ee4cec35 python-netifaces: add python3 flavour of the package
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-07 14:27:06 +03:00
Dmitry Rozhkov 6d7593926e python-empy: add python3 flavour of the package
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-07 14:26:21 +03:00
Dmitry Rozhkov 99e240eec1 python-catkin-pkg: add python3 flavour of the package
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-07 14:25:41 +03:00
Dmitry Rozhkov 54f47c085b python-rosdep: remove pre-build dependency on nose
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-22 16:40:33 +02:00
Dmitry Rozhkov bb78f8f46d python-rosdep: Add run-time dependency on python-rosdistro
python-rosdep still depends on python-rosdistro in ROS Indigo.

This dependency needs to be dropped after updating the meta
layer to Kinetic.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-10-31 09:37:23 +02:00
Dmitry Rozhkov d377521c6f python-rosdistro: add missing lib rosdep2 depends on
roswtf reports uninitialized /etc/ros structure and recommends
to fix the issue by running `rosdep init`. But rosdep throws an
exception when trying to import the missing rosdistro library.

The library is supposed to be dropped in kinetic, but it's still
needed in indigo which the layer is based on at the moment.
So, the patch adds the library to the layer.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-10-31 09:35:21 +02:00
Lukas Bulwahn be1b987b0c python-imaging: removing recipe maintained in meta-python
On 2016-06-08, the commit 000095f3 [1, 2] added the python-imaging
recipe that was dropped in OpenEmbedded Core in commit b03ebfaee [3]
on 2016-06-02.

Coincidentally, python-imaging was also added in meta-python
on 2016-06-08 [4], and it has been further maintained in that layer [5].

Instead of continuing to maintain the recipe in meta-ros, we decide to
rely on the recipe provided in meta-python, and hence, remove the
recipe in meta-ros.

[1] 000095f3f4
[2] https://github.com/bmwcarit/meta-ros/issues/393
[3] http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-devtools/python?id=b03ebfaee278eb98b4bd0e11a682ac0cda192086
[4] http://cgit.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-imaging_1.1.7.bb?id=56a4d21706e0219bbe488c2bd1450247f4f89d0d
[5] http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python-imaging_1.1.7.bb

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-10-12 08:56:09 +02:00
Lukas Bulwahn 0d6e694e76 python-wstool: updating to 0.1.13 2016-09-16 16:29:13 +02:00
Lukas Bulwahn 38c60d5e8e python-vcstools: updating to 0.1.39 2016-09-16 16:29:13 +02:00
Lukas Bulwahn c49242efce python-rospkg: updating to 1.0.40 2016-09-16 16:29:13 +02:00
Lukas Bulwahn 6ad31b2503 python-rosinstall: updating to 0.7.8 2016-09-16 16:29:12 +02:00
Lukas Bulwahn 5032a5b8e0 python-rosdep: updating to 0.11.5 2016-09-16 16:29:12 +02:00
Lukas Bulwahn f69ca25be8 python-catkin-pkg: updating to 0.2.10 2016-09-16 16:29:12 +02:00
Lukas Bulwahn 301ffdcbaf python-six: remove recipe already provided by others
The Openembedded Layer Index [1] shows that python-six in
version 1.10.0 is already provided in the openembedded-core layer
and in the meta-python layer, so there is no need for a third copy
of the python-six recipe in meta-ros.

The recipe python-six is provided since commit a36869c7 in the
meta-openembedded repository (commit date: 2015-04-13), and
is provided since commit 9979e35f in the openembedded-core
repository (commit date: 2016-07-20).

In my opinion, at least the commit a36869c7 is far enough in the
past, so that we can safely assume that all new meta-ros use a setup
where python-six is included at least in meta-python.

For users of older versions, we include a remark in the README.md to
allow `git blame` to pinpoint to this commit here.

[1] https://layers.openembedded.org/layerindex/branch/master/recipes/?q=python-six
[2] http://cgit.openembedded.org/meta-openembedded/commit/?id=a36869c700bed940f7f0aa4b9703ae630dc84eac
[3] http://cgit.openembedded.org/openembedded-core/commit/?id=9979e35ffb0dfb20d8aaffa8e2ec5e33f27fc009

Signed-off-by: Lukas.Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-09-16 16:29:12 +02:00
Lukas Bulwahn 3f800c9527 removing python-pytz dependency and recipe
The recent versions of the rosbridge_library package does not depend
on python-pytz anymore. So, this commit removes the dependency in
the recipe file and removes the now unneeded python-pytz recipe.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-09-16 16:29:12 +02:00
Lukas Bulwahn 81d1060539 python-netifaces: updating to 0.10.5 2016-09-16 16:29:12 +02:00
Lukas Bulwahn ba0fd812c7 python-bson: updating to 0.4.3 and improving license info 2016-09-16 16:29:00 +02:00
Lukas Bulwahn 032fcccd75 yaml-cpp: updating to 0.5.3 2016-09-13 11:18:34 +02:00
Lukas Bulwahn 000095f3f4 python-imaging: add recipe that was dropped in oe-core
This commit resolves issue #393.
2016-06-08 08:52:04 +02:00
Lukas Bulwahn b4baa4a896 log4cxx: update to current svn version (resolves #390)
The svn version of log4cxx does not require the previous patches
and hence, they are dropped.
2016-06-02 15:01:45 +02:00
Jose Pardeiro 22a199844c python-rospkg: updating to 1.0.38 2016-01-13 18:21:59 +01:00