pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-iniparse Add ruby-iniparse package version ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6dc301040c08
branches: trunk
changeset: 363210:6dc301040c08
user: taca <taca%pkgsrc.org@localhost>
date: Sun Jun 04 15:54:12 2017 +0000
description:
Add ruby-iniparse package version 1.4.3.
IniParse is a pure Ruby library for parsing
INI[http://en.wikipedia.org/wiki/INI_file] configuration and data files.
=== Main features
* Support for duplicate options. While not common, some INI files contain an
option more than once. IniParse does not overwrite previous options, but
allows you to access all of the duplicate values.
* Preservation of white space and blank lines. When writing back to your INI
file, line indents, white space and comments (and their indents) are
preserved. Only trailing white space (which has no significance in INI
files) will be removed.
* Preservation of section and option ordering. Sections and options are kept
in the same order they are in the original document ensuring that nothing
gets mangled when writing back to the file.
diffstat:
devel/ruby-iniparse/DESCR | 18 ++++++++++++++++++
devel/ruby-iniparse/Makefile | 14 ++++++++++++++
devel/ruby-iniparse/PLIST | 15 +++++++++++++++
devel/ruby-iniparse/distinfo | 6 ++++++
4 files changed, 53 insertions(+), 0 deletions(-)
diffs (69 lines):
diff -r 6294a08bd44f -r 6dc301040c08 devel/ruby-iniparse/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iniparse/DESCR Sun Jun 04 15:54:12 2017 +0000
@@ -0,0 +1,18 @@
+IniParse is a pure Ruby library for parsing
+
+INI[http://en.wikipedia.org/wiki/INI_file] configuration and data files.
+
+=== Main features
+
+* Support for duplicate options. While not common, some INI files contain an
+ option more than once. IniParse does not overwrite previous options, but
+ allows you to access all of the duplicate values.
+
+* Preservation of white space and blank lines. When writing back to your INI
+ file, line indents, white space and comments (and their indents) are
+ preserved. Only trailing white space (which has no significance in INI
+ files) will be removed.
+
+* Preservation of section and option ordering. Sections and options are kept
+ in the same order they are in the original document ensuring that nothing
+ gets mangled when writing back to the file.
diff -r 6294a08bd44f -r 6dc301040c08 devel/ruby-iniparse/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iniparse/Makefile Sun Jun 04 15:54:12 2017 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/06/04 15:54:12 taca Exp $
+
+DISTNAME= iniparse-1.4.3
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/antw/iniparse
+COMMENT= Pure Ruby library for parsing INI documents
+LICENSE= apache-2.0
+
+#DEPENDS+= ${RUBY_PKGPREFIX}-thread_safe>=0.1<1:../../misc/ruby-thread_safe
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6294a08bd44f -r 6dc301040c08 devel/ruby-iniparse/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iniparse/PLIST Sun Jun 04 15:54:12 2017 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/04 15:54:12 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/TODO
+${GEM_LIBDIR}/iniparse.gemspec
+${GEM_LIBDIR}/lib/iniparse.rb
+${GEM_LIBDIR}/lib/iniparse/document.rb
+${GEM_LIBDIR}/lib/iniparse/generator.rb
+${GEM_LIBDIR}/lib/iniparse/line_collection.rb
+${GEM_LIBDIR}/lib/iniparse/lines.rb
+${GEM_LIBDIR}/lib/iniparse/parser.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 6294a08bd44f -r 6dc301040c08 devel/ruby-iniparse/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iniparse/distinfo Sun Jun 04 15:54:12 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/04 15:54:12 taca Exp $
+
+SHA1 (iniparse-1.4.3.gem) = d471dd69757ee784f18963ffb25f51ebfeb679ed
+RMD160 (iniparse-1.4.3.gem) = 38e5739e0f466c9b8626d5210f8d51a7af89c119
+SHA512 (iniparse-1.4.3.gem) = 1f50c4692610c8f008811073f386d14854806c72f9ffb7473176c84f0cfc7cf319c04cd1a49da939b67511eb12ed4d37d46f996624e10ad4d929941dac9e236f
+Size (iniparse-1.4.3.gem) = 15872 bytes
Home |
Main Index |
Thread Index |
Old Index