pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-atomic devel/ruby-atomic: remove deprecated...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81418dc74cc7
branches:  trunk
changeset: 376328:81418dc74cc7
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Feb 28 15:32:39 2018 +0000

description:
devel/ruby-atomic: remove deprecated by ruby-concurrent-ruby

Remove ruby-atomic deprecated by ruby-concurrent-ruby.

diffstat:

 devel/ruby-atomic/DESCR                                 |  16 ------
 devel/ruby-atomic/Makefile                              |  12 ----
 devel/ruby-atomic/PLIST                                 |  33 -------------
 devel/ruby-atomic/distinfo                              |   8 ---
 devel/ruby-atomic/patches/patch-ext_atomic__reference.c |  43 -----------------
 devel/ruby-atomic/patches/patch-ext_extconf.rb          |  19 -------
 6 files changed, 0 insertions(+), 131 deletions(-)

diffs (155 lines):

diff -r 1d2aa51e58ab -r 81418dc74cc7 devel/ruby-atomic/DESCR
--- a/devel/ruby-atomic/DESCR   Wed Feb 28 15:30:12 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-Ruby-atomic is an atomic reference implementation for JRuby, Rubinius, and MRI.
-
-This library provides:
-
-* an Atomic class that guarantees atomic updates to its contained value
-
-The Atomic class provides accessors for the contained "value" plus two update
-methods:
-
-* update will run the provided block, passing the current value and replacing
-  it with the block result iff the value has not been changed in the mean
-  time. It may run the block repeatedly if there are other concurrent updates
-  in progress.
-* try_update will run the provided block, passing the current value and
-  replacing it with the block result. If the value changes before the update
-  can happen, it will throw Atomic::ConcurrentUpdateError.
diff -r 1d2aa51e58ab -r 81418dc74cc7 devel/ruby-atomic/Makefile
--- a/devel/ruby-atomic/Makefile        Wed Feb 28 15:30:12 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2017/07/30 22:32:17 wiz Exp $
-
-DISTNAME=      atomic-1.1.99
-CATEGORIES=    devel
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/headius/ruby-atomic
-COMMENT=       Atomic reference implementation for JRuby, Rubinius, and MRI
-LICENSE=       apache-2.0
-
-.include "../../lang/ruby/gem.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 1d2aa51e58ab -r 81418dc74cc7 devel/ruby-atomic/PLIST
--- a/devel/ruby-atomic/PLIST   Wed Feb 28 15:30:12 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2015/03/08 15:17:19 taca Exp $
-${GEM_HOME}/cache/${GEM_NAME}.gem
-${GEM_EXTSDIR}/atomic_reference.${RUBY_DLEXT}
-${GEM_EXTSDIR}/gem.build_complete
-${GEM_LIBDIR}/.coveralls.yml
-${GEM_LIBDIR}/.gitignore
-${GEM_LIBDIR}/.travis.yml
-${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/LICENSE
-${GEM_LIBDIR}/README.md
-${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/atomic.gemspec
-${GEM_LIBDIR}/examples/atomic_example.rb
-${GEM_LIBDIR}/examples/bench_atomic.rb
-${GEM_LIBDIR}/examples/bench_atomic_1.rb
-${GEM_LIBDIR}/examples/graph_atomic_bench.rb
-${GEM_LIBDIR}/ext/AtomicReferenceService.java
-${GEM_LIBDIR}/ext/atomic_reference.c
-${GEM_LIBDIR}/ext/extconf.rb
-${GEM_LIBDIR}/ext/org/jruby/ext/atomic/AtomicReferenceLibrary.java
-${GEM_LIBDIR}/lib/atomic.rb
-${GEM_LIBDIR}/lib/atomic/concurrent_update_error.rb
-${GEM_LIBDIR}/lib/atomic/delegated_update.rb
-${GEM_LIBDIR}/lib/atomic/direct_update.rb
-${GEM_LIBDIR}/lib/atomic/fallback.rb
-${GEM_LIBDIR}/lib/atomic/jruby.rb
-${GEM_LIBDIR}/lib/atomic/numeric_cas_wrapper.rb
-${GEM_LIBDIR}/lib/atomic/rbx.rb
-${GEM_LIBDIR}/lib/atomic/ruby.rb
-${GEM_LIBDIR}/lib/atomic_reference.${RUBY_DLEXT}
-${GEM_LIBDIR}/test/test_atomic.rb
-${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-@pkgdir lib/ruby/gems/2.0.0/build_info
diff -r 1d2aa51e58ab -r 81418dc74cc7 devel/ruby-atomic/distinfo
--- a/devel/ruby-atomic/distinfo        Wed Feb 28 15:30:12 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:29:20 agc Exp $
-
-SHA1 (atomic-1.1.99.gem) = ca2ac92292c7ba2a30879fe1832d9c1e4b44d332
-RMD160 (atomic-1.1.99.gem) = 182d4d2ab6052ba588801d17328d8e8e5e7ccb6c
-SHA512 (atomic-1.1.99.gem) = 9c7762f6c32d11b2c5b45be68954ca12c753d2b4683167158a037ce791d72b13d940beef5bf6dd445c8b12e358c62d2a9f43a609fb3b7c7357fea4f66316063c
-Size (atomic-1.1.99.gem) = 17920 bytes
-SHA1 (patch-ext_atomic__reference.c) = 74628fc4db443382396347e5b3849c584180a54c
-SHA1 (patch-ext_extconf.rb) = 608095bd01ffc966d2153594238deac01b994462
diff -r 1d2aa51e58ab -r 81418dc74cc7 devel/ruby-atomic/patches/patch-ext_atomic__reference.c
--- a/devel/ruby-atomic/patches/patch-ext_atomic__reference.c   Wed Feb 28 15:30:12 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-$NetBSD: patch-ext_atomic__reference.c,v 1.1 2015/02/01 13:53:50 taca Exp $
-
-* Utilize atomic_ops(3) if available.
-* Try to include proper header file.
-
---- ext/atomic_reference.c.orig        2014-08-19 08:53:02.000000000 +0000
-+++ ext/atomic_reference.c
-@@ -11,12 +11,17 @@
- // limitations under the License.
- 
- #include <ruby.h>
--#if defined(__sun)
--#include <atomic.h>
--#endif
- 
--#ifdef HAVE_LIBKERN_OSATOMIC_H
--#include <libkern/OSAtomic.h>
-+#ifdef HAVE_SYS_ATOMIC_H
-+#include <sys/atomic.h>
-+#else
-+# ifdef HAVE_ATOMIC_H
-+#  include <atomic.h>
-+# else
-+#  ifdef HAVE_LIBKERN_OSATOMIC_H
-+#    include <libkern/OSAtomic.h>
-+#  endif
-+# endif
- #endif
- 
- static void ir_mark(void *value) {
-@@ -53,7 +58,11 @@ static VALUE ir_get_and_set(VALUE self, 
- }
- 
- static VALUE ir_compare_and_set(volatile VALUE self, VALUE expect_value, VALUE new_value) {
--#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050
-+#if defined(__NetBSD__)
-+    if (atomic_cas_ptr((volatile void *) &DATA_PTR(self), expect_value, new_value)) {
-+      return Qtrue;
-+    }
-+#elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050
-     if (OSAtomicCompareAndSwap64(expect_value, new_value, &DATA_PTR(self))) {
-       return Qtrue;
-     }
diff -r 1d2aa51e58ab -r 81418dc74cc7 devel/ruby-atomic/patches/patch-ext_extconf.rb
--- a/devel/ruby-atomic/patches/patch-ext_extconf.rb    Wed Feb 28 15:30:12 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ext_extconf.rb,v 1.1 2015/02/01 13:53:50 taca Exp $
-
-* Check <sys/atomoc.h> and <atomic.h>
-
---- ext/extconf.rb.orig        2014-08-19 08:53:02.000000000 +0000
-+++ ext/extconf.rb
-@@ -14,7 +14,11 @@ require 'mkmf'
- extension_name = 'atomic_reference'
- dir_config(extension_name)
- 
--have_header "libkern/OSAtomic.h"
-+unless have_header "sys/atomic.h"
-+  unless have_header "atomic.h"
-+    have_header "libkern/OSAtomic.h"
-+  end
-+end
- 
- def compiler_is_gcc
-   if CONFIG["GCC"] && CONFIG["GCC"] != ""



Home | Main Index | Thread Index | Old Index