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: import ruby27-iruby...
details: https://anonhg.NetBSD.org/pkgsrc/rev/402b09dabf1e
branches: trunk
changeset: 439516:402b09dabf1e
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Sep 20 08:57:32 2020 +0000
description:
devel/ruby-iruby: import ruby27-iruby-0.4.0
IRuby is a Ruby kernel for Jupyter project.
diffstat:
devel/ruby-iruby/DESCR | 1 +
devel/ruby-iruby/Makefile | 30 +++++++
devel/ruby-iruby/PLIST | 80 +++++++++++++++++++++
devel/ruby-iruby/distinfo | 7 +
devel/ruby-iruby/patches/patch-lib_iruby_command.rb | 24 ++++++
5 files changed, 142 insertions(+), 0 deletions(-)
diffs (162 lines):
diff -r 6e45e03c8443 -r 402b09dabf1e devel/ruby-iruby/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iruby/DESCR Sun Sep 20 08:57:32 2020 +0000
@@ -0,0 +1,1 @@
+IRuby is a Ruby kernel for Jupyter project.
diff -r 6e45e03c8443 -r 402b09dabf1e devel/ruby-iruby/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iruby/Makefile Sun Sep 20 08:57:32 2020 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/09/20 08:57:32 ryoon Exp $
+
+DISTNAME= iruby-0.4.0
+CATEGORIES= devel
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SciRuby/iruby
+COMMENT= Ruby kernel for Jupyter/IPython frontends
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-bond>=0.5.1:../../devel/ruby-bond
+DEPENDS+= ${RUBY_PKGPREFIX}-data_uri>=0.1.0:../../www/ruby-data_uri
+DEPENDS+= ${RUBY_PKGPREFIX}-mimemagic>=0.3.5:../../misc/ruby-mimemagic
+DEPENDS+= ${RUBY_PKGPREFIX}-multi_json>=1.11:../../textproc/ruby-multi_json
+
+DEPENDS+= ${RUBY_PKGPREFIX}-pycall>=1.3.1:../../devel/ruby-pycall
+DEPENDS+= ${RUBY_PKGPREFIX}-fiddle-[0-9]*:../../devel/ruby-fiddle
+DEPENDS+= ${RUBY_PKGPREFIX}-ffi-rzmq-[0-9]*:../../net/ruby-ffi-rzmq
+
+DEPENDS+= ${PYPKGPREFIX}-ipython>=6.0.0:../../devel/py-ipython
+
+SUBST_CLASSES+= python
+SUBST_STAGE.python= pre-configure
+SUBST_MESSAGE.python= Versioned ipython command
+SUBST_FILES.python= lib/iruby/command.rb
+SUBST_VARS.python= PYVERSSUFFIX
+
+.include "../../lang/ruby/gem.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6e45e03c8443 -r 402b09dabf1e devel/ruby-iruby/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iruby/PLIST Sun Sep 20 08:57:32 2020 +0000
@@ -0,0 +1,80 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/20 08:57:32 ryoon Exp $
+bin/iruby
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/CHANGES
+${GEM_LIBDIR}/CONTRIBUTORS
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/iruby
+${GEM_LIBDIR}/ci/Dockerfile.base.erb
+${GEM_LIBDIR}/ci/Dockerfile.main.erb
+${GEM_LIBDIR}/ci/requirements.txt
+${GEM_LIBDIR}/docker/setup.sh
+${GEM_LIBDIR}/docker/test.sh
+${GEM_LIBDIR}/iruby.gemspec
+${GEM_LIBDIR}/lib/iruby.rb
+${GEM_LIBDIR}/lib/iruby/assets/kernel.css
+${GEM_LIBDIR}/lib/iruby/assets/kernel.js
+${GEM_LIBDIR}/lib/iruby/assets/logo-32x32.png
+${GEM_LIBDIR}/lib/iruby/assets/logo-64x64.png
+${GEM_LIBDIR}/lib/iruby/backend.rb
+${GEM_LIBDIR}/lib/iruby/comm.rb
+${GEM_LIBDIR}/lib/iruby/command.rb
+${GEM_LIBDIR}/lib/iruby/display.rb
+${GEM_LIBDIR}/lib/iruby/formatter.rb
+${GEM_LIBDIR}/lib/iruby/input.rb
+${GEM_LIBDIR}/lib/iruby/input/README.ipynb
+${GEM_LIBDIR}/lib/iruby/input/README.md
+${GEM_LIBDIR}/lib/iruby/input/autoload.rb
+${GEM_LIBDIR}/lib/iruby/input/builder.rb
+${GEM_LIBDIR}/lib/iruby/input/button.rb
+${GEM_LIBDIR}/lib/iruby/input/cancel.rb
+${GEM_LIBDIR}/lib/iruby/input/checkbox.rb
+${GEM_LIBDIR}/lib/iruby/input/date.rb
+${GEM_LIBDIR}/lib/iruby/input/field.rb
+${GEM_LIBDIR}/lib/iruby/input/file.rb
+${GEM_LIBDIR}/lib/iruby/input/form.rb
+${GEM_LIBDIR}/lib/iruby/input/label.rb
+${GEM_LIBDIR}/lib/iruby/input/multiple.rb
+${GEM_LIBDIR}/lib/iruby/input/popup.rb
+${GEM_LIBDIR}/lib/iruby/input/radio.rb
+${GEM_LIBDIR}/lib/iruby/input/select.rb
+${GEM_LIBDIR}/lib/iruby/input/textarea.rb
+${GEM_LIBDIR}/lib/iruby/input/widget.rb
+${GEM_LIBDIR}/lib/iruby/jupyter.rb
+${GEM_LIBDIR}/lib/iruby/kernel.rb
+${GEM_LIBDIR}/lib/iruby/logger.rb
+${GEM_LIBDIR}/lib/iruby/ostream.rb
+${GEM_LIBDIR}/lib/iruby/session.rb
+${GEM_LIBDIR}/lib/iruby/session/cztop.rb
+${GEM_LIBDIR}/lib/iruby/session/ffi_rzmq.rb
+${GEM_LIBDIR}/lib/iruby/session/mixin.rb
+${GEM_LIBDIR}/lib/iruby/session/rbczmq.rb
+${GEM_LIBDIR}/lib/iruby/session_adapter.rb
+${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/rbczmq_adapter.rb
+${GEM_LIBDIR}/lib/iruby/utils.rb
+${GEM_LIBDIR}/lib/iruby/version.rb
+${GEM_LIBDIR}/logo/logo-32x32.png
+${GEM_LIBDIR}/logo/logo-64x64.png
+${GEM_LIBDIR}/logo/ruby.svg
+${GEM_LIBDIR}/run-test.sh
+${GEM_LIBDIR}/tasks/ci.rake
+${GEM_LIBDIR}/test/integration_test.rb
+${GEM_LIBDIR}/test/iruby/command_test.rb
+${GEM_LIBDIR}/test/iruby/jupyter_test.rb
+${GEM_LIBDIR}/test/iruby/multi_logger_test.rb
+${GEM_LIBDIR}/test/iruby/session_adapter/cztop_adapter_test.rb
+${GEM_LIBDIR}/test/iruby/session_adapter/ffirzmq_adapter_test.rb
+${GEM_LIBDIR}/test/iruby/session_adapter/rbczmq_adapter_test.rb
+${GEM_LIBDIR}/test/iruby/session_adapter/session_adapter_test_base.rb
+${GEM_LIBDIR}/test/iruby/session_adapter_test.rb
+${GEM_LIBDIR}/test/iruby/session_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 6e45e03c8443 -r 402b09dabf1e devel/ruby-iruby/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iruby/distinfo Sun Sep 20 08:57:32 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/09/20 08:57:32 ryoon Exp $
+
+SHA1 (iruby-0.4.0.gem) = f3ecfe9590b1f7650fc837eab34755337c8df39a
+RMD160 (iruby-0.4.0.gem) = a42ea8a83c29ba49feddad7f93c907832123e84c
+SHA512 (iruby-0.4.0.gem) = d1a002dd1591761bb94775fe29edf28e2194bca48c2fed378350242cd15047eb168cfe20329bac6776536075a67ffe1eae74438d7b726f864bd113f73127f88e
+Size (iruby-0.4.0.gem) = 101376 bytes
+SHA1 (patch-lib_iruby_command.rb) = 374c3dc45af13485d0dfdd84ea16fcd0a563419e
diff -r 6e45e03c8443 -r 402b09dabf1e devel/ruby-iruby/patches/patch-lib_iruby_command.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-iruby/patches/patch-lib_iruby_command.rb Sun Sep 20 08:57:32 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-lib_iruby_command.rb,v 1.1 2020/09/20 08:57:32 ryoon Exp $
+
+* For versioned ipython command from pkgsrc.
+
+--- lib/iruby/command.rb.orig 2020-09-18 09:20:04.795404140 +0000
++++ lib/iruby/command.rb
+@@ -115,7 +115,7 @@ Try `ipython help` for more information.
+
+ def check_version
+ required = '3.0.0'
+- version = `ipython --version`.chomp
++ version = `ipython-@PYVERSSUFFIX@ --version`.chomp
+ 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.
+ check_registered_kernel
+ check_bundler {|e| STDERR.puts "Could not load bundler: #{e.message}" }
+
+- Kernel.exec('ipython', *@args)
++ Kernel.exec('ipython-@PYVERSSUFFIX@', *@args)
+ end
+
+ def check_registered_kernel
Home |
Main Index |
Thread Index |
Old Index