代码拉取完成,页面将自动刷新
Name: ros-foxy-ros-python_cmake_module
Version: 0.8.1
Release: 2
Summary: This is ROS foxy %{name} Package
License: Public Domain and Apache-2.0 and BSD and MIT and BSL-1.0 and LGPL-2.1-only and MPL-2.0 and GPL-3.0-only and GPL-2.0-or-later and MPL-1.1 and IJG and Zlib and OFL-1.1
URL: https://github.com/ros2/python_cmake_module.git
Source0: https://github.com/ros2/python_cmake_module/archive/refs/tags/0.8.1.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: asio-devel
BuildRequires: tinyxml2-devel
BuildRequires: git
%description
This is ROS foxy %{name} Package.
%prep
%setup
%install
cd 3rdparty/
cd empy-3.3.4/
python3 setup.py install --user
cd ..
cd six-1.15.0/
python3 setup.py install --user
cd ..
cd setuptools_scm-4.1.2/
python3 setup.py install --user
cd ..
cd python-dateutil-2.8.1/
python3 setup.py install --user
cd ..
cd pyparsing-2.4.7/
python3 setup.py install --user
cd ..
cd docutils-0.16/
python3 setup.py install --user
cd ..
cd catkin_pkg-0.4.22/
python3 setup.py install --user
cd ..
#ros2
cd distlib-0.3.3/
python3 setup.py install --user
cd ..
cd attrs-21.2.0
python3 setup.py install --user
cd ..
cd more-itertools-5.0.0
python3 setup.py install --user
cd ..
cd zipp-1.0.0
python3 setup.py install --user
cd ..
cd wheel-0.33.0
python3 setup.py install --user
cd ..
cd toml-0.10.2
python3 setup.py install --user
cd ..
cd importlib_metadata-3.8.0
python3 setup.py install --user
cd ..
cd py-1.11.0
python3 setup.py install --user
cd ..
cd packaging-21.3
python3 setup.py install --user
cd ..
cd iniconfig-1.1.1
python3 setup.py install --user
cd ..
cd pluggy-1.0.0
python3 setup.py install --user
cd ..
cd typing_extensions-3.7.4
python3 setup.py install --user
cd ..
cd pytest-6.2.5
python3 setup.py install --user
cd ..
cd coverage-5.4
python3 setup.py install --user
cd ..
cd pytest-cov-3.0.0
python3 setup.py install --user
cd ..
cd pytest-repeat-0.9.1
python3 setup.py install --user
cd ..
cd pytest-rerunfailures-10.2
python3 setup.py install --user
cd ..
cd pytest-runner-5.3.1
python3 setup.py install --user
cd ..
cd PyYAML-6.0
python3 setup.py install --user
cd ..
cd setuptools-60.0.0
python3 setup.py install --user
cd ..
cd argcomplete-1.11.1
python3 setup.py install --user
cd ..
cd notify2-0.3.1
python3 setup.py install --user
cd ..
cd ..
# for colcon build tools
cd build_tools
./colcon/colcon-core/bin/colcon build --paths colcon/* --merge-install
source install/local_setup.sh
cd ..
# for workspace
cd workspace
colcon build --merge-install
cp ../install_dependence.sh install/
cp -r ../build_tools/install/bin install/
cp -r ../build_tools/install/lib install/
cp -r ../build_tools/install/share install/
####
# 对install内部的变量名称进行替换
#
####
SRC_PATH=$PWD/install
DST_PATH=/opt/ros/foxy
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
####
# install
#
####
mkdir -p %{buildroot}/opt/ros/foxy/
cp -r install/* %{buildroot}/opt/ros/foxy/
###for debug
#mkdir -p %{buildroot}/opt/ros/foxy/log
#cp -r log/ %{buildroot}/opt/ros/foxy/log
%files
%defattr(-,root,root)
/opt/ros/foxy/*
%changelog
* Wed Sep 21 2022 openEuler Buildteam <hanhaomin008@126.com> - 0.8.1-2
- Update Package to OpenEuler 22.03
* Tue Nov 30 2021 openEuler Buildteam <hanhaomin008@126.com> - 0.8.1-1
- Package init
* Tue Jan 5 2022 openEuler Buildteam <hanhaomin008@126.com> - 0.8.1-1
- Package update
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。