Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 20:04:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560091 - in head/textproc: . rubygem-abbrev
Message-ID:  <202101032004.103K4i4I099237@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan  3 20:04:43 2021
New Revision: 560091
URL: https://svnweb.freebsd.org/changeset/ports/560091

Log:
  Add rubygem-abbrev 0.1.0
  
  Given a set of strings, Abbrev calculates the set of unambiguous abbreviations
  for those strings, and returns a hash where the keys are all the possible
  abbreviations and the values are the full strings.
  
  Thus, given words is "car" and "cone", the keys pointing to "car" would be "ca"
  and "car", while those pointing to "cone" would be "co", "con", and "cone".
  
  WWW: https://github.com/ruby/abbrev

Added:
  head/textproc/rubygem-abbrev/
  head/textproc/rubygem-abbrev/Makefile   (contents, props changed)
  head/textproc/rubygem-abbrev/distinfo   (contents, props changed)
  head/textproc/rubygem-abbrev/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sun Jan  3 20:04:38 2021	(r560090)
+++ head/textproc/Makefile	Sun Jan  3 20:04:43 2021	(r560091)
@@ -1503,6 +1503,7 @@
     SUBDIR += ruby-rd-mode.el
     SUBDIR += ruby-rdtool
     SUBDIR += ruby-rttool
+    SUBDIR += rubygem-abbrev
     SUBDIR += rubygem-actionpack-xml_parser-rails5
     SUBDIR += rubygem-actionpack-xml_parser-rails52
     SUBDIR += rubygem-actionpack-xml_parser1-rails4

Added: head/textproc/rubygem-abbrev/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-abbrev/Makefile	Sun Jan  3 20:04:43 2021	(r560091)
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	abbrev
+PORTVERSION=	0.1.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Calculate a set of unique abbreviations for a given set of strings
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/textproc/rubygem-abbrev/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-abbrev/distinfo	Sun Jan  3 20:04:43 2021	(r560091)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609598833
+SHA256 (rubygem/abbrev-0.1.0.gem) = 6dd2980cc3fbff5950a63a46f9e5771a2a0235de18cb1f82b5ba0657777125e0
+SIZE (rubygem/abbrev-0.1.0.gem) = 8192

Added: head/textproc/rubygem-abbrev/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-abbrev/pkg-descr	Sun Jan  3 20:04:43 2021	(r560091)
@@ -0,0 +1,8 @@
+Given a set of strings, Abbrev calculates the set of unambiguous abbreviations
+for those strings, and returns a hash where the keys are all the possible
+abbreviations and the values are the full strings.
+
+Thus, given words is "car" and "cone", the keys pointing to "car" would be "ca"
+and "car", while those pointing to "cone" would be "co", "con", and "cone".
+
+WWW: https://github.com/ruby/abbrev



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