pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-sassc www/ruby-sassc: import ruby26-sassc-2.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8402f158ab67
branches:  trunk
changeset: 415044:8402f158ab67
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Oct 01 15:34:50 2019 +0000

description:
www/ruby-sassc: import ruby26-sassc-2.2.1

Combine the speed of libsass, the Sass C implementation, with the
ease of use of the original Ruby Sass library.

diffstat:

 www/ruby-sassc/DESCR                                   |    2 +
 www/ruby-sassc/Makefile                                |   17 +
 www/ruby-sassc/PLIST                                   |  203 +++++++++++++++++
 www/ruby-sassc/distinfo                                |    9 +
 www/ruby-sassc/patches/patch-ext_extconf.rb            |   17 +
 www/ruby-sassc/patches/patch-ext_libsass_src_units.hpp |   17 +
 www/ruby-sassc/patches/patch-ext_libsass_src_util.hpp  |   19 +
 7 files changed, 284 insertions(+), 0 deletions(-)

diffs (truncated from 312 to 300 lines):

diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/DESCR      Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,2 @@
+Combine the speed of libsass, the Sass C implementation, with the
+ease of use of the original Ruby Sass library.
diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/Makefile   Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+
+DISTNAME=      sassc-2.2.1
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/sass/sassc-ruby
+COMMENT=       Use libsass with Ruby
+LICENSE=       mit
+
+USE_LANGUAGES+=        c c++
+USE_TOOLS+=    gmake
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-ffi>=1.9<2:../../devel/ruby-ffi
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/PLIST      Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,203 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_EXTSDIR}/sassc/libsass.${RUBY_DLEXT}
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.gitmodules
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/CODE_OF_CONDUCT.md
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/ext/depend
+${GEM_LIBDIR}/ext/extconf.rb
+${GEM_LIBDIR}/ext/libsass/VERSION
+${GEM_LIBDIR}/ext/libsass/contrib/plugin.cpp
+${GEM_LIBDIR}/ext/libsass/include/sass.h
+${GEM_LIBDIR}/ext/libsass/include/sass/base.h
+${GEM_LIBDIR}/ext/libsass/include/sass/context.h
+${GEM_LIBDIR}/ext/libsass/include/sass/functions.h
+${GEM_LIBDIR}/ext/libsass/include/sass/values.h
+${GEM_LIBDIR}/ext/libsass/include/sass/version.h
+${GEM_LIBDIR}/ext/libsass/include/sass2scss.h
+${GEM_LIBDIR}/ext/libsass/src/ast.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast.hpp
+${GEM_LIBDIR}/ext/libsass/src/ast2c.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast2c.hpp
+${GEM_LIBDIR}/ext/libsass/src/ast_def_macros.hpp
+${GEM_LIBDIR}/ext/libsass/src/ast_fwd_decl.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_fwd_decl.hpp
+${GEM_LIBDIR}/ext/libsass/src/ast_sel_cmp.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_sel_unify.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_selectors.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_selectors.hpp
+${GEM_LIBDIR}/ext/libsass/src/ast_supports.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_supports.hpp
+${GEM_LIBDIR}/ext/libsass/src/ast_values.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_values.hpp
+${GEM_LIBDIR}/ext/libsass/src/b64/cencode.h
+${GEM_LIBDIR}/ext/libsass/src/b64/encode.h
+${GEM_LIBDIR}/ext/libsass/src/backtrace.cpp
+${GEM_LIBDIR}/ext/libsass/src/backtrace.hpp
+${GEM_LIBDIR}/ext/libsass/src/base64vlq.cpp
+${GEM_LIBDIR}/ext/libsass/src/base64vlq.hpp
+${GEM_LIBDIR}/ext/libsass/src/bind.cpp
+${GEM_LIBDIR}/ext/libsass/src/bind.hpp
+${GEM_LIBDIR}/ext/libsass/src/c2ast.cpp
+${GEM_LIBDIR}/ext/libsass/src/c2ast.hpp
+${GEM_LIBDIR}/ext/libsass/src/c99func.c
+${GEM_LIBDIR}/ext/libsass/src/cencode.c
+${GEM_LIBDIR}/ext/libsass/src/check_nesting.cpp
+${GEM_LIBDIR}/ext/libsass/src/check_nesting.hpp
+${GEM_LIBDIR}/ext/libsass/src/color_maps.cpp
+${GEM_LIBDIR}/ext/libsass/src/color_maps.hpp
+${GEM_LIBDIR}/ext/libsass/src/constants.cpp
+${GEM_LIBDIR}/ext/libsass/src/constants.hpp
+${GEM_LIBDIR}/ext/libsass/src/context.cpp
+${GEM_LIBDIR}/ext/libsass/src/context.hpp
+${GEM_LIBDIR}/ext/libsass/src/cssize.cpp
+${GEM_LIBDIR}/ext/libsass/src/cssize.hpp
+${GEM_LIBDIR}/ext/libsass/src/debug.hpp
+${GEM_LIBDIR}/ext/libsass/src/debugger.hpp
+${GEM_LIBDIR}/ext/libsass/src/emitter.cpp
+${GEM_LIBDIR}/ext/libsass/src/emitter.hpp
+${GEM_LIBDIR}/ext/libsass/src/environment.cpp
+${GEM_LIBDIR}/ext/libsass/src/environment.hpp
+${GEM_LIBDIR}/ext/libsass/src/error_handling.cpp
+${GEM_LIBDIR}/ext/libsass/src/error_handling.hpp
+${GEM_LIBDIR}/ext/libsass/src/eval.cpp
+${GEM_LIBDIR}/ext/libsass/src/eval.hpp
+${GEM_LIBDIR}/ext/libsass/src/expand.cpp
+${GEM_LIBDIR}/ext/libsass/src/expand.hpp
+${GEM_LIBDIR}/ext/libsass/src/extend.cpp
+${GEM_LIBDIR}/ext/libsass/src/extend.hpp
+${GEM_LIBDIR}/ext/libsass/src/file.cpp
+${GEM_LIBDIR}/ext/libsass/src/file.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_colors.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_colors.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_lists.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_lists.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_maps.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_maps.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_miscs.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_miscs.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_numbers.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_numbers.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_selectors.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_selectors.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_strings.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_strings.hpp
+${GEM_LIBDIR}/ext/libsass/src/fn_utils.cpp
+${GEM_LIBDIR}/ext/libsass/src/fn_utils.hpp
+${GEM_LIBDIR}/ext/libsass/src/inspect.cpp
+${GEM_LIBDIR}/ext/libsass/src/inspect.hpp
+${GEM_LIBDIR}/ext/libsass/src/json.cpp
+${GEM_LIBDIR}/ext/libsass/src/json.hpp
+${GEM_LIBDIR}/ext/libsass/src/kwd_arg_macros.hpp
+${GEM_LIBDIR}/ext/libsass/src/lexer.cpp
+${GEM_LIBDIR}/ext/libsass/src/lexer.hpp
+${GEM_LIBDIR}/ext/libsass/src/listize.cpp
+${GEM_LIBDIR}/ext/libsass/src/listize.hpp
+${GEM_LIBDIR}/ext/libsass/src/mapping.hpp
+${GEM_LIBDIR}/ext/libsass/src/memory/SharedPtr.cpp
+${GEM_LIBDIR}/ext/libsass/src/memory/SharedPtr.hpp
+${GEM_LIBDIR}/ext/libsass/src/node.cpp
+${GEM_LIBDIR}/ext/libsass/src/node.hpp
+${GEM_LIBDIR}/ext/libsass/src/operation.hpp
+${GEM_LIBDIR}/ext/libsass/src/operators.cpp
+${GEM_LIBDIR}/ext/libsass/src/operators.hpp
+${GEM_LIBDIR}/ext/libsass/src/output.cpp
+${GEM_LIBDIR}/ext/libsass/src/output.hpp
+${GEM_LIBDIR}/ext/libsass/src/parser.cpp
+${GEM_LIBDIR}/ext/libsass/src/parser.hpp
+${GEM_LIBDIR}/ext/libsass/src/paths.hpp
+${GEM_LIBDIR}/ext/libsass/src/plugins.cpp
+${GEM_LIBDIR}/ext/libsass/src/plugins.hpp
+${GEM_LIBDIR}/ext/libsass/src/position.cpp
+${GEM_LIBDIR}/ext/libsass/src/position.hpp
+${GEM_LIBDIR}/ext/libsass/src/prelexer.cpp
+${GEM_LIBDIR}/ext/libsass/src/prelexer.hpp
+${GEM_LIBDIR}/ext/libsass/src/remove_placeholders.cpp
+${GEM_LIBDIR}/ext/libsass/src/remove_placeholders.hpp
+${GEM_LIBDIR}/ext/libsass/src/sass.cpp
+${GEM_LIBDIR}/ext/libsass/src/sass.hpp
+${GEM_LIBDIR}/ext/libsass/src/sass2scss.cpp
+${GEM_LIBDIR}/ext/libsass/src/sass_context.cpp
+${GEM_LIBDIR}/ext/libsass/src/sass_context.hpp
+${GEM_LIBDIR}/ext/libsass/src/sass_functions.cpp
+${GEM_LIBDIR}/ext/libsass/src/sass_functions.hpp
+${GEM_LIBDIR}/ext/libsass/src/sass_util.cpp
+${GEM_LIBDIR}/ext/libsass/src/sass_util.hpp
+${GEM_LIBDIR}/ext/libsass/src/sass_values.cpp
+${GEM_LIBDIR}/ext/libsass/src/sass_values.hpp
+${GEM_LIBDIR}/ext/libsass/src/source_map.cpp
+${GEM_LIBDIR}/ext/libsass/src/source_map.hpp
+${GEM_LIBDIR}/ext/libsass/src/subset_map.cpp
+${GEM_LIBDIR}/ext/libsass/src/subset_map.hpp
+${GEM_LIBDIR}/ext/libsass/src/to_value.cpp
+${GEM_LIBDIR}/ext/libsass/src/to_value.hpp
+${GEM_LIBDIR}/ext/libsass/src/units.cpp
+${GEM_LIBDIR}/ext/libsass/src/units.hpp
+${GEM_LIBDIR}/ext/libsass/src/utf8.h
+${GEM_LIBDIR}/ext/libsass/src/utf8/checked.h
+${GEM_LIBDIR}/ext/libsass/src/utf8/core.h
+${GEM_LIBDIR}/ext/libsass/src/utf8/unchecked.h
+${GEM_LIBDIR}/ext/libsass/src/utf8_string.cpp
+${GEM_LIBDIR}/ext/libsass/src/utf8_string.hpp
+${GEM_LIBDIR}/ext/libsass/src/util.cpp
+${GEM_LIBDIR}/ext/libsass/src/util.hpp
+${GEM_LIBDIR}/ext/libsass/src/util_string.cpp
+${GEM_LIBDIR}/ext/libsass/src/util_string.hpp
+${GEM_LIBDIR}/ext/libsass/src/values.cpp
+${GEM_LIBDIR}/ext/libsass/src/values.hpp
+${GEM_LIBDIR}/lib/sassc.rb
+${GEM_LIBDIR}/lib/sassc/dependency.rb
+${GEM_LIBDIR}/lib/sassc/engine.rb
+${GEM_LIBDIR}/lib/sassc/error.rb
+${GEM_LIBDIR}/lib/sassc/functions_handler.rb
+${GEM_LIBDIR}/lib/sassc/import_handler.rb
+${GEM_LIBDIR}/lib/sassc/importer.rb
+${GEM_LIBDIR}/lib/sassc/libsass.${RUBY_DLEXT}
+${GEM_LIBDIR}/lib/sassc/native.rb
+${GEM_LIBDIR}/lib/sassc/native/lib_c.rb
+${GEM_LIBDIR}/lib/sassc/native/native_context_api.rb
+${GEM_LIBDIR}/lib/sassc/native/native_functions_api.rb
+${GEM_LIBDIR}/lib/sassc/native/sass2scss_api.rb
+${GEM_LIBDIR}/lib/sassc/native/sass_input_style.rb
+${GEM_LIBDIR}/lib/sassc/native/sass_output_style.rb
+${GEM_LIBDIR}/lib/sassc/native/sass_value.rb
+${GEM_LIBDIR}/lib/sassc/native/string_list.rb
+${GEM_LIBDIR}/lib/sassc/sass_2_scss.rb
+${GEM_LIBDIR}/lib/sassc/script.rb
+${GEM_LIBDIR}/lib/sassc/script/functions.rb
+${GEM_LIBDIR}/lib/sassc/script/value.rb
+${GEM_LIBDIR}/lib/sassc/script/value/bool.rb
+${GEM_LIBDIR}/lib/sassc/script/value/color.rb
+${GEM_LIBDIR}/lib/sassc/script/value/list.rb
+${GEM_LIBDIR}/lib/sassc/script/value/map.rb
+${GEM_LIBDIR}/lib/sassc/script/value/number.rb
+${GEM_LIBDIR}/lib/sassc/script/value/string.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/base.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/bool.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/color.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/list.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/map.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/number.rb
+${GEM_LIBDIR}/lib/sassc/script/value_conversion/string.rb
+${GEM_LIBDIR}/lib/sassc/util.rb
+${GEM_LIBDIR}/lib/sassc/util/normalized_map.rb
+${GEM_LIBDIR}/lib/sassc/version.rb
+${GEM_LIBDIR}/sassc.gemspec
+${GEM_LIBDIR}/test/custom_importer_test.rb
+${GEM_LIBDIR}/test/engine_test.rb
+${GEM_LIBDIR}/test/error_test.rb
+${GEM_LIBDIR}/test/fixtures/paths.scss
+${GEM_LIBDIR}/test/functions_test.rb
+${GEM_LIBDIR}/test/native_test.rb
+${GEM_LIBDIR}/test/output_style_test.rb
+${GEM_LIBDIR}/test/sass_2_scss_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/distinfo   Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+
+SHA1 (sassc-2.2.1.gem) = b496f902738b776c45bfda4e5331d46ab86f07a6
+RMD160 (sassc-2.2.1.gem) = 98f0f990019e1da97c2c37979c537e6e75b05d2b
+SHA512 (sassc-2.2.1.gem) = 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb
+Size (sassc-2.2.1.gem) = 302080 bytes
+SHA1 (patch-ext_extconf.rb) = f7fe796136cf7c89dec971a8374709eb1b6183b8
+SHA1 (patch-ext_libsass_src_units.hpp) = 4673a9f289bd41c03f184e30ece3ee6e1b2efdf8
+SHA1 (patch-ext_libsass_src_util.hpp) = 29f7d12577af9b6b81306c55558b491b6ee16d69
diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/patches/patch-ext_extconf.rb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/patches/patch-ext_extconf.rb       Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ext_extconf.rb,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+
+--- ext/extconf.rb.orig        2019-09-27 13:30:47.910318310 +0000
++++ ext/extconf.rb
+@@ -19,12 +19,6 @@ if enable_config('static-stdlib', false)
+   $LDFLAGS << ' -static-libgcc -static-libstdc++'
+ end
+ 
+-# Set to false when building binary gems
+-if enable_config('march-tune-native', true)
+-  $CFLAGS << ' -march=native -mtune=native'
+-  $CXXFLAGS << ' -march=native -mtune=native'
+-end
+-
+ if enable_config('lto', true)
+   $CFLAGS << ' -flto'
+   $CXXFLAGS << ' -flto'
diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/patches/patch-ext_libsass_src_units.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/patches/patch-ext_libsass_src_units.hpp    Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ext_libsass_src_units.hpp,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+
+Avoid macro conflict on SunOS.
+
+--- ext/libsass/src/units.hpp.orig     2019-09-27 11:16:16.834608204 +0000
++++ ext/libsass/src/units.hpp
+@@ -6,6 +6,10 @@
+ #include <sstream>
+ #include <vector>
+ 
++#if defined(SEC)
++#undef SEC
++#endif
++
+ namespace Sass {
+ 
+   const double PI = std::acos(-1);
diff -r fa2dc96877e3 -r 8402f158ab67 www/ruby-sassc/patches/patch-ext_libsass_src_util.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-sassc/patches/patch-ext_libsass_src_util.hpp     Tue Oct 01 15:34:50 2019 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ext_libsass_src_util.hpp,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+
+Include cmath for std::fmod, etc
+
+--- ext/libsass/src/util.hpp.orig      2019-09-27 11:16:16.841429469 +0000
++++ ext/libsass/src/util.hpp
+@@ -8,11 +8,11 @@



Home | Main Index | Thread Index | Old Index