Skip to content

Commit 8b2a925

Browse files
authored
Merge pull request #187 from wxmerkt/wxm-prepare-for-focal
package.xml: Prepare for Ubuntu 20.04 / Python3
2 parents c746b9f + 5a2aecb commit 8b2a925

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<package format="2">
2+
<package format="3">
33
<name>eigenpy</name>
44
<version>2.3.1</version>
55
<description>Bindings between Numpy and Eigen using Boost.Python</description>
@@ -13,8 +13,10 @@
1313

1414
<build_depend>git</build_depend>
1515
<build_depend>doxygen</build_depend>
16-
<depend>python</depend>
17-
<depend>python-numpy</depend>
16+
<depend condition="$ROS_PYTHON_VERSION == 2">python</depend>
17+
<depend condition="$ROS_PYTHON_VERSION == 3">python3</depend>
18+
<depend condition="$ROS_PYTHON_VERSION == 2">python-numpy</depend>
19+
<depend condition="$ROS_PYTHON_VERSION == 3">python3-numpy</depend>
1820
<depend>eigen</depend>
1921
<depend>boost</depend>
2022

0 commit comments

Comments
 (0)