commit 6d325fc64e7741325682286ba9153cb38c8d1a2cd444d0587e60e3773e6b4dbd Author: Tomáš Chvátal Date: Sat Aug 3 06:26:32 2019 +0000 Accepting request 716024 from home:a_faerber:ros catkin-pkg v0.4.12 - dependency of catkin, colcon-ros and ament-cmake OBS-URL: https://build.opensuse.org/request/show/716024 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/catkin_pkg-0.4.12.tar.gz b/catkin_pkg-0.4.12.tar.gz new file mode 100644 index 0000000..0436960 --- /dev/null +++ b/catkin_pkg-0.4.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc2f4f4c02aa72d3b1fad18fe87348ac009c4b9da5602a09cd954a287d330e4e +size 61535 diff --git a/python-catkin-pkg.changes b/python-catkin-pkg.changes new file mode 100644 index 0000000..0f353ce --- /dev/null +++ b/python-catkin-pkg.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Jul 11 19:26:29 UTC 2019 - Andreas Färber + +- Initial (v0.4.12) diff --git a/python-catkin-pkg.spec b/python-catkin-pkg.spec new file mode 100644 index 0000000..e0750bf --- /dev/null +++ b/python-catkin-pkg.spec @@ -0,0 +1,78 @@ +# +# spec file for package python-catkin-pkg +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-catkin-pkg +Version: 0.4.12 +Release: 0 +License: BSD-3-Clause +Summary: Catkin package library +Url: http://wiki.ros.org/catkin_pkg +Group: Development/Languages/Python +# gh#ros-infrastructure/catkin_pkg#258 +#Source: https://files.pythonhosted.org/packages/source/c/catkin-pkg/catkin_pkg-%{version}.tar.gz +Source: https://github.com/ros-infrastructure/catkin_pkg/archive/v%{version}.tar.gz#/catkin_pkg-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +# SECTION test requirements +BuildRequires: %{python_module docutils} +BuildRequires: %{python_module flake8} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pyparsing} +BuildRequires: %{python_module python-dateutil} +# /SECTION +BuildRequires: fdupes +Requires: python-docutils +Requires: python-pyparsing +Requires: python-python-dateutil +Requires: python-setuptools +BuildArch: noarch + +%python_subpackages + +%description +Library for retrieving information about catkin packages. + +%prep +%setup -q -n catkin_pkg-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export PYTHONPATH=$PWD/src +cd test +# flake8 line length checks failing (E501) +%python_exec %{_bindir}/nosetests --exclude=test/test_flake8.py + +%files %{python_files} +%license LICENSE +%python3_only %{_bindir}/catkin_create_pkg +%python3_only %{_bindir}/catkin_find_pkg +%python3_only %{_bindir}/catkin_generate_changelog +%python3_only %{_bindir}/catkin_package_version +%python3_only %{_bindir}/catkin_prepare_release +%python3_only %{_bindir}/catkin_tag_changelog +%python3_only %{_bindir}/catkin_test_changelog +%{python_sitelib}/* + +%changelog