Commit Graph

126 Commits

Author SHA1 Message Date
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
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
Lukas Bulwahn fb00393ba7 python-future: recipe for version 0.16.0 with python2/python3 support 2017-05-07 08:00:21 +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 000095f3f4 python-imaging: add recipe that was dropped in oe-core
This commit resolves issue #393.
2016-06-08 08:52:04 +02:00
Jose Pardeiro 22a199844c python-rospkg: updating to 1.0.38 2016-01-13 18:21:59 +01:00
Christoph Schultz 0f9dd1edbb include contributions from pull request #364 properly
This commit adds recipes for rosbridge_suite and its dependencies.
Its main content is based on the commits of pull request #364 by
Christoph Schultz.

As maintainer, Lukas Bulwahn just included the contributions
with a proper commit message, added the new packages to the
packagegroup-ros-world, and slightly improved the line breaking.
2016-01-07 10:22:08 +01:00
Lukas Bulwahn d05b5e5f99 python-numpy: drop now superfluous bbappend file
In the meta-ros commit b6080314 (commit date: 2013-11-17) [1], we
add python-numpy_1.7.0.bbappend to provide python-numpy as native
package, as the version update to cv-bridge 1.10.14 needs that.

Coincidentally, Ross Burton added native support to the
python-numpy recipe in the meta-openembedded commit c13c5f40
(commit date: 2013-11-18) [2]. However, the existing bbappend in
meta-ros was still required for use with releases before commit
c13c5f40.

On 2014-01-14, the python-numpy recipe was moved from meta-oe to
openembedded-core (commit a4415f89 and 9bf355cc [3, 4]).
Now, on 2015-12-16, the python-numpy recipe was updated to 1.10.1
(commit 3c3932f3 [5]), and hence, our version-specific bbappend
file fails to apply.

As the native package addition is now in the recipe for over two
years (commit date: 2013-11-18), and we assume all users to work on
versions where the change has been included, we simply drop our now
superfluous bbappend file.

[1] b608031450
[2] http://cgit.openembedded.org/meta-openembedded/commit/?id=c13c5f40160d289bb62538a16900fed30621cb22
[3] http://cgit.openembedded.org/meta-openembedded/commit/?id=a4415f89e533a59ba358f8575d56216d3650e59e
[4] http://cgit.openembedded.org/openembedded-core/commit/?id=9bf355cceaec6ebacdcbcc35f9713ff73e1c85da
[5] http://cgit.openembedded.org/openembedded-core/commit/?id=3c3932f3560c898e32287c8733b61180685ee539

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2015-12-17 09:36:36 +01:00
Lukas Bulwahn a0cbd6ec02 separate resource-retriever and update robot-model
The resource_retriever package's source was moved into
its own repository, and needs now python-urlgrabber.
Hence, this commit provides the recipe for python-urlgrabber, moves
the resource-retriever to its own location, and updates all other
packages in the robot_model repository.
2015-06-13 16:02:52 +02:00
Lukas Bulwahn 03368bf187 python-nose: drop obsolete bbappend
Due to the recent commit 6eddc9e2@openembedded-core [1], which
updated python-nose from 1.2.1 to 1.3.6, the bbappend for
python-nose 1.2.1 leads to an error during parsing. Instead of
making the bbappend version-independent, this commit simply drops
the bbappend file, as python-nose is provided as native package
already since 78711c88@openembedded-core [2] (since January 2014).

[1] 6eddc9e222
[2] 78711c8875

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2015-06-08 18:38:24 +02:00
Lukas Bulwahn c31be9bd37 python-rosdep: adding new dependency due to update
When compiling python-rosdep before python-nose has been built,
'bitbake python-rosdep' fails with:

| distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('nose>=1.0')
| ERROR: python setup.py build_ext execution failed.
| WARNING: /[...]/build/tmp-glibc/work/i586-oe-linux/python-rosdep/0.11.0-r0/temp/run.do_compile.14813:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /[...]/build/tmp-glibc/work/i586-oe-linux/python-rosdep/0.11.0-r0/temp/log.do_compile.14813)
ERROR: Task 6 (/[...]/meta-ros/recipes-devtools/python/python-rosdep_0.11.0.bb, do_compile) failed with exit code '1'

In a recent commit in the rosdep repository [1], the dependency for
the rosdep setup on python's nose package is added. Hence, we must
also add this dependency in the rosdep recipe, which then resolves
the reported failure.

