diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-09 03:36:09 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-09 03:36:09 +0000 |
| commit | 0c2ba46cce43a916a4f723a2e1e607a69545bf6c (patch) | |
| tree | 7270319f8b18654bcd4c1c3202d17f78af5b9af4 | |
| parent | cd87375896ce34d4ff43bae2c053e65a81348951 (diff) | |
automatic import of ament-packageopeneuler24.03_LTS_SP3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | ament-package.spec | 75 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/ament-package-0.14.0.tar.gz diff --git a/ament-package.spec b/ament-package.spec new file mode 100644 index 0000000..d276ee8 --- /dev/null +++ b/ament-package.spec @@ -0,0 +1,75 @@ +# topdir: ament-package-0.14.0 +# ROS 2 ament_package: Python parser for ROS package manifest files +# Build type: ament_python (setuptools with ROS installation prefix) +# Installs Python modules to /opt/ros/humble/lib/python3.11/site-packages +# and data files (package.xml, ament_index markers) to /opt/ros/humble/share/ + +%global debug_package %{nil} +%global __provides_exclude_from ^/opt/ros/.* +%global __requires_exclude_from ^/opt/ros/.* +%global __os_install_post %{nil} + +%global ros_distro humble +%global ros_prefix /opt/ros/%{ros_distro} +%global ros_python_sitelib %{ros_prefix}/lib/python3.11/site-packages + +Name: ament-package +Version: 0.14.0 +Release: 1%{?dist} +Summary: The parser for the manifest files in the ament buildsystem + +License: Apache-2.0 +URL: https://github.com/ament/ament_package +Source0: https://github.com/ament/ament_package/archive/refs/tags/0.14.0.tar.gz#/ament-package-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +The parser for the manifest files in the ament buildsystem. +Ament defines metainformation for packages, their dependencies, +and provides tooling to build these federated packages together. + + +%package -n python3-%{name} +Summary: %{sum} + +%description -n python3-%{name} +The parser for the manifest files in the ament buildsystem. +Ament defines metainformation for packages, their dependencies, +and provides tooling to build these federated packages together. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +%build +cd %{_builddir}/%{name}-%{version} +python3 setup.py build + + +%install +cd %{_builddir}/%{name}-%{version} +python3 setup.py install \ + --skip-build \ + --root %{buildroot} \ + --prefix %{ros_prefix} \ + --install-lib %{ros_python_sitelib} \ + --single-version-externally-managed \ + --record installed_files.txt + + +%files -n python3-%{name} +%license LICENSE +%{ros_python_sitelib}/ament_package/ +%{ros_python_sitelib}/ament_package*.egg-info/ +%{ros_prefix}/share/ament_package/ +%{ros_prefix}/share/ament_index/resource_index/packages/ament_package + + +%changelog +* Fri Oct 09 2026 Python_Bot <Python_Bot@openeuler.org> - 0.14.0-1 +- Initial package @@ -0,0 +1 @@ +9e20cd620a2ac8d87ff4d4d013d1fbd1 ament-package-0.14.0.tar.gz |
