pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-iruby devel/ruby-iruby: update to 0.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d80897202c56
branches:  trunk
changeset: 453395:d80897202c56
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat May 29 15:04:31 2021 +0000

description:
devel/ruby-iruby: update to 0.7.0

0.7.0 (2021-05-28)

Enhancements
* The default backend is changed to IRB (@mrkn)
* Add IRuby::Kernel#switch_backend! method (@mrkn)

Bug Fixes
* Fix the handling of image/svg+xml
  https://github.com/SciRuby/iruby/pull/300,
  https://github.com/SciRuby/iruby/pull/301 (@kojix2)

0.6.1 (2021-05-26)

Bug Fixes
* Follow the messages and hooks orders during execute_request processing
  (@mrkn)

0.6.0 (2021-05-25)

Bug Fixes
* Fix the handling of application/javascript
  https://github.com/SciRuby/iruby/issues/292,
  https://github.com/SciRuby/iruby/pull/294 (@kylekyle, @mrkn)

Enhancements
* Add the initialized event in IRuby::Kernel class
  https://github.com/SciRuby/iruby/pull/168,
  https://github.com/SciRuby/iruby/pull/296 (@Yuki-Inoue, @mrkn)
* Add the following four events https://github.com/SciRuby/iruby/pull/295
  (@mrkn):
  - pre-execute -- occurs before every code execution
  - pre-run-cell -- occurs before every non-silent code execution
  - post-execute -- occurs after every code execution
  - post-run-cell -- occurs after every non-silent code execution
* Replace Bond with IRB in PlainBackend
  https://github.com/SciRuby/iruby/pull/276,
  https://github.com/SciRuby/iruby/pull/297 (@cfis, @mrkn)

diffstat:

 devel/ruby-iruby/Makefile                           |   6 ++++--
 devel/ruby-iruby/PLIST                              |  10 +++++++---
 devel/ruby-iruby/distinfo                           |  12 ++++++------
 devel/ruby-iruby/patches/patch-lib_iruby_command.rb |  12 ++++++------
 4 files changed, 23 insertions(+), 17 deletions(-)

diffs (113 lines):

diff -r d814a32ad0af -r d80897202c56 devel/ruby-iruby/Makefile
--- a/devel/ruby-iruby/Makefile Sat May 29 15:01:17 2021 +0000
+++ b/devel/ruby-iruby/Makefile Sat May 29 15:04:31 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2021/05/04 14:17:46 taca Exp $
+# $NetBSD: Makefile,v 1.4 2021/05/29 15:04:31 taca Exp $
 
-DISTNAME=      iruby-0.5.0
+DISTNAME=      iruby-0.7.0
 CATEGORIES=    devel
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
@@ -21,6 +21,8 @@
 
 USE_LANGUAGES= # none
 
+RUBYGEM_OPTIONS+=      --format-executable
+
 SUBST_CLASSES+=                python
 SUBST_STAGE.python=    pre-configure
 SUBST_MESSAGE.python=  Versioned ipython command
