From owner-svn-ports-all@freebsd.org Sun Sep 22 10:44:38 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F3DDFD3C9; Sun, 22 Sep 2019 10:44:38 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46bkbn6hP5z4dSH; Sun, 22 Sep 2019 10:44:37 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C9E4F25506; Sun, 22 Sep 2019 10:44:37 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8MAibxn042775; Sun, 22 Sep 2019 10:44:37 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8MAia9F042764; Sun, 22 Sep 2019 10:44:36 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201909221044.x8MAia9F042764@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 22 Sep 2019 10:44:36 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/devel: . ros-rospkg ros-rospkg/files X-SVN-Commit-Revision: 512575 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Sep 2019 10:44:38 -0000 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 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 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