[1] fc8b56be07

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2015-03-30 17:36:12 +02:00
Lukas Bulwahn 3727c70ccf python: making bbappend files version independent
In the recent commit d4ad95f0 [1], the OpenEmbedded-Core repository
updated python from version 2.7.3 to 2.7.9. To make meta-ros
compatible to the latest commits, the bbappend files are renamed to
be version independent.

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=d4ad95f0d5f08891637c644e85b09da9c4585059

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2015-03-30 09:26:14 +02:00
Lukas Bulwahn 6532fab678 python-wstool: updating to 0.1.5 2015-01-21 09:23:18 +01:00
Lukas Bulwahn 8137f62532 python-vcstools: updating to 0.1.36 2015-01-21 09:23:18 +01:00
Lukas Bulwahn 2722544c3f python-rospkg: updating to 1.0.33 2015-01-21 09:23:18 +01:00
Lukas Bulwahn 252eea1003 python-rosinstall: updating to 0.7.4 2015-01-21 09:23:17 +01:00
Lukas Bulwahn f23aabbdb2 python-rosdep: updating to 0.11.0 2015-01-21 09:23:17 +01:00
Lukas Bulwahn 458bbd2d7d python-pyyaml: updating to 3.11 2015-01-21 09:23:17 +01:00
Lukas Bulwahn 3f078157f3 python-netifaces: updating to 0.10.4 2015-01-21 09:23:17 +01:00
Lukas Bulwahn 272e8655c0 python-empy: updating to 3.3.2 2015-01-21 09:23:17 +01:00
Lukas Bulwahn 8f006d5c36 python-catkin-pkg: updating to 0.2.6 2015-01-21 09:23:17 +01:00
Lukas Bulwahn b2d1106a74 python-empy: using archive with proper version (resolves #222) 2014-02-24 06:58:36 +01:00
Lukas Bulwahn b608031450 python-numpy: provide native package for cv-bridge 1.10.14 2013-11-26 07:30:33 +01:00
Lukas Bulwahn a51044ef7b cleaning up recipes-devtools/python recipes 2013-08-05 08:09:48 +02:00
Lukas Bulwahn bf9664c62b rospack: improving runtime dependencies (resolves #116)
This commit includes further changes to build rospack-native.
2013-08-04 09:33:46 +02:00
Lukas Bulwahn b536013afe python-netifaces: initial recipe 2013-08-02 09:31:25 +02:00
Lukas Bulwahn cfdcdfd649 python-nose: replacing duplicate recipe that is in meta-oe by a bbappend file to have a native recipe (resolves #66) 2013-07-22 15:45:51 +02:00
Lukas Bulwahn 0e0fc08eaf adjusting dependencies of native recipes
To compile nodelet-topic-tools, we must provide a working
dynamic-reconfigure in the native sysroot. This requires
some adjustments to the native versions of the required
python modules.

In particular, the following tasks ran successfully for this
commit:

This command tests compiling rospack-native:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake rospack-native

This command tests compiling roslib-native:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake roslib-native

As nodelet-topic-tools uses rospack-native and roslib-native to
some extent (dependency: rospack-native -> roslib-native ->
dynamic-reconfigure-native -> nodelet-topic-tools), this command
tests running rospack-native and roslib-native:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake nodelet-topic-tools

This command tests compiling rospack and roslib:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake rospack
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake roslib

All these command run with this commit without errors, and
future commits to these files should keep them run without
errors or justify modifications with better tests.

A minor open issue related to rospack is issue #116
(cf. https://github.com/bmwcarit/meta-ros/issues/116).

This commit incorporates feedback from Stefan Herbrechtsmeier.
2013-07-22 09:08:59 +02:00
Lukas Bulwahn 22f912996b python-native: extending RPROVIDES for python-rospkg-native
The python-rospkg-native rdepends on python-xml-native, and
python-native provides this without any further ado.
2013-07-05 10:55:56 +02:00
Lukas Bulwahn e20f3c13d0 python-rospkg: more precise run-time dependencies 2013-07-05 10:55:56 +02:00
vmayoral 58be12e446 python-catkin-pkg: updated from 0.1.8 to 0.1.16 (see #99)
The current catkin requires catkin_pkg >= 0.1.12 as indicated in
https://github.com/ros/catkin/blob/groovy-devel/package.xml.
See discussion in #99.

lb: minor tweaking and commit message rewording

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2013-07-01 11:10:22 +02:00
Lukas Bulwahn 5faffc409c python-dateutil: recipe exists in meta-oe (resolves #65) 2013-04-30 13:52:40 +02:00
Lukas Bulwahn 2e6e83c837 adding runtime dependency of python-pyyaml 2013-04-10 07:11:27 +02:00
Lukas Bulwahn 3714773e03 rosinstall: Adding a necessary runtime dependency
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2013-03-04 09:06:54 +01:00
Lukas Bulwahn 1cbb38134c python-nose: correcting license string
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2013-03-04 08:40:41 +01:00
Lukas Bulwahn b403339648 removing RDEPENDS in python-empy experimentally after using BBCLASSEXTEND = native 2013-02-08 14:18:13 +01:00
Lukas Bulwahn 9dda5d0beb using BBCLASSEXTEND = "native" and removing the separate native package files (thanks to Stefan Herbrechtsmeier for this hint) 2013-02-08 13:46:10 +01:00
Lukas Bulwahn 803e547336 refined license declaration in python-empy (issue #1) 2013-01-31 09:02:02 +01:00
Lukas Bulwahn 8aa27d432d adding catkin-pkg for sysroot environment (native package) 2013-01-09 08:09:43 +01:00
Lukas Bulwahn 0073f55a90 ros-groovy requires python with ipv6 support 2013-01-08 07:53:53 +01:00
Lukas Bulwahn 20621aa6db improving dependencies in the python recipes; simplifying core-image-ros after dependencies are improved 2013-01-03 14:01:06 +01:00
Lukas Bulwahn 538ab4af33 recipes for prequisites for a native ros-groovy installation 2013-01-03 13:41:51 +01:00
Lukas Bulwahn a963dfa04e the new recipe python-dateutil is required for rosinstall 2012-12-21 11:58:48 +01:00
Lukas Bulwahn 8c0cef057c tried to add python-vcstools via dependency in python-rosinstall but it does not do and then added it the core-image instead; tuned layout and order in core-image 2012-12-21 11:29:06 +01:00
Lukas Bulwahn 1a7b85e910 adding the recipe python-vcstools, as now that the python recipes do not use setuptools to get all the dependencies write we need further recipes 2012-12-21 11:27:19 +01:00
Lukas Bulwahn 28076e77db adding the setuptools class from openembedded classic; adjusting the packages; adding legal statement 2012-12-21 10:32:44 +01:00
Lukas Bulwahn a02d2aa527 moved all files from meta to root directory 2012-12-20 14:23:13 +01:00