Source-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: update to 2.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2aa0c88bb96
branches:  trunk
changeset: 431939:f2aa0c88bb96
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun May 17 16:25:42 2020 +0000

description:
www/ruby-sassc: update to 2.3.0

Update to ruby-sassc to 2.3.0.


- **2.3.0**
  - [Fix rake gem:native task](https://github.com/sass/sassc-ruby/pull/196)
  - [disable lto flag for darwin + nix](https://github.com/sass/sassc-ruby/pull/166)
  - [Sort input file list](https://github.com/sass/sassc-ruby/pull/178)
  - [Set appropriate encoding for source_map](https://github.com/sass/sassc-ruby/pull/152)
  - [allow passing functions directly](https://github.com/sass/sassc-ruby/pull/162)
  - [always dispose data context](https://github.com/sass/sassc-ruby/pull/161)
  - [Update libsass to 3.6.3](https://github.com/sass/sassc-ruby/pull/164)
  - [Restore strip symbols](https://github.com/sass/sassc-ruby/pull/184)
  - [Default --march-tune-native to false](https://github.com/sass/sassc-ruby/pull/158)
  - [Fix compile issue on Mac OS X](https://github.com/sass/sassc-ruby/pull/174)
  - [Test on TruffleRuby in TravisCI](https://github.com/sass/sassc-ruby/pull/171)
  - [Use RbConfig::MAKEFILE_CONFIG['DLEXT'] instead of hardcoding extensions](https://github.com/sass/sassc-ruby/pull/173)

diffstat:

 www/ruby-sassc/Makefile                               |   4 +-
 www/ruby-sassc/PLIST                                  |  25 +++++++++++-------
 www/ruby-sassc/distinfo                               |  13 ++++-----
 www/ruby-sassc/patches/patch-ext_extconf.rb           |  16 +++++++----
 www/ruby-sassc/patches/patch-ext_libsass_src_util.hpp |  19 --------------
 5 files changed, 33 insertions(+), 44 deletions(-)

diffs (171 lines):

diff -r 281506036966 -r f2aa0c88bb96 www/ruby-sassc/Makefile
--- a/www/ruby-sassc/Makefile   Sun May 17 16:17:29 2020 +0000
+++ b/www/ruby-sassc/Makefile   Sun May 17 16:25:42 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/17 16:25:42 taca Exp $
 
-DISTNAME=      sassc-2.2.1
+DISTNAME=      sassc-2.3.0
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 281506036966 -r f2aa0c88bb96 www/ruby-sassc/PLIST
--- a/www/ruby-sassc/PLIST      Sun May 17 16:17:29 2020 +0000
+++ b/www/ruby-sassc/PLIST      Sun May 17 16:25:42 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/05/17 16:25:42 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/sassc/libsass.${RUBY_DLEXT}
@@ -29,8 +29,11 @@
 ${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_helpers.hpp
 ${GEM_LIBDIR}/ext/libsass/src/ast_sel_cmp.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_sel_super.cpp
 ${GEM_LIBDIR}/ext/libsass/src/ast_sel_unify.cpp
+${GEM_LIBDIR}/ext/libsass/src/ast_sel_weave.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
@@ -59,6 +62,7 @@
 ${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/dart_helpers.hpp
 ${GEM_LIBDIR}/ext/libsass/src/debug.hpp
 ${GEM_LIBDIR}/ext/libsass/src/debugger.hpp
 ${GEM_LIBDIR}/ext/libsass/src/emitter.cpp
@@ -69,10 +73,13 @@
 ${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/eval_selectors.cpp
 ${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/extender.cpp
+${GEM_LIBDIR}/ext/libsass/src/extender.hpp
+${GEM_LIBDIR}/ext/libsass/src/extension.cpp
+${GEM_LIBDIR}/ext/libsass/src/extension.hpp
 ${GEM_LIBDIR}/ext/libsass/src/file.cpp
 ${GEM_LIBDIR}/ext/libsass/src/file.hpp
 ${GEM_LIBDIR}/ext/libsass/src/fn_colors.cpp
@@ -103,16 +110,16 @@
 ${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/ordered_map.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/parser_selectors.cpp
+${GEM_LIBDIR}/ext/libsass/src/permutate.hpp
 ${GEM_LIBDIR}/ext/libsass/src/plugins.cpp
 ${GEM_LIBDIR}/ext/libsass/src/plugins.hpp
 ${GEM_LIBDIR}/ext/libsass/src/position.cpp
@@ -128,14 +135,12 @@
 ${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/stylesheet.cpp
+${GEM_LIBDIR}/ext/libsass/src/stylesheet.hpp
 ${GEM_LIBDIR}/ext/libsass/src/to_value.cpp
 ${GEM_LIBDIR}/ext/libsass/src/to_value.hpp
 ${GEM_LIBDIR}/ext/libsass/src/units.cpp
diff -r 281506036966 -r f2aa0c88bb96 www/ruby-sassc/distinfo
--- a/www/ruby-sassc/distinfo   Sun May 17 16:17:29 2020 +0000
+++ b/www/ruby-sassc/distinfo   Sun May 17 16:25:42 2020 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.2 2019/12/25 00:14:15 joerg Exp $
+$NetBSD: distinfo,v 1.3 2020/05/17 16:25:42 taca 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) = 541bee4de572121ba554be7975335102b699f0fa
+SHA1 (sassc-2.3.0.gem) = 53868c8146264e70c532ec5d683d014436eaf922
+RMD160 (sassc-2.3.0.gem) = 652acfcb675155f8aa77eac26b94b1ebaff986d2
+SHA512 (sassc-2.3.0.gem) = 370731adf12aeac11ed6568a60986a051f7f37e8b756a484a07ce8b13426bd81b33d8a87eb90d189298390cd4e465a7dc0786a1c7e2b86e1c77941284c80b900
+Size (sassc-2.3.0.gem) = 299008 bytes
+SHA1 (patch-ext_extconf.rb) = 57af96d62fa5d1faf154681b403242bfcfd0fa68
 SHA1 (patch-ext_libsass_src_units.hpp) = 4673a9f289bd41c03f184e30ece3ee6e1b2efdf8
-SHA1 (patch-ext_libsass_src_util.hpp) = 29f7d12577af9b6b81306c55558b491b6ee16d69
diff -r 281506036966 -r f2aa0c88bb96 www/ruby-sassc/patches/patch-ext_extconf.rb
--- a/www/ruby-sassc/patches/patch-ext_extconf.rb       Sun May 17 16:17:29 2020 +0000
+++ b/www/ruby-sassc/patches/patch-ext_extconf.rb       Sun May 17 16:25:42 2020 +0000
@@ -1,21 +1,25 @@
-$NetBSD: patch-ext_extconf.rb,v 1.2 2019/12/25 00:14:15 joerg Exp $
+$NetBSD: patch-ext_extconf.rb,v 1.3 2020/05/17 16:25:42 taca Exp $
 
 Don't enable host-specific optimisations.
 Don't enable LTO.
 
---- ext/extconf.rb.orig        2019-09-27 13:30:47.910318310 +0000
+--- ext/extconf.rb.orig        2020-04-25 02:39:24.087193330 +0000
 +++ ext/extconf.rb
-@@ -19,18 +19,6 @@ if enable_config('static-stdlib', false)
+@@ -19,22 +19,11 @@ 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)
+-if enable_config('march-tune-native', false)
 -  $CFLAGS << ' -march=native -mtune=native'
 -  $CXXFLAGS << ' -march=native -mtune=native'
 -end
 -
--if enable_config('lto', true)
+ # darwin nix clang doesn't support lto
+ # disable -lto flag for darwin + nix
+ # see: https://github.com/sass/sassc-ruby/issues/148
+ enable_lto_by_default = (Gem::Platform.local.os == "darwin" && !ENV['NIX_CC'].nil?)
+ 
+-if enable_config('lto', enable_lto_by_default)
 -  $CFLAGS << ' -flto'
 -  $CXXFLAGS << ' -flto'
 -  $LDFLAGS << ' -flto'
diff -r 281506036966 -r f2aa0c88bb96 www/ruby-sassc/patches/patch-ext_libsass_src_util.hpp
--- a/www/ruby-sassc/patches/patch-ext_libsass_src_util.hpp     Sun May 17 16:17:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$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 @@
- #include "sass/base.h"
- #include "ast_fwd_decl.hpp"
- 
-+#include <cmath>
- #include <cstring>
- #include <vector>
- #include <string>
- #include <assert.h>
--#include <math.h>
- 
- #define SASS_ASSERT(cond, msg) assert(cond && msg)
- 



Home | Main Index | Thread Index | Old Index