summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2015-10-04 13:26:10 +0000
committertaca <taca>2015-10-04 13:26:10 +0000
commitec6994280e1fba8330299cd180dcef7eb2e68b61 (patch)
tree4ca3c221f5ef8a4cbf5beff00c5f6b421fd1b91f
parent1b7d6265fd5fdb34f2625ba1e1c6818381275b78 (diff)
downloadpkgsrc-ec6994280e1fba8330299cd180dcef7eb2e68b61.tar.gz
Update ruby-listen to 3.0.3.
pkgsrc change: add pkg_alternatives support. v3.0.3 Improvements * #330 - fixed warnings on JRuby v3.0.2 Bugfixes * fix #328 - add missing require which crashed Listen on OSX (thanks to @noahsw for reporting) v3.0.1 Bugfixes * #325, #327 - fix regressions (allow Listen to run correctly without other deps + properly handle pause()) v3.0.0 KNOWN ISSUES * #319, #258 - TCP is no longer part of Listen, and there's currently no alternative except downgrading to Listen 2.x API CHANGES * TCP functionality removed (Listen.on, Adapter::TCP, Adapter::TCP::Broadcaster, etc.) * Listener#start should be used instead of Listener#unpause * Listener#directories is no longer available * Listener#options is no longer available as public API IMPROVEMENTS * Major performance improvements (CPU), especially for Polling * Celluloid is no longer required by Listen (which means: better performance, less dependencies, less threads used, less version conflicts, easier debugging, less potential issues/bugs) * TCP is no longer part of Listen (which means: more maintainable codebase and possibility to create much better TCP implementation without the tradeoffs) Development * major codebase rewrite * better logging by default
-rw-r--r--sysutils/ruby-listen/ALTERNATIVES1
-rw-r--r--sysutils/ruby-listen/Makefile5
-rw-r--r--sysutils/ruby-listen/PLIST19
-rw-r--r--sysutils/ruby-listen/distinfo8
4 files changed, 20 insertions, 13 deletions
diff --git a/sysutils/ruby-listen/ALTERNATIVES b/sysutils/ruby-listen/ALTERNATIVES
new file mode 100644
index 00000000000..2dcc5c1d245
--- /dev/null
+++ b/sysutils/ruby-listen/ALTERNATIVES
@@ -0,0 +1 @@
+bin/listen @PREFIX@/bin/listen@RUBY_SUFFIX@
diff --git a/sysutils/ruby-listen/Makefile b/sysutils/ruby-listen/Makefile
index 7feca9c01de..af6eecd39ff 100644
--- a/sysutils/ruby-listen/Makefile
+++ b/sysutils/ruby-listen/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2015/09/13 15:14:46 taca Exp $
+# $NetBSD: Makefile,v 1.7 2015/10/04 13:26:10 taca Exp $
-DISTNAME= listen-2.10.1
+DISTNAME= listen-3.0.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils
@@ -13,6 +13,7 @@ DEPENDS+= ${RUBY_PKGPREFIX}-celluloid>=0.15.2:../../devel/ruby-celluloid
#DEPENDS+= ${RUBY_PKGPREFIX}-rb-fsevent>=0.9.3:../../sysutils/ruby-rb-fsevent
DEPENDS+= ${RUBY_PKGPREFIX}-rb-inotify>=0.9:../../sysutils/ruby-rb-inotify
+RUBYGEM_OPTIONS+= --format-executable
OVERRIDE_GEMSPEC+= rb-fsevent:
.include "../../lang/ruby/gem.mk"
diff --git a/sysutils/ruby-listen/PLIST b/sysutils/ruby-listen/PLIST
index 9e75536ad80..8a96b049390 100644
--- a/sysutils/ruby-listen/PLIST
+++ b/sysutils/ruby-listen/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2015/03/13 16:05:19 taca Exp $
-bin/listen
+@comment $NetBSD: PLIST,v 1.3 2015/10/04 13:26:10 taca Exp $
+bin/listen${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/CONTRIBUTING.md
@@ -10,26 +10,31 @@ ${GEM_LIBDIR}/lib/listen.rb
${GEM_LIBDIR}/lib/listen/adapter.rb
${GEM_LIBDIR}/lib/listen/adapter/base.rb
${GEM_LIBDIR}/lib/listen/adapter/bsd.rb
+${GEM_LIBDIR}/lib/listen/adapter/config.rb
${GEM_LIBDIR}/lib/listen/adapter/darwin.rb
${GEM_LIBDIR}/lib/listen/adapter/linux.rb
${GEM_LIBDIR}/lib/listen/adapter/polling.rb
-${GEM_LIBDIR}/lib/listen/adapter/tcp.rb
${GEM_LIBDIR}/lib/listen/adapter/windows.rb
+${GEM_LIBDIR}/lib/listen/backend.rb
${GEM_LIBDIR}/lib/listen/change.rb
${GEM_LIBDIR}/lib/listen/cli.rb
${GEM_LIBDIR}/lib/listen/directory.rb
+${GEM_LIBDIR}/lib/listen/event/config.rb
+${GEM_LIBDIR}/lib/listen/event/loop.rb
+${GEM_LIBDIR}/lib/listen/event/processor.rb
+${GEM_LIBDIR}/lib/listen/event/queue.rb
${GEM_LIBDIR}/lib/listen/file.rb
-${GEM_LIBDIR}/lib/listen/internals/logging.rb
+${GEM_LIBDIR}/lib/listen/fsm.rb
${GEM_LIBDIR}/lib/listen/internals/thread_pool.rb
${GEM_LIBDIR}/lib/listen/listener.rb
+${GEM_LIBDIR}/lib/listen/listener/config.rb
+${GEM_LIBDIR}/lib/listen/logger.rb
${GEM_LIBDIR}/lib/listen/options.rb
${GEM_LIBDIR}/lib/listen/queue_optimizer.rb
${GEM_LIBDIR}/lib/listen/record.rb
${GEM_LIBDIR}/lib/listen/record/entry.rb
${GEM_LIBDIR}/lib/listen/record/symlink_detector.rb
${GEM_LIBDIR}/lib/listen/silencer.rb
-${GEM_LIBDIR}/lib/listen/tcp.rb
-${GEM_LIBDIR}/lib/listen/tcp/broadcaster.rb
-${GEM_LIBDIR}/lib/listen/tcp/message.rb
+${GEM_LIBDIR}/lib/listen/silencer/controller.rb
${GEM_LIBDIR}/lib/listen/version.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/sysutils/ruby-listen/distinfo b/sysutils/ruby-listen/distinfo
index 05c86b8f215..b33998d9299 100644
--- a/sysutils/ruby-listen/distinfo
+++ b/sysutils/ruby-listen/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2015/09/13 15:14:46 taca Exp $
+$NetBSD: distinfo,v 1.5 2015/10/04 13:26:10 taca Exp $
-SHA1 (listen-2.10.1.gem) = f271ca2ac22f4f5bf299489354d89079641c1c06
-RMD160 (listen-2.10.1.gem) = 1eea669d31c4d3228346e7ef49320aaab572fd73
-Size (listen-2.10.1.gem) = 26624 bytes
+SHA1 (listen-3.0.3.gem) = 0cd4eaf6819cbdcbef85210f9cd7419aaf93173b
+RMD160 (listen-3.0.3.gem) = 0462aed624fcc60355430209fb66893eaa9161a7
+Size (listen-3.0.3.gem) = 26624 bytes