diff -r d814a32ad0af -r d80897202c56 devel/ruby-iruby/PLIST
--- a/devel/ruby-iruby/PLIST    Sat May 29 15:01:17 2021 +0000
+++ b/devel/ruby-iruby/PLIST    Sat May 29 15:04:31 2021 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2021/05/04 14:17:46 taca Exp $
-bin/iruby
+@comment $NetBSD: PLIST,v 1.3 2021/05/29 15:04:31 taca Exp $
+bin/iruby${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.github/workflows/ubuntu.yml
 ${GEM_LIBDIR}/.gitignore
-${GEM_LIBDIR}/CHANGES
+${GEM_LIBDIR}/CHANGES.md
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.md
@@ -24,6 +24,7 @@
 ${GEM_LIBDIR}/lib/iruby/comm.rb
 ${GEM_LIBDIR}/lib/iruby/command.rb
 ${GEM_LIBDIR}/lib/iruby/display.rb
+${GEM_LIBDIR}/lib/iruby/event_manager.rb
 ${GEM_LIBDIR}/lib/iruby/formatter.rb
 ${GEM_LIBDIR}/lib/iruby/input.rb
 ${GEM_LIBDIR}/lib/iruby/input/README.ipynb
@@ -56,6 +57,7 @@
 ${GEM_LIBDIR}/lib/iruby/session_adapter/cztop_adapter.rb
 ${GEM_LIBDIR}/lib/iruby/session_adapter/ffirzmq_adapter.rb
 ${GEM_LIBDIR}/lib/iruby/session_adapter/pyzmq_adapter.rb
+${GEM_LIBDIR}/lib/iruby/session_adapter/test_adapter.rb
 ${GEM_LIBDIR}/lib/iruby/utils.rb
 ${GEM_LIBDIR}/lib/iruby/version.rb
 ${GEM_LIBDIR}/logo/logo-32x32.png
@@ -67,7 +69,9 @@
 ${GEM_LIBDIR}/test/integration_test.rb
 ${GEM_LIBDIR}/test/iruby/backend_test.rb
 ${GEM_LIBDIR}/test/iruby/command_test.rb
+${GEM_LIBDIR}/test/iruby/event_manager_test.rb
 ${GEM_LIBDIR}/test/iruby/jupyter_test.rb
+${GEM_LIBDIR}/test/iruby/kernel_test.rb
 ${GEM_LIBDIR}/test/iruby/mime_test.rb
 ${GEM_LIBDIR}/test/iruby/multi_logger_test.rb
 ${GEM_LIBDIR}/test/iruby/session_adapter/cztop_adapter_test.rb
diff -r d814a32ad0af -r d80897202c56 devel/ruby-iruby/distinfo
--- a/devel/ruby-iruby/distinfo Sat May 29 15:01:17 2021 +0000
+++ b/devel/ruby-iruby/distinfo Sat May 29 15:04:31 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2021/05/04 14:17:46 taca Exp $
+$NetBSD: distinfo,v 1.3 2021/05/29 15:04:31 taca Exp $
 
-SHA1 (iruby-0.5.0.gem) = 5e50c30d369b2ae8635c404c7866df61ebae2709
-RMD160 (iruby-0.5.0.gem) = 68d6608014c0d34937d0f1254756d3fdefff7023
-SHA512 (iruby-0.5.0.gem) = 5078eee0fd6e7369ce1dd48937911b9a1d6857e1501b63f7f63664198b34b32c7ba5c30318e878edce192d8395fd44d2d2b9de0981be0c992cbd1c1a01695e77
-Size (iruby-0.5.0.gem) = 102400 bytes
-SHA1 (patch-lib_iruby_command.rb) = 374c3dc45af13485d0dfdd84ea16fcd0a563419e
+SHA1 (iruby-0.7.0.gem) = a7f473255ca3c16db66f8fa14a1c8b81078d1939
+RMD160 (iruby-0.7.0.gem) = 60ccc47f3801a9835aa26f465b91eae855d3ecb8
+SHA512 (iruby-0.7.0.gem) = 8cc4d57d7d741cf9311b1b568c360cb18709b3312266a42581cd31ef2fe517c0449f8de84f8f8605a37bc7ad9df4064189f6ddf9ebf995a00073f3ed3afbbac2
+Size (iruby-0.7.0.gem) = 106496 bytes
+SHA1 (patch-lib_iruby_command.rb) = f5f9ab48a913cfdafafc47e39c39638fd21e3e57
diff -r d814a32ad0af -r d80897202c56 devel/ruby-iruby/patches/patch-lib_iruby_command.rb
--- a/devel/ruby-iruby/patches/patch-lib_iruby_command.rb       Sat May 29 15:01:17 2021 +0000
+++ b/devel/ruby-iruby/patches/patch-lib_iruby_command.rb       Sat May 29 15:04:31 2021 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-lib_iruby_command.rb,v 1.1 2020/09/20 08:57:32 ryoon Exp $
+$NetBSD: patch-lib_iruby_command.rb,v 1.2 2021/05/29 15:04:32 taca Exp $
 
 * For versioned ipython command from pkgsrc.
 
---- lib/iruby/command.rb.orig  2020-09-18 09:20:04.795404140 +0000
+--- lib/iruby/command.rb.orig  2021-05-29 02:19:05.405882756 +0000
 +++ lib/iruby/command.rb
-@@ -115,7 +115,7 @@ Try `ipython help` for more information.
+@@ -111,7 +111,7 @@ Try `ipython help` for more information.
  
      def check_version
        required = '3.0.0'
@@ -13,12 +13,12 @@
        if version < required
          STDERR.puts "Your IPython version #{version} is too old, at least #{required} is required"
          exit 1
-@@ -131,7 +131,7 @@ Try `ipython help` for more information.
+@@ -127,7 +127,7 @@ Try `ipython help` for more information.
        check_registered_kernel
        check_bundler {|e| STDERR.puts "Could not load bundler: #{e.message}" }
  
--      Kernel.exec('ipython', *@args)
-+      Kernel.exec('ipython-@PYVERSSUFFIX@', *@args)
+-      Process.exec('ipython', *@args)
++      Process.exec('ipython-@PYVERSSUFFIX@', *@args)
      end
  
      def check_registered_kernel



Home | Main Index | Thread Index | Old Index