Compare commits

21 Commits

Author SHA256 Message Date
a173dc68d7 Accepting request 1282805 from devel:languages:python
- fix usage of libalternatives

OBS-URL: https://build.opensuse.org/request/show/1282805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=9
2025-06-04 18:30:05 +00:00
67fd101030 Accepting request 1277898 from devel:languages:python
- Add missing rpmlintrc to the SPEC file.

- Convert to pip-based build

- deleted patches
  - python-catkin-pkg-no-mock.patch (upstreamed)

- update to 1.0.0:
  * List 'ROS Infrastructure Team' as the package maintainer.
    `#328 <https://github.com/ros-
    infrastructure/catkin_pkg/pull/328>`_
  * Drop support for Python 2. `#354 <https://github.com/ros-
    infrastructure/catkin_pkg/pull/354>`_
  * Move flake8 config to setup.cfg, address flake8 v6
    violations. `#356 <https://github.com/ros-
    infrastructure/catkin_pkg/pull/356>`_
  * Contributors
  * Scott K Logan
  * Steven! Ragnarök
  * 0.5.2 (2022-05-27)
  * Use renamed function for getting multiple build types. `#342
    <https://github.com/ros-infrastructure/catkin_pkg/pull/342>`_
  * Resolves `#341 <https://github.com/ros-
    infrastructure/catkin_pkg/pull/341>`_
  * Contributors
  * Steven! Ragnarök
  * 0.5.1 (2022-05-10)
  * Add API method for getting all build types regardless of
    conditions. `#337 <https://github.com/ros-
    infrastructure/catkin_pkg/pull/337>`_

OBS-URL: https://build.opensuse.org/request/show/1277898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=8
2025-05-20 07:33:59 +00:00
35cef532bd - Add missing rpmlintrc to the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=18
2025-05-15 21:30:33 +00:00
a7d945c7ef - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=17
2025-05-15 15:17:05 +00:00
2cad22c60d Accepting request 1133143 from home:pgajdos:python
pmmu version update

OBS-URL: https://build.opensuse.org/request/show/1133143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=16
2023-12-15 09:43:53 +00:00
8c77eb256a Accepting request 960715 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/960715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=7
2022-03-10 21:45:24 +00:00
cf28535028 Accepting request 960476 from home:pgajdos:python
- do not require mock for build
- added patches
  b5c6812b40
  + python-catkin-pkg-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/960476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=14
2022-03-10 10:39:20 +00:00
bec4e28793 Accepting request 946697 from devel:languages:python
- update to 0.4.24:
  * stop using undocumented docutils api
  * remove validate_metapacakge wrapper
  * flake8 warnings
  * test fixes
  * add option to show only merge commits
  * compare dependencies with all attributes

OBS-URL: https://build.opensuse.org/request/show/946697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=6
2022-01-15 20:45:20 +00:00
59fbc00940 - update to 0.4.24:
* stop using undocumented docutils api
  * remove validate_metapacakge wrapper
  * flake8 warnings
  * test fixes
  * add option to show only merge commits
  * compare dependencies with all attributes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=13
2022-01-15 18:36:55 +00:00
c18c5c56ae Accepting request 823291 from devel:languages:python
- Update to 0.4.22:
  * catkin_generate_changelog: hack to allow tag version prefixed with v
  * add GitLab auto linking for issues in catkin_generate_changelog
  * enable releasing from Focal with stdeb 0.9.1
  * fix deprecation warnings in tests
  * pass stricter pycodestyle 2.6 checks
  * Restore compatibility with pyparsing < 1.5.7
  * Respect (AMENT|COLCON|CATKIN)_IGNORE directories
  * bump min CMake version to avoid CMP0048 warning
  * Fix travis warning
  * use parse actions to evaluate conditions
  * Speed up topological_order by using a per-package cache of all run_depends
  * Fix crash with pyparsing 3
  * [enhancement]evaluating more than 1 condition fixes #277
  * exclude Signed-off-by: lines from changelog
  * Changes 'install' to 'catkin_install_python' in the CMakeLists.txt template

