From 338a0f1d2007ad26adcf969f58564ea2f82c515d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 15 Sep 2026 11:09:39 +0000 Subject: automatic import of ros-humble-eventdispatch-python --- .gitignore | 1 + eventdispatch-python.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 eventdispatch-python.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..62f6410 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/eventdispatch-python-0.2.29-1.tar.gz diff --git a/eventdispatch-python.spec b/eventdispatch-python.spec new file mode 100644 index 0000000..3991782 --- /dev/null +++ b/eventdispatch-python.spec @@ -0,0 +1,56 @@ +%define ros_distro humble +%define RosPkgName eventdispatch-python +%define src_version 0.2.29-1 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 0.2.29 +Release: 1%{?dist} +Summary: python-eventdispatch for ROS2 distribution +License: Apache 2.0 +URL: https://github.com/cyan-at/ros2_eventdispatch +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 +BuildRequires: python3-pip + +Requires: ros-%{ros_distro}-ros-workspace + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +python-eventdispatch for ROS2 distribution + +%prep +%autosetup -n %{RosPkgName}-%{src_version} + +%build +source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || 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 eventdispatch_python +%{__python3} setup.py build + +%install +source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || 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 eventdispatch_python +%{__python3} -m pip install --no-build-isolation --no-deps \ + --prefix /opt/ros/%{ros_distro} \ + --root %{buildroot} \ + . + +%files +/opt/ros/%{ros_distro} + +%changelog +* Mon Sep 15 2026 ai-importer - 0.2.29-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..49872c4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +1e02cfe770309a2c85a8bc107c97d1ae eventdispatch-python-0.2.29-1.tar.gz -- cgit v1.2.3