Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 20:01:09 +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: r560068 - in head/devel: . rubygem-prettyprint
Message-ID:  <202101032001.103K19TP090927@repo.freebsd.org>

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

Log:
  Add rubygem-prettyprint 0.1.0
  
  PrettyPrint implements a pretty printing algorithm. It finds line breaks and
  nice indentations for grouped structure.
  
  By default, the class assumes that primitive elements are strings and each byte
  in the strings have single column in width. But it can be used for other
  situations by giving suitable arguments for some methods:
  - newline object and space generation block for PrettyPrint.new
  - optional width argument for PrettyPrint#text
  - PrettyPrint#breakable
  
  There are several candidate uses:
  - text formatting using proportional fonts
  - multibyte characters which has columns different to number of bytes
  
  WWW: https://github.com/ruby/prettyprint

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jan  3 20:01:03 2021	(r560067)
+++ head/devel/Makefile	Sun Jan  3 20:01:09 2021	(r560068)
@@ -6344,6 +6344,7 @@
     SUBDIR += rubygem-powerbar
     SUBDIR += rubygem-powerpack
     SUBDIR += rubygem-pqueue
+    SUBDIR += rubygem-prettyprint
     SUBDIR += rubygem-progressbar
     SUBDIR += rubygem-prometheus-client-mmap
     SUBDIR += rubygem-protected_attributes

Added: head/devel/rubygem-prettyprint/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-prettyprint/Makefile	Sun Jan  3 20:01:09 2021	(r560068)
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	prettyprint
+PORTVERSION=	0.1.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Pretty printing algorithm for readable structure
+
+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/devel/rubygem-prettyprint/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-prettyprint/distinfo	Sun Jan  3 20:01:09 2021	(r560068)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609598789
+SHA256 (rubygem/prettyprint-0.1.0.gem) = 74d6e79c01da03d99ae4fd13fcb2b7d4e61fcf1bd5e5f7f745465819af39991b
+SIZE (rubygem/prettyprint-0.1.0.gem) = 11776

Added: head/devel/rubygem-prettyprint/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-prettyprint/pkg-descr	Sun Jan  3 20:01:09 2021	(r560068)
@@ -0,0 +1,15 @@
+PrettyPrint implements a pretty printing algorithm. It finds line breaks and
+nice indentations for grouped structure.
+
+By default, the class assumes that primitive elements are strings and each byte
+in the strings have single column in width. But it can be used for other
+situations by giving suitable arguments for some methods:
+- newline object and space generation block for PrettyPrint.new
+- optional width argument for PrettyPrint#text
+- PrettyPrint#breakable
+
+There are several candidate uses:
+- text formatting using proportional fonts
+- multibyte characters which has columns different to number of bytes
+
+WWW: https://github.com/ruby/prettyprint



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