[ros-catkin-pkg] 01/02: Add patch for catkin_create_pkg

Jochen Sprickerhof jspricke at moszumanska.debian.org
Sat Jan 28 16:17:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch master
in repository ros-catkin-pkg.

commit 77ae68816cb3ea1191b7af9236583d1666c3b6aa
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sat Jan 28 17:10:29 2017 +0100

    Add patch for catkin_create_pkg
---
 .../0001-Set-default-ROS_DISTRO-to-debian.patch     | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0001-Set-default-ROS_DISTRO-to-debian.patch b/debian/patches/0001-Set-default-ROS_DISTRO-to-debian.patch
new file mode 100644
index 0000000..834d2b7
--- /dev/null
+++ b/debian/patches/0001-Set-default-ROS_DISTRO-to-debian.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 28 Jan 2017 17:07:08 +0100
+Subject: Set default ROS_DISTRO to debian
+
+---
+ bin/catkin_create_pkg | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/catkin_create_pkg b/bin/catkin_create_pkg
+index 2f7e265..f1abf48 100755
+--- a/bin/catkin_create_pkg
++++ b/bin/catkin_create_pkg
+@@ -43,7 +43,7 @@ def main(argv=sys.argv[1:], parent_path=os.getcwd()):
+     parser.add_argument('-m', '--maintainer',
+                         action='append',
+                         help='A single maintainer, may be used multiple times')
+-    rosdistro_name = os.environ['ROS_DISTRO'] if 'ROS_DISTRO' in os.environ else None
++    rosdistro_name = os.environ['ROS_DISTRO'] if 'ROS_DISTRO' in os.environ else 'debian'
+     parser.add_argument('--rosdistro', required=rosdistro_name is None, default=rosdistro_name, help='The ROS distro (default: environment variable ROS_DISTRO if defined)')
+ 
+     args = parser.parse_args(argv)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a0b7478
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Set-default-ROS_DISTRO-to-debian.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-catkin-pkg.git



More information about the debian-science-commits mailing list