Import ruby-atomic 1.1.16.
An atomic reference implementation for ruby. OK jasper@
This commit is contained in:
parent
e773b3e4e3
commit
36d36962d3
23
devel/ruby-atomic/Makefile
Normal file
23
devel/ruby-atomic/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/05/28 21:59:01 jeremy Exp $
|
||||
|
||||
COMMENT = atomic reference implementation for Ruby
|
||||
|
||||
DISTNAME = atomic-1.1.16
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://github.com/headius/ruby-atomic
|
||||
|
||||
# Apache2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = lang/ruby
|
||||
|
||||
WANTLIB += pthread
|
||||
|
||||
CONFIGURE_STYLE = ruby gem ext
|
||||
|
||||
MODRUBY_TEST = testrb
|
||||
MODRUBY_TEST_ENV = RUBYOPT=-rubygems
|
||||
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/ruby-atomic/distinfo
Normal file
2
devel/ruby-atomic/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (atomic-1.1.16.gem) = VnSOgqtKKbt25Pc4Q1h6MiZm7RXZDhklEZr6oSs438Q=
|
||||
SIZE (atomic-1.1.16.gem) = 16896
|
16
devel/ruby-atomic/patches/patch-test_test_atomic_rb
Normal file
16
devel/ruby-atomic/patches/patch-test_test_atomic_rb
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-test_test_atomic_rb,v 1.1.1.1 2014/05/28 21:59:01 jeremy Exp $
|
||||
--- test/test_atomic.rb.orig Mon Mar 17 06:11:40 2014
|
||||
+++ test/test_atomic.rb Tue May 27 12:39:01 2014
|
||||
@@ -10,10 +10,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
-require 'minitest/autorun'
|
||||
+require 'test/unit'
|
||||
require 'atomic'
|
||||
|
||||
-class TestAtomic < MiniTest::Test
|
||||
+class TestAtomic < Test::Unit::TestCase
|
||||
def test_construct
|
||||
atomic = Atomic.new
|
||||
assert_equal nil, atomic.value
|
1
devel/ruby-atomic/pkg/DESCR
Normal file
1
devel/ruby-atomic/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
An atomic reference implementation for JRuby, Rubinius, and MRI.
|
30
devel/ruby-atomic/pkg/PLIST
Normal file
30
devel/ruby-atomic/pkg/PLIST
Normal file
@ -0,0 +1,30 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/05/28 21:59:01 jeremy Exp $
|
||||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
${GEM_LIB}/gems/${DISTNAME}/.gitignore
|
||||
${GEM_LIB}/gems/${DISTNAME}/.travis.yml
|
||||
${GEM_LIB}/gems/${DISTNAME}/Gemfile
|
||||
${GEM_LIB}/gems/${DISTNAME}/LICENSE
|
||||
${GEM_LIB}/gems/${DISTNAME}/README.md
|
||||
${GEM_LIB}/gems/${DISTNAME}/Rakefile
|
||||
${GEM_LIB}/gems/${DISTNAME}/atomic.gemspec
|
||||
${GEM_LIB}/gems/${DISTNAME}/examples/
|
||||
${GEM_LIB}/gems/${DISTNAME}/examples/atomic_example.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/examples/bench_atomic.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/examples/bench_atomic_1.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/examples/graph_atomic_bench.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/concurrent_update_error.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/delegated_update.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/direct_update.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/fallback.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/jruby.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/numeric_cas_wrapper.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/rbx.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic/ruby.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/atomic_reference.so
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/test_atomic.rb
|
||||
${GEM_LIB}/specifications/${DISTNAME}.gemspec
|
Loading…
Reference in New Issue
Block a user