pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-crass



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Mar 13 16:10:50 UTC 2018

Added Files:
        pkgsrc/www/ruby-crass: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ruby-crass/DESCR \
    pkgsrc/www/ruby-crass/Makefile pkgsrc/www/ruby-crass/PLIST \
    pkgsrc/www/ruby-crass/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/ruby-crass/DESCR
diff -u /dev/null pkgsrc/www/ruby-crass/DESCR:1.1
--- /dev/null   Tue Mar 13 16:10:50 2018
+++ pkgsrc/www/ruby-crass/DESCR Tue Mar 13 16:10:50 2018
@@ -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.
Index: pkgsrc/www/ruby-crass/Makefile
diff -u /dev/null pkgsrc/www/ruby-crass/Makefile:1.1
--- /dev/null   Tue Mar 13 16:10:50 2018
+++ pkgsrc/www/ruby-crass/Makefile      Tue Mar 13 16:10:50 2018
@@ -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"
Index: pkgsrc/www/ruby-crass/PLIST
diff -u /dev/null pkgsrc/www/ruby-crass/PLIST:1.1
--- /dev/null   Tue Mar 13 16:10:50 2018
+++ pkgsrc/www/ruby-crass/PLIST Tue Mar 13 16:10:50 2018
@@ -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
Index: pkgsrc/www/ruby-crass/distinfo
diff -u /dev/null pkgsrc/www/ruby-crass/distinfo:1.1
--- /dev/null   Tue Mar 13 16:10:50 2018
+++ pkgsrc/www/ruby-crass/distinfo      Tue Mar 13 16:10:50 2018
@@ -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