summaryrefslogtreecommitdiff
path: root/misc/ruby-thread_safe
diff options
context:
space:
mode:
authorobache <obache>2014-01-17 13:00:00 +0000
committerobache <obache>2014-01-17 13:00:00 +0000
commit426b84bd127e0153e3a8525c57d9b882d119033b (patch)
tree8b82ee63d6cceb282d942ecfdef201486fe1e44b /misc/ruby-thread_safe
parentb248a6c3ac75dbacd783ff7bf97402f066ef6e42 (diff)
downloadpkgsrc-426b84bd127e0153e3a8525c57d9b882d119033b.tar.gz
Import ruby-thread_safe-0.1.3 as misc/ruby-thread_safe.
part of PR pkg/48447 Threadsafe is a collection of thread-safe versions of common core Ruby classes.
Diffstat (limited to 'misc/ruby-thread_safe')
-rw-r--r--misc/ruby-thread_safe/DESCR2
-rw-r--r--misc/ruby-thread_safe/Makefile17
-rw-r--r--misc/ruby-thread_safe/PLIST40
-rw-r--r--misc/ruby-thread_safe/distinfo5
4 files changed, 64 insertions, 0 deletions
diff --git a/misc/ruby-thread_safe/DESCR b/misc/ruby-thread_safe/DESCR
new file mode 100644
index 00000000000..eef1168b645
--- /dev/null
+++ b/misc/ruby-thread_safe/DESCR
@@ -0,0 +1,2 @@
+Threadsafe is a collection of thread-safe versions of common core
+Ruby classes.
diff --git a/misc/ruby-thread_safe/Makefile b/misc/ruby-thread_safe/Makefile
new file mode 100644
index 00000000000..53cd3abd55e
--- /dev/null
+++ b/misc/ruby-thread_safe/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2014/01/17 13:00:00 obache Exp $
+#
+
+DISTNAME= thread_safe-0.1.3
+CATEGORIES= misc
+
+MAINTAINER= tsutsui@NetBSD.org
+HOMEPAGE= https://github.com/headius/thread_safe
+COMMENT= Thread-safe collections and utilities for Ruby
+LICENSE= apache-2.0
+
+DEPENDS+= ${RUBY_PKGPREFIX}-atomic>=0:../../devel/ruby-atomic
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ruby-thread_safe/PLIST b/misc/ruby-thread_safe/PLIST
new file mode 100644
index 00000000000..9704e4f655f
--- /dev/null
+++ b/misc/ruby-thread_safe/PLIST
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/17 13:00:00 obache Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/examples/bench_cache.rb
+${GEM_LIBDIR}/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java
+${GEM_LIBDIR}/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java
+${GEM_LIBDIR}/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java
+${GEM_LIBDIR}/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java
+${GEM_LIBDIR}/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java
+${GEM_LIBDIR}/ext/thread_safe/JrubyCacheBackendService.java
+${GEM_LIBDIR}/lib/thread_safe.rb
+${GEM_LIBDIR}/lib/thread_safe/atomic_reference_cache_backend.rb
+${GEM_LIBDIR}/lib/thread_safe/cache.rb
+${GEM_LIBDIR}/lib/thread_safe/jruby_cache_backend.jar
+${GEM_LIBDIR}/lib/thread_safe/mri_cache_backend.rb
+${GEM_LIBDIR}/lib/thread_safe/non_concurrent_cache_backend.rb
+${GEM_LIBDIR}/lib/thread_safe/synchronized_cache_backend.rb
+${GEM_LIBDIR}/lib/thread_safe/synchronized_delegator.rb
+${GEM_LIBDIR}/lib/thread_safe/util.rb
+${GEM_LIBDIR}/lib/thread_safe/util/adder.rb
+${GEM_LIBDIR}/lib/thread_safe/util/atomic_reference.rb
+${GEM_LIBDIR}/lib/thread_safe/util/cheap_lockable.rb
+${GEM_LIBDIR}/lib/thread_safe/util/power_of_two_tuple.rb
+${GEM_LIBDIR}/lib/thread_safe/util/striped64.rb
+${GEM_LIBDIR}/lib/thread_safe/util/volatile.rb
+${GEM_LIBDIR}/lib/thread_safe/util/volatile_tuple.rb
+${GEM_LIBDIR}/lib/thread_safe/util/xor_shift_random.rb
+${GEM_LIBDIR}/lib/thread_safe/version.rb
+${GEM_LIBDIR}/test/test_array.rb
+${GEM_LIBDIR}/test/test_cache.rb
+${GEM_LIBDIR}/test/test_cache_loops.rb
+${GEM_LIBDIR}/test/test_hash.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_LIBDIR}/test/test_synchronized_delegator.rb
+${GEM_LIBDIR}/thread_safe.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/misc/ruby-thread_safe/distinfo b/misc/ruby-thread_safe/distinfo
new file mode 100644
index 00000000000..570c3c670d6
--- /dev/null
+++ b/misc/ruby-thread_safe/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/17 13:00:00 obache Exp $
+
+SHA1 (thread_safe-0.1.3.gem) = 0cfdc031e7d4223ec39b03426689189b12206c8f
+RMD160 (thread_safe-0.1.3.gem) = 95d2e9cc239c28cf9bb4bdb0d9ae65e943ddc916
+Size (thread_safe-0.1.3.gem) = 136704 bytes