summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2020-01-19 09:31:54 +0000
committertaca <taca@pkgsrc.org>2020-01-19 09:31:54 +0000
commitb79c6e9f0acb3f559e5a6046b479ece64dd67fe6 (patch)
treeb16945d226be84e0229cc44fb2e8f025269f0457
parentef0d73c3051367543a8d2670b90152c7de8c8b96 (diff)
downloadpkgsrc-b79c6e9f0acb3f559e5a6046b479ece64dd67fe6.tar.gz
textproc/ruby-strings: add version 0.1.8 package
Add ruby-strings versino 0.1.8 package. Strings > The Strings is a set of useful functions such as fold, truncate, wrap, and many more for transforming strings.
-rw-r--r--textproc/ruby-strings/DESCR4
-rw-r--r--textproc/ruby-strings/Makefile18
-rw-r--r--textproc/ruby-strings/PLIST40
-rw-r--r--textproc/ruby-strings/distinfo6
4 files changed, 68 insertions, 0 deletions
diff --git a/textproc/ruby-strings/DESCR b/textproc/ruby-strings/DESCR
new file mode 100644
index 00000000000..7c0d1e0f886
--- /dev/null
+++ b/textproc/ruby-strings/DESCR
@@ -0,0 +1,4 @@
+Strings
+
+> The Strings is a set of useful functions such as fold, truncate, wrap, and
+ many more for transforming strings.
diff --git a/textproc/ruby-strings/Makefile b/textproc/ruby-strings/Makefile
new file mode 100644
index 00000000000..d94627523e6
--- /dev/null
+++ b/textproc/ruby-strings/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 09:31:54 taca Exp $
+
+DISTNAME= strings-0.1.8
+CATEGORIES= textproc
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/piotrmurach/strings
+COMMENT= Set of useful functions for transforming strings
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-strings-ansi>=0.1<1:../../textproc/ruby-strings-ansi
+DEPENDS+= ${RUBY_PKGPREFIX}-unicode_utils>=1.4<2:../../textproc/ruby-unicode_utils
+DEPENDS+= ${RUBY_PKGPREFIX}-unicode-display_width>=1.5<2:../../textproc/ruby-unicode-display_width
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-strings/PLIST b/textproc/ruby-strings/PLIST
new file mode 100644
index 00000000000..51468b85248
--- /dev/null
+++ b/textproc/ruby-strings/PLIST
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/19 09:31:54 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/console
+${GEM_LIBDIR}/bin/setup
+${GEM_LIBDIR}/lib/strings.rb
+${GEM_LIBDIR}/lib/strings/align.rb
+${GEM_LIBDIR}/lib/strings/extensions.rb
+${GEM_LIBDIR}/lib/strings/fold.rb
+${GEM_LIBDIR}/lib/strings/pad.rb
+${GEM_LIBDIR}/lib/strings/padder.rb
+${GEM_LIBDIR}/lib/strings/truncate.rb
+${GEM_LIBDIR}/lib/strings/version.rb
+${GEM_LIBDIR}/lib/strings/wrap.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/unit/align/align_left_spec.rb
+${GEM_LIBDIR}/spec/unit/align/align_right_spec.rb
+${GEM_LIBDIR}/spec/unit/align/align_spec.rb
+${GEM_LIBDIR}/spec/unit/align_spec.rb
+${GEM_LIBDIR}/spec/unit/ansi_spec.rb
+${GEM_LIBDIR}/spec/unit/extensions_spec.rb
+${GEM_LIBDIR}/spec/unit/fold/fold_spec.rb
+${GEM_LIBDIR}/spec/unit/fold_spec.rb
+${GEM_LIBDIR}/spec/unit/pad/pad_spec.rb
+${GEM_LIBDIR}/spec/unit/pad_spec.rb
+${GEM_LIBDIR}/spec/unit/padder/parse_spec.rb
+${GEM_LIBDIR}/spec/unit/sanitize_spec.rb
+${GEM_LIBDIR}/spec/unit/truncate/truncate_spec.rb
+${GEM_LIBDIR}/spec/unit/truncate_spec.rb
+${GEM_LIBDIR}/spec/unit/wrap/insert_ansi_spec.rb
+${GEM_LIBDIR}/spec/unit/wrap/wrap_spec.rb
+${GEM_LIBDIR}/spec/unit/wrap_spec.rb
+${GEM_LIBDIR}/strings.gemspec
+${GEM_LIBDIR}/tasks/console.rake
+${GEM_LIBDIR}/tasks/coverage.rake
+${GEM_LIBDIR}/tasks/spec.rake
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/textproc/ruby-strings/distinfo b/textproc/ruby-strings/distinfo
new file mode 100644
index 00000000000..56b53da74ab
--- /dev/null
+++ b/textproc/ruby-strings/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 09:31:54 taca Exp $
+
+SHA1 (strings-0.1.8.gem) = e933bfd8d5767670c2b07377488892b54b6a56ce
+RMD160 (strings-0.1.8.gem) = 645005c5cae3b40f36eb22bb9334c48a3cb070e1
+SHA512 (strings-0.1.8.gem) = c3803661d64ca759524677275211b671e981b0297f7e331c386f6d63ffcef7868da1e538eb985c0698f0dc2569358a677135dbd22b66e98c4d001044eed747a3
+Size (strings-0.1.8.gem) = 20992 bytes