FreeBSD Bugzilla – Attachment 189396 Details for
Bug 224895
New port: devel/ros-rosdep Multi-package manager system dependency tool for ROS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
sharfile for devel/ros-rosdep
ros-rosdep.shar (text/plain), 15.38 KB, created by
Trenton Schulz
on 2018-01-04 14:04:16 UTC
(
hide
)
Description:
sharfile for devel/ros-rosdep
Filename:
MIME Type:
Creator:
Trenton Schulz
Created:
2018-01-04 14:04:16 UTC
Size:
15.38 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># rosdep ># rosdep/pkg-descr ># rosdep/out ># rosdep/distinfo ># rosdep/Makefile ># rosdep/files ># rosdep/files/patch-src_rosdep2_____init____.py ># rosdep/files/patch-src_rosdep2_platforms_freebsd.py ># rosdep/files/patch-Makefile ># >echo c - rosdep >mkdir -p rosdep > /dev/null 2>&1 >echo x - rosdep/pkg-descr >sed 's/^X//' >rosdep/pkg-descr << '8008cf1a7c42d94d6e7c404fab7ba3ce' >XTaken from the rosdep documentation. >X >Xrosdep is a command-line tool for installing system dependencies. For >X*end-users*, rosdep helps you install system dependencies for software >Xthat you are building from source. For *developers*, rosdep simplifies >Xthe problem of installing system dependencies on different platforms. >X >XOn FreeBSD, the pkg system is used. >8008cf1a7c42d94d6e7c404fab7ba3ce >echo x - rosdep/out >sed 's/^X//' >rosdep/out << 'ae940339e2c4cae4ca61affb0ec97a41' >XOK: config: portsdir: "/usr/ports" rcsidstr: "FreeBSD" localbase: /usr/local >XOK: makevar: PORTNAME = ros-rosdep >XOK: makevar: PORTVERSION = 0.11.8 >XOK: makevar: PORTREVISION = 0 >XOK: makevar: PORTEPOCH = 0 >XOK: makevar: PKGNAME = ros-rosdep-0.11.8 >XOK: makevar: PKGNAMEPREFIX = >XOK: makevar: PKGNAMESUFFIX = >XOK: makevar: DISTVERSIONPREFIX = >XOK: makevar: DISTVERSION = 0.11.8 >XOK: makevar: DISTVERSIONSUFFIX = >XOK: makevar: DISTNAME = ros-infrastructure-rosdep-0.11.8_GH0 >XOK: makevar: DISTFILES = ros-infrastructure-rosdep-0.11.8_GH0.tar.gz >XOK: makevar: CATEGORIES = devel >XOK: makevar: MASTERDIR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep >XOK: makevar: MAINTAINER = trentonw@ifi.uio.no >XOK: makevar: MASTER_SITES = https://codeload.github.com/ros-infrastructure/rosdep/tar.gz/0.11.8?dummy=/ >XOK: makevar: WRKDIR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/work >XOK: makevar: WRKSRC = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/work/rosdep-0.11.8 >XOK: makevar: NO_WRKSUBDIR = >XOK: makevar: SCRIPTDIR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/scripts >XOK: makevar: FILESDIR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/files >XOK: makevar: PKGDIR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep >XOK: makevar: COMMENT = Multi-package manager system dependency tool for ROS >XOK: makevar: DESCR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-descr >XOK: makevar: PLIST = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-plist >XOK: makevar: PKGCATEGORY = devel >XOK: makevar: PKGINSTALL = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-install >XOK: makevar: PKGDEINSTALL = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-deinstall >XOK: makevar: PKGREQ = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-req >XOK: makevar: PKGMESSAGE = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-message >XOK: makevar: DISTINFO_FILE = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/distinfo >XOK: makevar: .CURDIR = /usr/home/trentonw/projects/ros-freebsd/ports/rosdep >XOK: makevar: USE_LDCONFIG = >XOK: makevar: USE_AUTOTOOLS = >XOK: makevar: USE_GNOME = >XOK: makevar: USE_PERL5 = >XOK: makevar: INDEXFILE = INDEX-12 >XOK: makevar: PKGORIGIN = devel/rosdep >XOK: makevar: CONFLICTS = >XOK: makevar: PKG_VERSION = /usr/local/sbin/pkg-static version >XOK: makevar: PLIST_FILES = /usr/local/share/licenses/ros-rosdep-0.11.8/catalog.mk /usr/local/share/licenses/ros-rosdep-0.11.8/LICENSE /usr/local/share/licenses/ros-rosdep-0.11.8/BSD3CLAUSE >XOK: makevar: PLIST_DIRS = >XOK: makevar: PORTDOCS = >XOK: makevar: PORTEXAMPLES = >XOK: makevar: OPTIONS_DEFINE = >XOK: makevar: OPTIONS_RADIO = >XOK: makevar: OPTIONS_SINGLE = >XOK: makevar: OPTIONS_MULTI = >XOK: makevar: OPTIONS_GROUP = >XOK: makevar: OPTIONS_SUB = >XOK: makevar: INSTALLS_OMF = >XOK: makevar: USE_RC_SUBR = >XOK: makevar: USES = python >XOK: makevar: DIST_SUBDIR = >XOK: makevar: ALLFILES = ros-infrastructure-rosdep-0.11.8_GH0.tar.gz >XOK: makevar: CHECKSUM_ALGORITHMS = sha256 >XOK: makevar: INSTALLS_ICONS = >XOK: makevar: GNU_CONFIGURE = >XOK: makevar: CONFIGURE_ARGS = >XOK: makevar: MASTER_SITE_SUBDIR = >XOK: makevar: LICENSE = BSD3CLAUSE >XOK: makevar: LICENSE_COMB = >XOK: makevar: NO_STAGE = >XOK: makevar: DEVELOPER = yes >XOK: makevar: SUB_FILES = >XOK: checking /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-descr. >XOK: /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/pkg-descr: has 8 lines. >XOK: checking Makefile. >XOK: checking contiguous blank lines in Makefile. >XOK: checking header in Makefile. >XOK: checking for use of !=. >XOK: checking for use of .elseif. >XOK: checking for use of muted INSTALL_ commands. >XOK: checking for use of ${ENV} instead of ${SETENV}. >XOK: checking for use of IGNOREFILES. >XOK: checking for use of PLIST_DIRSTRY. >XOK: checking PLIST_FILES and PLIST_DIRS. >XOK: checking OPTIONS. >XOK: checking DESKTOP_ENTRIES for ${TRUE}/${FALSE}. >XOK: checking for USE_* as a user-settable option. >XOK: checking NO_CHECKSUM. >XOK: checking MACHINE_ARCH. >XOK: checking DEPRECATED. >XOK: checking IGNORE. >XOK: checking BROKEN. >XOK: checking COMMENT. >XOK: checking FORBIDDEN. >XOK: checking MANUAL_PACKAGE_BUILD. >XOK: checking NO_CDROM. >XOK: checking NO_PACKAGE. >XOK: checking RESTRICTED. >XOK: checking PKGNAME. >XOK: checking for MAKE_JOBS_UNSAFE in combination with NO_BUILD. >XOK: checking to see if certain macros are sorted. >XOK: checking for USE_GNOME=pkgconfig. >XOK: checking for valid EXPIRATION_DATE. >XOK: checking IS_INTERACTIVE. >XOK: checking for use of PORT_OPTIONS:MDOCS. >XOK: checking for use of NOPORTDOCS. >XOK: checking for use of NOPORTEXAMPLES. >XOK: checking for use of NOPORTDOCS. >XOK: checking for USES=gettext without PORT_OPTIONS:MNLS. >XOK: checking for deprecated macros. >XOK: checking for DOS line ending removal. >XOK: checking direct use of command names. >XOK: checking for paths that have macro replacements. >XOK: checking for compression arguments passed to ${GZIP_CMD}. >XOK: checking for ${CHMOD}. >XOK: checking for ${INSTALL} -o | -g. >XOK: checking for ${MKDIR} -p. >XOK: checking for instances of ${FIND} ... ${XARGS} ${RM}. >XOK: checking for instances of ${MACHINE_ARCH} being test. >XOK: checking direct use of full pathnames in Makefile. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking direct use of pathnames, phase 1. >XOK: checking direct use of pathnames, phase 2. >XOK: checking SITE_PERL. >XOK: non-slave port detected, checking for anything after bsd.port(.post).mk. >XOK: checking comment section of Makefile. >XOK: $FreeBSD$ seen in Makefile. >XOK: checking first section of Makefile (PORTNAME/...). >XOK: checking the order of PORTNAME section. >XOK: seen PORTNAME, in order. >XOK: seen DISTVERSION, in order. >XOK: seen CATEGORIES, in order. >XOK: PORTNAME section is ordered properly. >XOK: checking PORTNAME/PORTVERSION/DISTVERSION. >XOK: checking for PORTREVISION=0. >XOK: checking CATEGORIES. >XOK: seen MASTER_SITES, sanity checking URLs. >XOK: no EXTRACT_SUFX seen, using default value. >XOK: sanity checking PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX. >XOK: PORTVERSION "0.11.8" looks fine. >XOK: checking second section of Makefile (PATCH*: optional). >XOK: checking third section of Makefile (MAINTAINER). >XOK: checking items that have to appear earlier. >XOK: checking the order of MAINTAINER section. >XOK: seen MAINTAINER, in order. >XOK: seen COMMENT, in order. >XOK: MAINTAINER section is ordered properly. >XOK: checking fourth section of Makefile (LICENSE). >XOK: checking the order of LICENSE section. >XOK: seen LICENSE, in order. >XOK: LICENSE section is ordered properly. >XOK: checking sixth section of Makefile (BROKEN/IGNORE/DEPRECATED). >XOK: checking items that have to appear earlier. >XOK: checking seventh section of Makefile (*_DEPENDS). >XOK: checking items that have to appear earlier. >XOK: checking the rest of the Makefile. >XOK: checking items that have to appear earlier. >XOK: checking WRKSRC. >XOK: WRKSRC seems to be ${WRKDIR}/. >XOK: no NO_WRKSUBDIR, checking value of WRKSRC. >XOK: checking RESTRICTED/NO_CDROM/NO_PACKAGE. >XOK: checking INFO. >XOK: checking /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/distinfo. >XOK: checking /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/files/patch-Makefile. >XOK: checking /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/files/patch-src_rosdep2_____init____.py. >XOK: checking /usr/home/trentonw/projects/ros-freebsd/ports/rosdep/files/patch-src_rosdep2_platforms_freebsd.py. >Xlooks fine. >ae940339e2c4cae4ca61affb0ec97a41 >echo x - rosdep/distinfo >sed 's/^X//' >rosdep/distinfo << 'f8dbcfa901e69f6683c5a5d3dff84fbc' >XTIMESTAMP = 1513849764 >XSHA256 (ros-infrastructure-rosdep-0.11.8_GH0.tar.gz) = 2d5b3c73caa1af5a92b2d1d5356614fff4947d62ac9985e96f62ef801a078137 >XSIZE (ros-infrastructure-rosdep-0.11.8_GH0.tar.gz) = 112899 >f8dbcfa901e69f6683c5a5d3dff84fbc >echo x - rosdep/Makefile >sed 's/^X//' >rosdep/Makefile << '4a5ef68c8a4dfea569c697f3f6410060' >X# $FreeBSD$ >X >XPORTNAME= ros-rosdep >XDISTVERSION= 0.11.8 >XCATEGORIES= devel >X >XMAINTAINER= trentonw@ifi.uio.no >XCOMMENT= Multi-package manager system dependency tool for ROS >X >XLICENSE= BSD3CLAUSE >X >XWWW= http://docs.ros.org/independent/api/rosdep/html/ >XUSES= python >XUSE_PYHTON= distutils autoplist >XUSE_GITHUB= yes >XGH_ACCOUNT= ros-infrastructure >XGH_PROJECT= rosdep >XGH_TAGNAME= 0.11.8 >X >X.include <bsd.port.mk> >4a5ef68c8a4dfea569c697f3f6410060 >echo c - rosdep/files >mkdir -p rosdep/files > /dev/null 2>&1 >echo x - rosdep/files/patch-src_rosdep2_____init____.py >sed 's/^X//' >rosdep/files/patch-src_rosdep2_____init____.py << '573fe1db812b6e4427ba7c607f20effe' >X--- src/rosdep2/__init__.py.orig 2017-08-04 00:33:42 UTC >X+++ src/rosdep2/__init__.py >X@@ -64,10 +64,11 @@ def create_default_installer_context(verbose=False): >X from .platforms import pip >X from .platforms import gem >X from .platforms import redhat >X+ from .platforms import freebsd >X from .platforms import slackware >X from .platforms import source >X >X- platform_mods = [arch, cygwin, debian, gentoo, opensuse, osx, redhat, slackware] >X+ platform_mods = [arch, cygwin, debian, gentoo, opensuse, osx, redhat, slackware, freebsd] >X installer_mods = [source, pip, gem] + platform_mods >X >X context = InstallerContext() >573fe1db812b6e4427ba7c607f20effe >echo x - rosdep/files/patch-src_rosdep2_platforms_freebsd.py >sed 's/^X//' >rosdep/files/patch-src_rosdep2_platforms_freebsd.py << '1b729930d91895a42b73cc4fe25dc17a' >X--- src/rosdep2/platforms/freebsd.py.orig 2017-08-04 00:33:42 UTC >X+++ src/rosdep2/platforms/freebsd.py >X@@ -28,60 +28,55 @@ >X >X # Original from cygwin.py by Tingfan Wu tingfan@gmail.com >X # Modified for FreeBSD by Rene Ladan rene@freebsd.org >X+# Updated for FreeBSD with pkg by Trenton Schulz trentonw@ifi.Io.no >X >X import os >X import subprocess >X >X from rospkg.os_detect import OS_FREEBSD >X >X+from .pip import PIP_INSTALLER >X+from .gem import GEM_INSTALLER >X from .source import SOURCE_INSTALLER >X-from ..installers import Installer >X+from ..installers import PackageManagerInstaller >X+from ..shell_utils import read_stdout >X >X-PKG_ADD_INSTALLER = 'pkg_add' >X+PKG_INSTALLER = 'pkg' >X >X def register_installers(context): >X- context.set_installer(PKG_ADD_INSTALLER, PkgAddInstaller()) >X+ context.set_installer(PKG_INSTALLER, PkgInstaller()) >X >X def register_platforms(context): >X context.add_os_installer_key(OS_FREEBSD, SOURCE_INSTALLER) >X- context.add_os_installer_key(OS_FREEBSD, PKG_ADD_INSTALLER) >X- context.set_default_os_installer_key(OS_FREEBSD, lambda self: PKG_ADD_INSTALLER) >X+ context.add_os_installer_key(OS_FREEBSD, PKG_INSTALLER) >X+ context.add_os_installer_key(OS_FREEBSD, PIP_INSTALLER) >X+ context.set_default_os_installer_key(OS_FREEBSD, lambda self: PKG_INSTALLER) >X >X-def pkg_info_detect_single(p): >X+def pkg_detect_single(p, exec_fn): >X if p == "builtin": >X return True >X- # The next code is a lot of hassle, but there is no >X- # better way in FreeBSD using just the base tools >X portname = p >X- if p == "gtk20": >X- portname = "gtk-2.\*" >X- elif p == "py-gtk2": >X- portname = "py27-gtk-2.\*" >X- elif p[:9] in ["autoconf2", "automake1"]: >X- portname = p[:8] + "-" + p[8] + "." + p[9:] + "\*" >X- elif p[:3] == "py-": >X- portname = "py27-" + p[3:] + "\*" >X- else: >X- portname = p + "-\*" >X- pop = subprocess.Popen("/usr/sbin/pkg_info -qE " + portname, shell=True) >X- return os.waitpid(pop.pid, 0)[1] == 0 # pkg_info -E returns 0 if pkg installed, 1 if not >X+ cmd = ['/usr/sbin/pkg', 'query', '%n', p] >X+ std_out = exec_fn(cmd) >X+ return std_out.split() != [] >X >X-def pkg_info_detect(packages): >X- return [p for p in packages if pkg_info_detect_single(p)] >X+def pkg_detect(packages, exec_fn=None): >X+ if exec_fn is None: >X+ exec_fn = read_stdout >X+ return [p for p in packages if pkg_detect_single(p, exec_fn)] >X >X-class PkgAddInstaller(Installer): >X+class PkgInstaller(PackageManagerInstaller): >X """ >X An implementation of the Installer for use on FreeBSD-style >X systems. >X """ >X >X def __init__(self): >X- super(PkgAddInstaller, self).__init__(pkg_info_detect) >X+ super(PkgInstaller, self).__init__(pkg_detect) >X >X def get_install_command(self, resolved, interactive=True, reinstall=False, quiet=False): >X packages = self.get_packages_to_install(resolved, reinstall=reinstall) >X if not packages: >X return [] >X else: >X- #pkg_add does not have a non-interactive command >X- return [self.elevate_priv(['/usr/sbin/pkg_add', '-r'])+packages] >X+ return [self.elevate_priv(['/usr/sbin/pkg', 'install', '-y'])+packages] >1b729930d91895a42b73cc4fe25dc17a >echo x - rosdep/files/patch-Makefile >sed 's/^X//' >rosdep/files/patch-Makefile << '31ea4c09c678fc5241445be56b602098' >X--- Makefile.orig 2017-12-25 22:02:03 UTC >X+++ Makefile >X@@ -21,7 +21,7 @@ clean: clean_dist >X echo "clean" >X >X install: distro >X- sudo checkinstall python setup.py install >X+ sudo python setup.py install >X >X testsetup: >X echo "running rosdep tests" >31ea4c09c678fc5241445be56b602098 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 224895
:
189396
|
189943
|
201897
|
202139
|
207565