pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ruby-crass www/ruby-crass: add version 1.0.2 package
details: https://anonhg.NetBSD.org/pkgsrc/rev/a58f3a32c24d
branches: trunk
changeset: 377101:a58f3a32c24d
user: taca <taca%pkgsrc.org@localhost>
date: Tue Mar 13 16:10:50 2018 +0000
description:
www/ruby-crass: add version 1.0.2 package
Crass is a Ruby CSS parser that's fully compliant with the
CSS Syntax Level 3 specification.
Features
--------
* Pure Ruby, with no runtime dependencies other than Ruby 1.9.x or higher.
* Tokenizes and parses CSS according to the rules defined in the 14 November
2014 editor's draft of the [CSS Syntax Level 3][css] specification.
* Extremely tolerant of broken or invalid CSS. If a browser can handle it, Crass
should be able to handle it too.
* Optionally includes comments in the token stream.
* Optionally preserves certain CSS hacks, such as the IE "*" hack, which would
otherwise be discarded according to CSS3 tokenizing rules.
* Capable of serializing the parse tree back to CSS while maintaining all
original whitespace, comments, and indentation.
diffstat:
www/ruby-crass/DESCR | 21 +++++++++++++++++++++
www/ruby-crass/Makefile | 12 ++++++++++++
www/ruby-crass/PLIST | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
www/ruby-crass/distinfo | 6 ++++++
4 files changed, 87 insertions(+), 0 deletions(-)
diffs (103 lines):
diff -r 65e3c3166d3b -r a58f3a32c24d www/ruby-crass/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-crass/DESCR Tue Mar 13 16:10:50 2018 +0000
@@ -0,0 +1,21 @@
+Crass is a Ruby CSS parser that's fully compliant with the
+CSS Syntax Level 3 specification.
+
+Features
+--------
+
+* Pure Ruby, with no runtime dependencies other than Ruby 1.9.x or higher.
+
+* Tokenizes and parses CSS according to the rules defined in the 14 November
+ 2014 editor's draft of the [CSS Syntax Level 3][css] specification.
+
+* Extremely tolerant of broken or invalid CSS. If a browser can handle it, Crass
+ should be able to handle it too.
+
+* Optionally includes comments in the token stream.
+
+* Optionally preserves certain CSS hacks, such as the IE "*" hack, which would
+ otherwise be discarded according to CSS3 tokenizing rules.
+
+* Capable of serializing the parse tree back to CSS while maintaining all
+ original whitespace, comments, and indentation.
diff -r 65e3c3166d3b -r a58f3a32c24d www/ruby-crass/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-crass/Makefile Tue Mar 13 16:10:50 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2018/03/13 16:10:50 taca Exp $
+
+DISTNAME= crass-1.0.2
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/rgrove/crass/
+COMMENT= CSS parser based on the CSS Syntax Level 3 spec
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 65e3c3166d3b -r a58f3a32c24d www/ruby-crass/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-crass/PLIST Tue Mar 13 16:10:50 2018 +0000
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2018/03/13 16:10:50 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/.yardopts
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/HISTORY.md
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/crass.gemspec
+${GEM_LIBDIR}/lib/crass.rb
+${GEM_LIBDIR}/lib/crass/parser.rb
+${GEM_LIBDIR}/lib/crass/scanner.rb
+${GEM_LIBDIR}/lib/crass/token-scanner.rb
+${GEM_LIBDIR}/lib/crass/tokenizer.rb
+${GEM_LIBDIR}/lib/crass/version.rb
+${GEM_LIBDIR}/test/css-parsing-tests/An+B.json
+${GEM_LIBDIR}/test/css-parsing-tests/LICENSE
+${GEM_LIBDIR}/test/css-parsing-tests/README.rst
+${GEM_LIBDIR}/test/css-parsing-tests/color3.json
+${GEM_LIBDIR}/test/css-parsing-tests/color3_hsl.json
+${GEM_LIBDIR}/test/css-parsing-tests/color3_keywords.json
+${GEM_LIBDIR}/test/css-parsing-tests/component_value_list.json
+${GEM_LIBDIR}/test/css-parsing-tests/declaration_list.json
+${GEM_LIBDIR}/test/css-parsing-tests/make_color3_hsl.py
+${GEM_LIBDIR}/test/css-parsing-tests/make_color3_keywords.py
+${GEM_LIBDIR}/test/css-parsing-tests/one_component_value.json
+${GEM_LIBDIR}/test/css-parsing-tests/one_declaration.json
+${GEM_LIBDIR}/test/css-parsing-tests/one_rule.json
+${GEM_LIBDIR}/test/css-parsing-tests/rule_list.json
+${GEM_LIBDIR}/test/css-parsing-tests/stylesheet.json
+${GEM_LIBDIR}/test/css-parsing-tests/stylesheet_bytes.json
+${GEM_LIBDIR}/test/shared/parse_rules.rb
+${GEM_LIBDIR}/test/support/common.rb
+${GEM_LIBDIR}/test/support/serialization/animate.css
+${GEM_LIBDIR}/test/support/serialization/bootstrap-theme.css
+${GEM_LIBDIR}/test/support/serialization/bootstrap.css
+${GEM_LIBDIR}/test/support/serialization/html5-boilerplate.css
+${GEM_LIBDIR}/test/support/serialization/misc.css
+${GEM_LIBDIR}/test/support/serialization/pure.css
+${GEM_LIBDIR}/test/test_crass.rb
+${GEM_LIBDIR}/test/test_css_parsing_tests.rb
+${GEM_LIBDIR}/test/test_parse_properties.rb
+${GEM_LIBDIR}/test/test_parse_rules.rb
+${GEM_LIBDIR}/test/test_parse_stylesheet.rb
+${GEM_LIBDIR}/test/test_serialization.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 65e3c3166d3b -r a58f3a32c24d www/ruby-crass/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-crass/distinfo Tue Mar 13 16:10:50 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/13 16:10:50 taca Exp $
+
+SHA1 (crass-1.0.2.gem) = 5a855504ff288cd8c36482c26d965d05b370dbbd
+RMD160 (crass-1.0.2.gem) = 5d5bbb9fd630dd7a1b0c14051b893940805774da
+SHA512 (crass-1.0.2.gem) = 28ea16dea1ba8e46589489a60780195711304902b805bff0b362f99e8af9c9d2ecd0c11dcdf3e67e18e0997f37594012a4ceb312df352faf56eeb47d0441d289
+Size (crass-1.0.2.gem) = 92160 bytes
Home |
Main Index |
Thread Index |
Old Index