summaryrefslogtreecommitdiff
path: root/catkin-pkg-modules.spec
blob: ea74f3563af924938c2513f4fa738f44c7422373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# topdir: catkin-pkg-modules-0.5.0
# Build: setup.py approach (no pyproject.toml)
# SKIP_PYTHON_SCRIPTS=1 produces the modules-only variant (no console_scripts)

Name:           catkin-pkg-modules
Version:        0.5.0
Release:        1%{?dist}
Summary:        catkin package library (Python modules only)
License:        BSD-2-Clause
URL:            https://github.com/ros-infrastructure/catkin_pkg
Source0:        https://github.com/ros-infrastructure/catkin_pkg/archive/refs/tags/%{version}/catkin-pkg-modules-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       python3-docutils
Requires:       python3-dateutil
Requires:       python3-pyparsing
Requires:       python3-setuptools
Provides:       python3-catkin-pkg-modules = %{version}-%{release}

%description
Library for retrieving information about catkin packages.

This package contains the Python 3 modules only (no command-line scripts).
The command-line tools are provided by the catkin-pkg package.


%prep
%autosetup -n %{name}-%{version} -p1


%build
export SKIP_PYTHON_SCRIPTS=1
%py3_build


%install
export SKIP_PYTHON_SCRIPTS=1
%py3_install


%files
%license LICENSE
%doc README.rst CHANGELOG.rst
%{python3_sitelib}/catkin_pkg/
%{python3_sitelib}/catkin_pkg_modules*.egg-info/


%changelog
* Fri Oct 09 2026 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
- Initial package