diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-20 11:54:24 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-20 11:54:24 +0000 |
commit | 27f9dd10999c1e6a25c6d050e62d2546409377d4 (patch) | |
tree | 82fba961f16b8f2a9f8270cfa5f31a9be0cfac46 | |
parent | 40cdc9b58f3cfad91f75826ac3cfb056d69238f3 (diff) | |
download | pkgsrc-27f9dd10999c1e6a25c6d050e62d2546409377d4.tar.gz |
Update devel/ruby-parslet to 1.6.0.
pkgsrc changes:
- Add OVERRIDE_GEMSPEC for blankslate, it requires ~> 2.0 whereas we provide
blankslate 3.1.3. Testing with ruby-jekyll (the primary driver for this
update) suggests it works ok.
upstream changes:
+ EXPERIMENTAL: Parslet accelerators permit replacing parts of your parser
with optimized atoms using pattern matching. Look at
examples/optimized_erb.rb or the introduction to the feature in
qed/accelerators.md.
+ infix_expression permits to declare an infix expression parser (think
calculator) directly. This will solve many of the problems we have
more elegantly.
+ Rspec 3 syntax, though hideous, should now work.
- Drops 1.8.7 compatibility.
! A performance anomaly when parsing multibyte characters has been detected
and fixed with the help of Zach Moazeni (@zmoazeni).
! A few small bug fixes and optimisations have been introduced. API should
remain unchanged.
-rw-r--r-- | devel/ruby-parslet/Makefile | 6 | ||||
-rw-r--r-- | devel/ruby-parslet/PLIST | 14 | ||||
-rw-r--r-- | devel/ruby-parslet/distinfo | 10 |
3 files changed, 21 insertions, 9 deletions
diff --git a/devel/ruby-parslet/Makefile b/devel/ruby-parslet/Makefile index 531fa62d556..755229c3892 100644 --- a/devel/ruby-parslet/Makefile +++ b/devel/ruby-parslet/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2015/02/01 12:43:24 taca Exp $ +# $NetBSD: Makefile,v 1.3 2015/11/20 11:54:24 jperkin Exp $ -DISTNAME= parslet-1.5.0 +DISTNAME= parslet-1.6.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} CATEGORIES= devel @@ -11,5 +11,7 @@ LICENSE= mit DEPENDS+= ${RUBY_PKGPREFIX}-blankslate>=2.0:../../devel/ruby-blankslate +OVERRIDE_GEMSPEC+= blankslate>=2.0 + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-parslet/PLIST b/devel/ruby-parslet/PLIST index 803df29b715..929eadfb2b0 100644 --- a/devel/ruby-parslet/PLIST +++ b/devel/ruby-parslet/PLIST @@ -1,9 +1,10 @@ -@comment $NetBSD: PLIST,v 1.2 2015/02/01 12:43:24 taca Exp $ +@comment $NetBSD: PLIST,v 1.3 2015/11/20 11:54:24 jperkin Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/HISTORY.txt ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README ${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/example/big.erb ${GEM_LIBDIR}/example/boolean_algebra.rb ${GEM_LIBDIR}/example/calc.rb ${GEM_LIBDIR}/example/capture.rb @@ -21,6 +22,7 @@ ${GEM_LIBDIR}/example/mathn.rb ${GEM_LIBDIR}/example/minilisp.rb ${GEM_LIBDIR}/example/modularity.rb ${GEM_LIBDIR}/example/nested_errors.rb +${GEM_LIBDIR}/example/optimized_erb.rb ${GEM_LIBDIR}/example/output/boolean_algebra.out ${GEM_LIBDIR}/example/output/calc.out ${GEM_LIBDIR}/example/output/capture.out @@ -40,7 +42,9 @@ ${GEM_LIBDIR}/example/output/mathn.out ${GEM_LIBDIR}/example/output/minilisp.out ${GEM_LIBDIR}/example/output/modularity.out ${GEM_LIBDIR}/example/output/nested_errors.out +${GEM_LIBDIR}/example/output/optimized_erb.out ${GEM_LIBDIR}/example/output/parens.out +${GEM_LIBDIR}/example/output/prec_calc.out ${GEM_LIBDIR}/example/output/readme.out ${GEM_LIBDIR}/example/output/scopes.out ${GEM_LIBDIR}/example/output/seasons.out @@ -48,6 +52,7 @@ ${GEM_LIBDIR}/example/output/sentence.out ${GEM_LIBDIR}/example/output/simple_xml.out ${GEM_LIBDIR}/example/output/string_parser.out ${GEM_LIBDIR}/example/parens.rb +${GEM_LIBDIR}/example/prec_calc.rb ${GEM_LIBDIR}/example/readme.rb ${GEM_LIBDIR}/example/scopes.rb ${GEM_LIBDIR}/example/seasons.rb @@ -57,6 +62,9 @@ ${GEM_LIBDIR}/example/simple_xml.rb ${GEM_LIBDIR}/example/string_parser.rb ${GEM_LIBDIR}/example/test.lit ${GEM_LIBDIR}/lib/parslet.rb +${GEM_LIBDIR}/lib/parslet/accelerator.rb +${GEM_LIBDIR}/lib/parslet/accelerator/application.rb +${GEM_LIBDIR}/lib/parslet/accelerator/engine.rb ${GEM_LIBDIR}/lib/parslet/atoms.rb ${GEM_LIBDIR}/lib/parslet/atoms/alternative.rb ${GEM_LIBDIR}/lib/parslet/atoms/base.rb @@ -66,6 +74,7 @@ ${GEM_LIBDIR}/lib/parslet/atoms/context.rb ${GEM_LIBDIR}/lib/parslet/atoms/dsl.rb ${GEM_LIBDIR}/lib/parslet/atoms/dynamic.rb ${GEM_LIBDIR}/lib/parslet/atoms/entity.rb +${GEM_LIBDIR}/lib/parslet/atoms/infix.rb ${GEM_LIBDIR}/lib/parslet/atoms/lookahead.rb ${GEM_LIBDIR}/lib/parslet/atoms/named.rb ${GEM_LIBDIR}/lib/parslet/atoms/re.rb @@ -75,6 +84,7 @@ ${GEM_LIBDIR}/lib/parslet/atoms/sequence.rb ${GEM_LIBDIR}/lib/parslet/atoms/str.rb ${GEM_LIBDIR}/lib/parslet/atoms/visitor.rb ${GEM_LIBDIR}/lib/parslet/cause.rb +${GEM_LIBDIR}/lib/parslet/context.rb ${GEM_LIBDIR}/lib/parslet/convenience.rb ${GEM_LIBDIR}/lib/parslet/error_reporter.rb ${GEM_LIBDIR}/lib/parslet/error_reporter/deepest.rb @@ -82,6 +92,7 @@ ${GEM_LIBDIR}/lib/parslet/error_reporter/tree.rb ${GEM_LIBDIR}/lib/parslet/export.rb ${GEM_LIBDIR}/lib/parslet/expression.rb ${GEM_LIBDIR}/lib/parslet/expression/treetop.rb +${GEM_LIBDIR}/lib/parslet/graphviz.rb ${GEM_LIBDIR}/lib/parslet/parser.rb ${GEM_LIBDIR}/lib/parslet/pattern.rb ${GEM_LIBDIR}/lib/parslet/pattern/binding.rb @@ -91,5 +102,4 @@ ${GEM_LIBDIR}/lib/parslet/slice.rb ${GEM_LIBDIR}/lib/parslet/source.rb ${GEM_LIBDIR}/lib/parslet/source/line_cache.rb ${GEM_LIBDIR}/lib/parslet/transform.rb -${GEM_LIBDIR}/lib/parslet/transform/context.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-parslet/distinfo b/devel/ruby-parslet/distinfo index 80e9ababcf6..eb1ff7c637f 100644 --- a/devel/ruby-parslet/distinfo +++ b/devel/ruby-parslet/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2015/11/03 03:29:26 agc Exp $ +$NetBSD: distinfo,v 1.4 2015/11/20 11:54:24 jperkin Exp $ -SHA1 (parslet-1.5.0.gem) = 4c0f7a11134c4b65498c1ed1fda50c9def190b1e -RMD160 (parslet-1.5.0.gem) = 23e3c1bf91cff524d59c0b4380643f342fa0cf87 -SHA512 (parslet-1.5.0.gem) = 87a68b04611656837b90868e6c944adafc8f5101611fdcf5ae6e26499bee8c909c18ebb2298a770539ba125b161c1967e98d1b61f010afe5e382e52b2463f686 -Size (parslet-1.5.0.gem) = 49152 bytes +SHA1 (parslet-1.6.0.gem) = 441d3631b0265703b53d13c34c10a235f0c3ca80 +RMD160 (parslet-1.6.0.gem) = a6cc5fc8e07fd66246fa81b9cd04791fc4be9575 +SHA512 (parslet-1.6.0.gem) = 8eee3214853af205be7b04eda57c882ebeaadd79315b46d5118a42dbd755d98b58b2a91dd433d9c67b26213d4f83a6920d91d2b476029d3bd43fb4dde34b39a0 +Size (parslet-1.6.0.gem) = 56832 bytes |