From a4def4ef7d4224ff3cafab25a979b5fd5d9e7f0b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 20 Sep 2026 11:43:48 +0000 Subject: automatic import of ros-humble-scenario-execution-py-trees-ros --- .gitignore | 1 + scenario-execution-py-trees-ros.spec | 58 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+) create mode 100644 scenario-execution-py-trees-ros.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5d89773 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/scenario-execution-py-trees-ros-1.2.0.tar.gz diff --git a/scenario-execution-py-trees-ros.spec b/scenario-execution-py-trees-ros.spec new file mode 100644 index 0000000..7ae3e05 --- /dev/null +++ b/scenario-execution-py-trees-ros.spec @@ -0,0 +1,58 @@ +%define ros_distro humble +%define RosPkgName scenario-execution-py-trees-ros +%define src_version 1.2.0 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 1.2.0 +Release: 1%{?dist} +Summary: Fixes in py-trees-ros not yet released +License: BSD-3-Clause +URL: https://github.com/IntelLabs/scenario_execution.git +Source0: %{RosPkgName}-%{src_version}.tar.gz + +%global debug_package %{nil} +%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') +%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$ +%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$ + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-py-trees-ros + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Fixes in py-trees-ros not yet released, packaged as part of the +scenario-execution framework. + +%prep +%autosetup -n %{RosPkgName}-%{src_version} + +%build +[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} +cd dependencies/scenario_execution_py_trees_ros +%{__python3} setup.py build + +%install +[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} +cd dependencies/scenario_execution_py_trees_ros +%{__python3} setup.py install --skip-build --root %{buildroot} \ + --prefix /opt/ros/%{ros_distro} \ + --install-lib /opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages \ + --single-version-externally-managed --record installed.txt + +%files +/opt/ros/%{ros_distro} + +%changelog +* Sun Sep 20 2026 ai-importer - 1.2.0-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..5c4cb5e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +bace15d1d412b6ece8f8a429bb15d34f scenario-execution-py-trees-ros-1.2.0.tar.gz -- cgit v1.2.3