OBS-URL: https://build.opensuse.org/request/show/823291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=5
2020-07-29 15:20:20 +00:00
5fc675cb02 - Update to 0.4.22:
* catkin_generate_changelog: hack to allow tag version prefixed with v
  * add GitLab auto linking for issues in catkin_generate_changelog
  * enable releasing from Focal with stdeb 0.9.1
  * fix deprecation warnings in tests
  * pass stricter pycodestyle 2.6 checks
  * Restore compatibility with pyparsing < 1.5.7
  * Respect (AMENT|COLCON|CATKIN)_IGNORE directories
  * bump min CMake version to avoid CMP0048 warning
  * Fix travis warning
  * use parse actions to evaluate conditions
  * Speed up topological_order by using a per-package cache of all run_depends
  * Fix crash with pyparsing 3
  * [enhancement]evaluating more than 1 condition fixes #277
  * exclude Signed-off-by: lines from changelog
  * Changes 'install' to 'catkin_install_python' in the CMakeLists.txt template

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=11
2020-07-29 04:10:27 +00:00
2e580088f4 Accepting request 809827 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=4
2020-06-09 22:44:35 +00:00
Tomáš Chvátal
bda3041d12 Accepting request 809574 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=9
2020-05-28 07:35:21 +00:00
e21009a817 Accepting request 789778 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/789778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=3
2020-03-31 15:14:20 +00:00
Tomáš Chvátal
53579df610 Accepting request 789769 from home:mcalabkova:branches:devel:languages:python
- update to 0.4.16
  * add Python 3.7 and 3.8 to Travis matrix
  * allow different CMake minimum version in metapackage

OBS-URL: https://build.opensuse.org/request/show/789769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=7
2020-03-30 12:58:08 +00:00
4d151a50c0 Accepting request 766826 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/766826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=2
2020-01-24 13:12:00 +00:00
Tomáš Chvátal
117aaffff4 Accepting request 766824 from home:mcalabkova:branches:devel:languages:python
- update to 0.4.15
  * small fixes

OBS-URL: https://build.opensuse.org/request/show/766824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=5
2020-01-24 11:38:57 +00:00
2564ead972 Accepting request 720792 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/720792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-catkin-pkg?expand=0&rev=1
2019-08-22 08:49:26 +00:00
Tomáš Chvátal
b5f45a0072 - Update to 0.4.13:
* small fixes
- Fix download url

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=3
2019-08-03 07:35:00 +00:00
Tomáš Chvátal
102bf28a39 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-catkin-pkg?expand=0&rev=2 2019-08-03 06:27:27 +00:00
Tomáš Chvátal
6d325fc64e 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
2019-08-03 06:26:32 +00:00
2 changed files with 0 additions and 77 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57ea09fd51d9a67ccf5a0660a8f84794304182c4f644f27ad835a979567893b1
size 65113

View File

@@ -1,74 +0,0 @@
diff --git a/test/test_package.py b/test/test_package.py
index 98420c5..1a417b0 100644
--- a/test/test_package.py
+++ b/test/test_package.py
@@ -20,7 +20,10 @@
Person,
)
-from mock import Mock
+try:
+ from unittest.mock import Mock
+except ImportError:
+ from mock import Mock
sys.stderr = sys.stdout
diff --git a/test/test_package_version.py b/test/test_package_version.py
index 6265347..190802b 100644
--- a/test/test_package_version.py
+++ b/test/test_package_version.py
@@ -9,7 +9,10 @@
from catkin_pkg.package_version import update_changelog_sections
from catkin_pkg.package_version import update_versions
-import mock
+try:
+ from unittest.mock import Mock
+except ImportError:
+ from mock import Mock
from .util import in_temporary_directory
@@ -69,7 +72,7 @@ def test_update_changelog_unicode(self, directory=None):
temp_file = os.path.join(directory, 'changelog')
missing_changelogs_but_forthcoming = {}
# Mock the Changelog object from catkin_pkg
- mock_changelog = mock.Mock()
+ mock_changelog = Mock()
# Create a changelog entry with a unicode char.
mock_changelog.rst = ('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'
'Changelog for package fake_pkg\n'
diff --git a/test/test_templates.py b/test/test_templates.py
index 561ec28..164f1b1 100644
--- a/test/test_templates.py
+++ b/test/test_templates.py
@@ -8,7 +8,10 @@
create_cmakelists, create_package_files, create_package_xml, PackageTemplate
from catkin_pkg.python_setup import generate_distutils_setup
-from mock import MagicMock, Mock
+try:
+ from unittest.mock import MagicMock, Mock
+except ImportError:
+ from mock import MagicMock, Mock
def u(line):
diff --git a/test/test_topological_order.py b/test/test_topological_order.py
index 651cb6b..88f44b4 100644
--- a/test/test_topological_order.py
+++ b/test/test_topological_order.py
@@ -3,7 +3,10 @@
import sys
import unittest
-from mock import Mock
+try:
+ from mock import Mock
+except ImportError:
+ from unittest.mock import Mock
try:
from catkin_pkg.topological_order import topological_order_packages, _PackageDecorator, \