[arch-commits] Commit in kross-interpreters/repos/extra-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Thu May 13 16:22:20 UTC 2021


    Date: Thursday, May 13, 2021 @ 16:22:19
  Author: arojas
Revision: 415373

archrelease: copy trunk to extra-x86_64

Added:
  kross-interpreters/repos/extra-x86_64/PKGBUILD
    (from rev 415372, kross-interpreters/trunk/PKGBUILD)
  kross-interpreters/repos/extra-x86_64/kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch
    (from rev 415372, kross-interpreters/trunk/kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch)
Deleted:
  kross-interpreters/repos/extra-x86_64/PKGBUILD
  kross-interpreters/repos/extra-x86_64/kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch

--------------------------------------------------------------------------------+
 PKGBUILD                                                                       |   74 +++++-----
 kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch |   66 ++++----
 2 files changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-13 16:22:08 UTC (rev 415372)
+++ PKGBUILD	2021-05-13 16:22:19 UTC (rev 415373)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=kross-interpreters
-pkgver=21.04.0
-pkgrel=1
-pkgdesc='Language interpreters to enable in-process scripting with Kross'
-arch=(x86_64)
-url='https://www.kde.org/'
-license=(GPL)
-depends=(kross)
-makedepends=(extra-cmake-modules kdoctools python2 ruby)
-optdepends=('python2: kross-python plugin' 'ruby: kross ruby plugin')
-groups=(kde-applications)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
-       kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch)
-sha256sums=('5c765c074843bac36dedb8a16067c748c9af1e0e50f951c53c63b36b6a7d0388'
-            'SKIP'
-            '0d5532869ef281c2efc1b9e0840d14edd408a086af2ebad39c10900108b9e812')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
-              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
-              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 < ../kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch
-}
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_LIBEXECDIR=lib \
-    -DBUILD_TESTING=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: kross-interpreters/repos/extra-x86_64/PKGBUILD (from rev 415372, kross-interpreters/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-13 16:22:19 UTC (rev 415373)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kross-interpreters
+pkgver=21.04.1
+pkgrel=1
+pkgdesc='Language interpreters to enable in-process scripting with Kross'
+arch=(x86_64)
+url='https://www.kde.org/'
+license=(GPL)
+depends=(kross)
+makedepends=(extra-cmake-modules kdoctools python2 ruby)
+optdepends=('python2: kross-python plugin' 'ruby: kross ruby plugin')
+groups=(kde-applications)
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+       kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch)
+sha256sums=('f5e2fb7b846dd375a8fad46137c4531ffc75066d5dd7e82da95d501c62ed77e1'
+            'SKIP'
+            '0d5532869ef281c2efc1b9e0840d14edd408a086af2ebad39c10900108b9e812')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
+              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 < ../kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib \
+    -DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Deleted: kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch
===================================================================
--- kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch	2021-05-13 16:22:08 UTC (rev 415372)
+++ kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch	2021-05-13 16:22:19 UTC (rev 415373)
@@ -1,33 +0,0 @@
-From 2ccfe2c5373ea851137d2152bc9aabb7dda1f132 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch at redhat.com>
-Date: Thu, 7 Jan 2021 12:41:31 +0100
-Subject: [PATCH] Drop safe level support in more recent Rubies.
-
-The `rb_set_safe_level` is available approximately since Ruby 1.8.0, but the
-RUBY_SAFE_LEVEL_MAX was available since Ruby 2.1, until it was dropped
-in Ruby 3.0 altogether with Ruby safe levels [[1]].
-
-[1]: https://github.com/ruby/ruby/commit/e91c39f1c0f7d5e670266d9593d533fd444957f6
----
- ruby/rubyinterpreter.cpp | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/ruby/rubyinterpreter.cpp b/ruby/rubyinterpreter.cpp
-index 3bccdc2..ad236d5 100644
---- a/ruby/rubyinterpreter.cpp
-+++ b/ruby/rubyinterpreter.cpp
-@@ -65,8 +65,11 @@ RubyInterpreter::RubyInterpreter(Kross::InterpreterInfo* info)
-         initRuby();
-     }
- 
-+// The RUBY_SAFE_LEVEL_MAX with the safe levels were removed in Ruby 3.0.
-+#ifdef RUBY_SAFE_LEVEL_MAX
-     const int defaultsafelevel = 4; // per default use the maximum safelevel
-     rb_set_safe_level( info->optionValue("safelevel", defaultsafelevel).toInt() );
-+#endif
- }
- 
- RubyInterpreter::~RubyInterpreter()
--- 
-2.29.2
-

Copied: kross-interpreters/repos/extra-x86_64/kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch (from rev 415372, kross-interpreters/trunk/kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch)
===================================================================
--- kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch	                        (rev 0)
+++ kross-interpreters-20.08.3-Drop-safe-level-support-in-more-recent-Rubies.patch	2021-05-13 16:22:19 UTC (rev 415373)
@@ -0,0 +1,33 @@
+From 2ccfe2c5373ea851137d2152bc9aabb7dda1f132 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch at redhat.com>
+Date: Thu, 7 Jan 2021 12:41:31 +0100
+Subject: [PATCH] Drop safe level support in more recent Rubies.
+
+The `rb_set_safe_level` is available approximately since Ruby 1.8.0, but the
+RUBY_SAFE_LEVEL_MAX was available since Ruby 2.1, until it was dropped
+in Ruby 3.0 altogether with Ruby safe levels [[1]].
+
+[1]: https://github.com/ruby/ruby/commit/e91c39f1c0f7d5e670266d9593d533fd444957f6
+---
+ ruby/rubyinterpreter.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/ruby/rubyinterpreter.cpp b/ruby/rubyinterpreter.cpp
+index 3bccdc2..ad236d5 100644
+--- a/ruby/rubyinterpreter.cpp
++++ b/ruby/rubyinterpreter.cpp
+@@ -65,8 +65,11 @@ RubyInterpreter::RubyInterpreter(Kross::InterpreterInfo* info)
+         initRuby();
+     }
+ 
++// The RUBY_SAFE_LEVEL_MAX with the safe levels were removed in Ruby 3.0.
++#ifdef RUBY_SAFE_LEVEL_MAX
+     const int defaultsafelevel = 4; // per default use the maximum safelevel
+     rb_set_safe_level( info->optionValue("safelevel", defaultsafelevel).toInt() );
++#endif
+ }
+ 
+ RubyInterpreter::~RubyInterpreter()
+-- 
+2.29.2
+



More information about the arch-commits mailing list