Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 10:44:36 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512575 - in head/devel: . ros-rospkg ros-rospkg/files
Message-ID:  <201909221044.x8MAia9F042764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Sep 22 10:44:35 2019
New Revision: 512575
URL: https://svnweb.freebsd.org/changeset/ports/512575

Log:
  New port: devel/ros-rospkg
  
  Rospkg is a standalone Python library for working with the ROS packaging system
  
  The ROS packaging system simplifies development and distribution of code
  libraries. It enable you to easily specify dependencies between code
  libraries, easily interact with those libraries from the command-line, and
  release your code for others to use.
  
  ROS packages are designed to support building and running code in local code
  trees. This is useful for developing software on multi-developer systems, such
  as robots, where there may be multiple versions of a library in use, and code
  is being contributed from multiple sources. It is also design to support
  modular code that is easily shared with other developers.
  
  WWW: http://wiki.ros.org/rospkg
  
  PR:		235844
  Submitted by:	Trenton Schulz <trueos@norwegianrockcat.com>

Added:
  head/devel/ros-rospkg/
  head/devel/ros-rospkg/Makefile   (contents, props changed)
  head/devel/ros-rospkg/distinfo   (contents, props changed)
  head/devel/ros-rospkg/files/
  head/devel/ros-rospkg/files/patch-doc_environment.rst   (contents, props changed)
  head/devel/ros-rospkg/files/patch-doc_rospkg__environment.rst   (contents, props changed)
  head/devel/ros-rospkg/files/patch-src_rospkg_environment.py   (contents, props changed)
  head/devel/ros-rospkg/files/patch-test_test__rospkg__environment.py   (contents, props changed)
  head/devel/ros-rospkg/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Sep 22 10:42:03 2019	(r512574)
+++ head/devel/Makefile	Sun Sep 22 10:44:35 2019	(r512575)
@@ -5395,6 +5395,7 @@
     SUBDIR += root-doc
     SUBDIR += ros-catkin_pkg
     SUBDIR += ros-rosinstall_generator
+    SUBDIR += ros-rospkg
     SUBDIR += ros-vcstools
     SUBDIR += ros-wstool
     SUBDIR += rote

Added: head/devel/ros-rospkg/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/Makefile	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	ros-rospkg
+DISTVERSION=	1.1.10
+CATEGORIES=	devel
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	trueos@norwegianrockcat.com
+COMMENT=	Python library for ROS packaging system
+
+LICENSE=	BSD3CLAUSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argparse>=1:devel/py-argparse@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=3:devel/py-yaml@${PY_FLAVOR}
+
+USES=	python
+USE_PYTHON=	distutils autoplist
+USE_GITHUB=	yes
+GH_ACCOUNT=	ros-infrastructure
+GH_PROJECT=	rospkg
+
+.include <bsd.port.mk>

Added: head/devel/ros-rospkg/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/distinfo	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1568624620
+SHA256 (ros-infrastructure-rospkg-1.1.10_GH0.tar.gz) = 735edfb831525e85d02e015bcefd277252fc018ead857dce4889fc60f529ba3e
+SIZE (ros-infrastructure-rospkg-1.1.10_GH0.tar.gz) = 90434

Added: head/devel/ros-rospkg/files/patch-doc_environment.rst
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/files/patch-doc_environment.rst	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,9 @@
+--- doc/environment.rst.orig	2018-04-22 06:37:51 UTC
++++ doc/environment.rst
+@@ -56,5 +56,5 @@ Optional
+ 
+    .. versionadded:: Fuerte
+ 
+-   Override path to `/etc/ros` directory.
++   Override path to `/usr/local/etc/ros` directory.
+ 

Added: head/devel/ros-rospkg/files/patch-doc_rospkg__environment.rst
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/files/patch-doc_rospkg__environment.rst	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,14 @@
+--- doc/rospkg_environment.rst.orig	2018-04-22 06:38:33 UTC
++++ doc/rospkg_environment.rst
+@@ -95,9 +95,9 @@ default values when environment variable overrides are
+ 
+ .. method:: get_etc_ros_dir([env=None]) -> str
+ 
+-   Get directory location of ``/etc/ros`` directory.  The
++   Get directory location of ``/usr/local/etc/ros`` directory.  The
+    :envvar:`ROS_ETC_DIR` environment variable has priority. If
+-   :envvar:`ROS_ETC_DIR` is not set, ``/etc/ros`` is used.
++   :envvar:`ROS_ETC_DIR` is not set, ``/usr/local/etc/ros`` is used.
+ 
+    :param env: override environment dictionary
+    :return: path to use use for log file directory

Added: head/devel/ros-rospkg/files/patch-src_rospkg_environment.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/files/patch-src_rospkg_environment.py	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,20 @@
+--- src/rospkg/environment.py.orig	2018-04-22 06:39:05 UTC
++++ src/rospkg/environment.py
+@@ -212,9 +212,9 @@ def on_ros_path(p, env=None):
+ 
+ def get_etc_ros_dir(env=None):
+     """
+-    Get directory location of ``/etc/ros`` directory.  The
++    Get directory location of ``/usr/local/etc/ros`` directory.  The
+     :envvar:`ROS_ETC_DIR` environment variable has priority. If
+-    :envvar:`ROS_ETC_DIR` is not set, ``/etc/ros`` is used.
++    :envvar:`ROS_ETC_DIR` is not set, ``/usr/local/etc/ros`` is used.
+ 
+     :param env: override environment dictionary
+     :return: path to use use for log file directory
+@@ -224,4 +224,4 @@ def get_etc_ros_dir(env=None):
+     if ROS_ETC_DIR in env:
+         return env[ROS_ETC_DIR]
+     else:
+-        return '/etc/ros'
++        return '/usr/local/etc/ros'

Added: head/devel/ros-rospkg/files/patch-test_test__rospkg__environment.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/files/patch-test_test__rospkg__environment.py	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,11 @@
+--- test/test_rospkg_environment.py.orig	2018-04-22 06:39:46 UTC
++++ test/test_rospkg_environment.py
+@@ -158,7 +158,7 @@ def test_get_etc_ros_dir():
+     base = tempfile.gettempdir()
+     etc_ros_dir = os.path.join(base, 'etc_ros_dir')
+ 
+-    assert '/etc/ros' == get_etc_ros_dir(env={})
++    assert '/usr/local/etc/ros' == get_etc_ros_dir(env={})
+ 
+     # ROS_ETC_DIR has precedence
+     env = {ROS_ETC_DIR: etc_ros_dir}

Added: head/devel/ros-rospkg/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ros-rospkg/pkg-descr	Sun Sep 22 10:44:35 2019	(r512575)
@@ -0,0 +1,14 @@
+Rospkg is a standalone Python library for working with the ROS packaging system
+
+The ROS packaging system simplifies development and distribution of code
+libraries. It enable you to easily specify dependencies between code
+libraries, easily interact with those libraries from the command-line, and
+release your code for others to use.
+
+ROS packages are designed to support building and running code in local code
+trees. This is useful for developing software on multi-developer systems, such
+as robots, where there may be multiple versions of a library in use, and code
+is being contributed from multiple sources. It is also design to support
+modular code that is easily shared with other developers.
+
+WWW: http://wiki.ros.org/rospkg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909221044.x8MAia9F042764>