Skip to content

Commit cbe7963

Browse files
committed
fix build
1 parent 280d83d commit cbe7963

File tree

2 files changed

+49
-40
lines changed

2 files changed

+49
-40
lines changed

.conda/recipe_new.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package:
2+
name: unilabos
3+
version: "0.10.1"
4+
5+
source:
6+
path: ../..
7+
8+
build:
9+
noarch: python
10+
script: |
11+
{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
12+
# {{ PYTHON }} clean_build_dir.py
13+
14+
requirements:
15+
host:
16+
- python
17+
- pip
18+
run:
19+
- python
20+
21+
test:
22+
imports:
23+
- unilabos
Lines changed: 26 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,46 @@
11
package:
22
name: ros-humble-unilabos-msgs
33
version: 0.10.1
4-
54
source:
65
path: ../../unilabos_msgs
7-
target_directory: ros-humble-unilabos-msgs/src/work
6+
folder: ros-humble-unilabos-msgs/src/work
87

98
build:
109
script:
11-
- if: win
12-
then:
13-
- call %RECIPE_DIR%/bld_ament_cmake.bat
14-
- if: unix
15-
then:
16-
- bash $RECIPE_DIR/build_ament_cmake.sh
10+
sel(win): bld_ament_cmake.bat
11+
sel(unix): build_ament_cmake.sh
1712
number: 5
1813
about:
19-
repository: https://github.com/dptech-corp/Uni-Lab-OS
14+
home: https://www.ros.org/
2015
license: BSD-3-Clause
21-
description: "ros-humble-unilabos-msgs is a package that provides message definitions for Uni-Lab-OS."
16+
summary: |
17+
Robot Operating System
18+
19+
extra:
20+
recipe-maintainers:
21+
- ros-forge
2222

2323
requirements:
2424
build:
25-
- ${{ compiler('cxx') }}
26-
- ${{ compiler('c') }}
27-
- if: linux and x86_64
28-
then:
29-
- sysroot_linux-64 2.17
25+
- "{{ compiler('cxx') }}"
26+
- "{{ compiler('c') }}"
27+
- sel(linux64): sysroot_linux-64 2.17
3028
- ninja
3129
- setuptools
32-
- cython
30+
- sel(unix): make
31+
- sel(unix): coreutils
32+
- sel(osx): tapi
33+
- sel(build_platform != target_platform): pkg-config
3334
- cmake
34-
- if: unix
35-
then:
36-
- make
37-
- coreutils
38-
- if: osx
39-
then:
40-
- tapi
41-
- if: win
42-
then:
43-
- vs2022_win-64
44-
- if: build_platform != target_platform
45-
then:
46-
- pkg-config
47-
- python
48-
- cross-python_${{ target_platform }}
49-
- numpy
35+
- cython
36+
- sel(win): vs2022_win-64
37+
- sel(build_platform != target_platform): python
38+
- sel(build_platform != target_platform): cross-python_{{ target_platform }}
39+
- sel(build_platform != target_platform): numpy
5040
host:
5141
- numpy
5242
- pip
53-
- if: build_platform == target_platform
54-
then:
55-
- pkg-config
43+
- sel(build_platform == target_platform): pkg-config
5644
- robostack-staging::ros-humble-action-msgs
5745
- robostack-staging::ros-humble-ament-cmake
5846
- robostack-staging::ros-humble-ament-lint-auto
@@ -62,14 +50,12 @@ requirements:
6250
- robostack-staging::ros-humble-rosidl-default-generators
6351
- robostack-staging::ros-humble-std-msgs
6452
- robostack-staging::ros-humble-geometry-msgs
65-
- robostack-staging::ros2-distro-mutex=0.6
53+
- robostack-staging::ros2-distro-mutex=0.6.*
6654
run:
6755
- robostack-staging::ros-humble-action-msgs
6856
- robostack-staging::ros-humble-ros-workspace
6957
- robostack-staging::ros-humble-rosidl-default-runtime
7058
- robostack-staging::ros-humble-std-msgs
7159
- robostack-staging::ros-humble-geometry-msgs
72-
- robostack-staging::ros2-distro-mutex=0.6
73-
- if: osx and x86_64
74-
then:
75-
- __osx >= {{ MACOSX_DEPLOYMENT_TARGET|default('10.14') }}
60+
- robostack-staging::ros2-distro-mutex=0.6.*
61+
- sel(osx and x86_64): __osx >={{ MACOSX_DEPLOYMENT_TARGET|default('10.14') }}

0 commit comments

Comments
 (0)