Date: Thu, 13 Mar 2014 18:30:17 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348112 - in head/sysutils: . rubygem-hammer_cli rubygem-hammer_cli/files Message-ID: <201403131830.s2DIUHoe025504@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Thu Mar 13 18:30:16 2014 New Revision: 348112 URL: http://svnweb.freebsd.org/changeset/ports/348112 QAT: https://qat.redports.org/buildarchive/r348112/ Log: Hammer is a generic clamp-based CLI framework. Hammer-cli provides just the core functionality. The core is extensible using plugins that contain application-specific commands. WWW: https://github.com/theforeman/hammer-cli PR: ports/187483 Submitted by: Michael Moll <kvedulv@kvedulv.de> Added: head/sysutils/rubygem-hammer_cli/ head/sysutils/rubygem-hammer_cli/Makefile (contents, props changed) head/sysutils/rubygem-hammer_cli/distinfo (contents, props changed) head/sysutils/rubygem-hammer_cli/files/ head/sysutils/rubygem-hammer_cli/files/patch-bin__hammer (contents, props changed) head/sysutils/rubygem-hammer_cli/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Thu Mar 13 18:03:06 2014 (r348111) +++ head/sysutils/Makefile Thu Mar 13 18:30:16 2014 (r348112) @@ -805,6 +805,7 @@ SUBDIR += rubygem-guard-livereload SUBDIR += rubygem-guard-minitest SUBDIR += rubygem-guard-rspec + SUBDIR += rubygem-hammer_cli SUBDIR += rubygem-hiera SUBDIR += rubygem-hiera-json SUBDIR += rubygem-hiera-puppet Added: head/sysutils/rubygem-hammer_cli/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-hammer_cli/Makefile Thu Mar 13 18:30:16 2014 (r348112) @@ -0,0 +1,29 @@ +# Created by: Michael Moll <kvedulv@kvedulv.de> +# $FreeBSD$ + +PORTNAME= hammer_cli +PORTVERSION= 0.0.18 +CATEGORIES= sysutils ruby +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Provides CLI interfaces for Ruby apps + +LICENSE= GPLv3 + +RUN_DEPENDS= rubygem-awesome_print>=1.1.0:${PORTSDIR}/devel/rubygem-awesome_print \ + rubygem-clamp>=0.6.3:${PORTSDIR}/devel/rubygem-clamp \ + rubygem-fastercsv>=1.5.5:${PORTSDIR}/devel/rubygem-fastercsv \ + rubygem-highline>=1.6.20:${PORTSDIR}/devel/rubygem-highline \ + rubygem-logging>=1.8.1:${PORTSDIR}/devel/rubygem-logging \ + rubygem-mime-types>=1.0:${PORTSDIR}/misc/rubygem-mime-types \ + rubygem-rest-client>=1.6.7:${PORTSDIR}/www/rubygem-rest-client \ + rubygem-table_print>=1.5.1:${PORTSDIR}/devel/rubygem-table_print + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +PLIST_FILES= bin/hammer + +.include <bsd.port.mk> Added: head/sysutils/rubygem-hammer_cli/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-hammer_cli/distinfo Thu Mar 13 18:30:16 2014 (r348112) @@ -0,0 +1,2 @@ +SHA256 (rubygem/hammer_cli-0.0.18.gem) = 6cbda00ba509029e8fc96edda0d1076d285d1f97eeb0b8590f4b939106ec023c +SIZE (rubygem/hammer_cli-0.0.18.gem) = 80896 Added: head/sysutils/rubygem-hammer_cli/files/patch-bin__hammer ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-hammer_cli/files/patch-bin__hammer Thu Mar 13 18:30:16 2014 (r348112) @@ -0,0 +1,11 @@ +--- bin/hammer.orig 2014-03-12 11:07:16.000000000 +0100 ++++ bin/hammer 2014-03-12 11:07:33.000000000 +0100 +@@ -20,7 +20,7 @@ + # load user's settings + require 'hammer_cli/settings' + +-CFG_PATH = ['./config/cli_config.yml', '~/.foreman/cli_config.yml', '/etc/foreman/cli_config.yml'] ++CFG_PATH = ['./config/cli_config.yml', '~/.foreman/cli_config.yml', '/etc/foreman/cli_config.yml', "#{::RbConfig::CONFIG['sysconfdir']}/foreman/cli_config.yml"].uniq + + if preparser.config + CFG_PATH.unshift preparser.config Added: head/sysutils/rubygem-hammer_cli/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-hammer_cli/pkg-descr Thu Mar 13 18:30:16 2014 (r348112) @@ -0,0 +1,5 @@ +Hammer is a generic clamp-based CLI framework. Hammer-cli provides just +the core functionality. The core is extensible using plugins that contain +application-specific commands. + +WWW: https://github.com/theforeman/hammer-cli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403131830.s2DIUHoe025504>