diff --git a/.conda/recipe_new.yaml b/.conda/recipe_new.yaml new file mode 100644 index 0000000..0a2c778 --- /dev/null +++ b/.conda/recipe_new.yaml @@ -0,0 +1,23 @@ +package: + name: unilabos + version: "0.10.1" + +source: + path: ../.. + +build: + noarch: python + script: | + {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv +# {{ PYTHON }} clean_build_dir.py + +requirements: + host: + - python + - pip + run: + - python + +test: + imports: + - unilabos diff --git a/recipes/ros-humble-unilabos-msgs/recipe.yaml b/recipes/ros-humble-unilabos-msgs/recipe.yaml index 6d8eb9d..876b98f 100644 --- a/recipes/ros-humble-unilabos-msgs/recipe.yaml +++ b/recipes/ros-humble-unilabos-msgs/recipe.yaml @@ -1,58 +1,46 @@ package: name: ros-humble-unilabos-msgs version: 0.10.1 - source: path: ../../unilabos_msgs - target_directory: ros-humble-unilabos-msgs/src/work + folder: ros-humble-unilabos-msgs/src/work build: script: - - if: win - then: - - call %RECIPE_DIR%/bld_ament_cmake.bat - - if: unix - then: - - bash $RECIPE_DIR/build_ament_cmake.sh + sel(win): bld_ament_cmake.bat + sel(unix): build_ament_cmake.sh number: 5 about: - repository: https://github.com/dptech-corp/Uni-Lab-OS + home: https://www.ros.org/ license: BSD-3-Clause - description: "ros-humble-unilabos-msgs is a package that provides message definitions for Uni-Lab-OS." + summary: | + Robot Operating System + +extra: + recipe-maintainers: + - ros-forge requirements: build: - - ${{ compiler('cxx') }} - - ${{ compiler('c') }} - - if: linux and x86_64 - then: - - sysroot_linux-64 2.17 + - "{{ compiler('cxx') }}" + - "{{ compiler('c') }}" + - sel(linux64): sysroot_linux-64 2.17 - ninja - setuptools - - cython + - sel(unix): make + - sel(unix): coreutils + - sel(osx): tapi + - sel(build_platform != target_platform): pkg-config - cmake - - if: unix - then: - - make - - coreutils - - if: osx - then: - - tapi - - if: win - then: - - vs2022_win-64 - - if: build_platform != target_platform - then: - - pkg-config - - python - - cross-python_${{ target_platform }} - - numpy + - cython + - sel(win): vs2022_win-64 + - sel(build_platform != target_platform): python + - sel(build_platform != target_platform): cross-python_{{ target_platform }} + - sel(build_platform != target_platform): numpy host: - numpy - pip - - if: build_platform == target_platform - then: - - pkg-config + - sel(build_platform == target_platform): pkg-config - robostack-staging::ros-humble-action-msgs - robostack-staging::ros-humble-ament-cmake - robostack-staging::ros-humble-ament-lint-auto @@ -62,14 +50,12 @@ requirements: - robostack-staging::ros-humble-rosidl-default-generators - robostack-staging::ros-humble-std-msgs - robostack-staging::ros-humble-geometry-msgs - - robostack-staging::ros2-distro-mutex=0.6 + - robostack-staging::ros2-distro-mutex=0.6.* run: - robostack-staging::ros-humble-action-msgs - robostack-staging::ros-humble-ros-workspace - robostack-staging::ros-humble-rosidl-default-runtime - robostack-staging::ros-humble-std-msgs - robostack-staging::ros-humble-geometry-msgs - - robostack-staging::ros2-distro-mutex=0.6 - - if: osx and x86_64 - then: - - __osx >= {{ MACOSX_DEPLOYMENT_TARGET|default('10.14') }} \ No newline at end of file + - robostack-staging::ros2-distro-mutex=0.6.* + - sel(osx and x86_64): __osx >={{ MACOSX_DEPLOYMENT_TARGET|default('10.14') }}