diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-04-13 11:04:48 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-04-13 11:04:48 +0000 |
| commit | 483f8d4c915f7ef04a58bb5efa5ef6eee632d443 (patch) | |
| tree | f0ee7e4d29a6f4efc3c26098d67041d3c3ef7d42 | |
| parent | 38ab14aa09dc8d794ecc1084c0e4cc827f1a8b84 (diff) | |
automatic import of moveit-configs-utils
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | moveit-configs-utils.spec | 78 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/moveit-configs-utils-2.5.9.tar.gz diff --git a/moveit-configs-utils.spec b/moveit-configs-utils.spec new file mode 100644 index 0000000..20f5d82 --- /dev/null +++ b/moveit-configs-utils.spec @@ -0,0 +1,78 @@ +%bcond_without tests +%bcond_without weak_deps + +%define ros_distro humble + +%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}/.*$ + +%define RosPkgName moveit-configs-utils + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 2.5.9 +Release: 1%{?dist}%{?release_suffix} +Summary: Python library for loading moveit config parameters in launch files + +License: BSD-3-Clause +Source0: %{RosPkgName}-%{version}.tar.gz + +Requires: ros-%{ros_distro}-ament-index-python +Requires: ros-%{ros_distro}-launch-param-builder +Requires: ros-%{ros_distro}-launch +Requires: ros-%{ros_distro}-launch-ros +Requires: ros-%{ros_distro}-srdfdom +Requires: ros-%{ros_distro}-ros-workspace + +BuildRequires: ros-%{ros_distro}-ros-workspace + +%if 0%{?with_tests} +%endif + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Python library for loading moveit config parameters in launch files + +%prep +%autosetup -c -n moveit-configs-utils-2.5.9 + +%build + +# In case we're installing to a non-standard location, look for a setup.sh +# in the install tree and source it. It will set things like +# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. +if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi +cd %{RosPkgName}-%{version} +%py3_build + +%install +# In case we're installing to a non-standard location, look for a setup.sh +# in the install tree and source it. It will set things like +# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. +if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi +cd %{RosPkgName}-%{version} +%py3_install -- --prefix "/opt/ros/%{ros_distro}" + +%if 0%{?with_tests} +%check +# Look for a directory with a name indicating that it contains tests +TEST_TARGET=$(ls -d * | grep -m1 "\(test\|tests\)" ||:) +if [ -n "$TEST_TARGET" ] && %__python3 -m pytest --version; then +# In case we're installing to a non-standard location, look for a setup.sh +# in the install tree and source it. It will set things like +# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. +if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi +%__python3 -m pytest $TEST_TARGET || echo "RPM TESTS FAILED" +else echo "RPM TESTS SKIPPED"; fi +%endif + +%files +/opt/ros/%{ros_distro} + +%changelog +* Thu Apr 09 2026 MoveIt Release Team moveit_releasers@googlegroups.com - 2.5.9-1 +- Autogenerated by ros-porting-tools @@ -0,0 +1 @@ +7d68d7de3e52709aa06a67307a1c3123 moveit-configs-utils-2.5.9.tar.gz |
