[arch-commits] Commit in ruby-shadow/repos/community-x86_64 (4 files)

Tim Meusel bastelfreak at archlinux.org
Sun May 16 15:41:26 UTC 2021


    Date: Sunday, May 16, 2021 @ 15:41:26
  Author: bastelfreak
Revision: 935870

archrelease: copy trunk to community-x86_64

Added:
  ruby-shadow/repos/community-x86_64/PKGBUILD
    (from rev 935869, ruby-shadow/trunk/PKGBUILD)
  ruby-shadow/repos/community-x86_64/ruby-shadow-2.5.0-cflags.patch
    (from rev 935869, ruby-shadow/trunk/ruby-shadow-2.5.0-cflags.patch)
Deleted:
  ruby-shadow/repos/community-x86_64/PKGBUILD
  ruby-shadow/repos/community-x86_64/ruby-shadow-2.5.0-cflags.patch

--------------------------------+
 PKGBUILD                       |   79 +++++++++++++++++++--------------------
 ruby-shadow-2.5.0-cflags.patch |   32 +++++++--------
 2 files changed, 56 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 15:41:16 UTC (rev 935869)
+++ PKGBUILD	2021-05-16 15:41:26 UTC (rev 935870)
@@ -1,39 +0,0 @@
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
-
-pkgname=ruby-shadow
-pkgver=2.5.0
-pkgrel=6
-pkgdesc="Shadow password module"
-arch=('x86_64')
-url="https://github.com/apalmblad/ruby-shadow"
-license=('CPL')
-depends=('ruby')
-source=($pkgname-$pkgver.tar.gz::https://github.com/apalmblad/$pkgname/archive/$pkgver.tar.gz
-        ruby-shadow-2.5.0-cflags.patch)
-md5sums=('e9c35620f6c25233b7b54dcab8ee955e'
-         '8a501c170f5721881ae35b9d0acc619d')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Respect CFLAGS and fix build with Ruby 3.0.0
-  # https://github.com/apalmblad/ruby-shadow/issues/26
-  patch -Np0 -i ../ruby-shadow-2.5.0-cflags.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ruby extconf.rb
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir"/ sitedir='$(rubylibprefix)/vendor_ruby' \
-    sitehdrdir='$(rubyhdrdir)/vendor_ruby' install
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: ruby-shadow/repos/community-x86_64/PKGBUILD (from rev 935869, ruby-shadow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-16 15:41:26 UTC (rev 935870)
@@ -0,0 +1,40 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+pkgname=ruby-shadow
+pkgver=2.5.0
+pkgrel=7
+pkgdesc="Shadow password module"
+arch=('x86_64')
+url="https://github.com/apalmblad/ruby-shadow"
+license=('CPL')
+depends=('ruby')
+source=($pkgname-$pkgver.tar.gz::https://github.com/apalmblad/$pkgname/archive/$pkgver.tar.gz
+        ruby-shadow-2.5.0-cflags.patch)
+sha512sums=('66cf0405230c0cbc723f17bf016d84b5054be4db5b32bca55ede876b5725c0f8de849c537c6020f38053825f55177bebacd0fdbb20d49110ea8cb2d5b75df9da'
+            '7dfcb925a21a02d42fb595c4dc847e6fe8b952b0bf0a4a31a27ae0b0296bf361ddb6cc5eef745c8bbc93990967f3ea39dfcb448be72d9b835a589f9d28b3eacc')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Respect CFLAGS and fix build with Ruby 3.0.0
+  # https://github.com/apalmblad/ruby-shadow/issues/26
+  patch -Np0 -i ../ruby-shadow-2.5.0-cflags.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ruby extconf.rb
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir"/ sitedir='$(rubylibprefix)/vendor_ruby' \
+    sitehdrdir='$(rubyhdrdir)/vendor_ruby' install
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: ruby-shadow-2.5.0-cflags.patch
===================================================================
--- ruby-shadow-2.5.0-cflags.patch	2021-05-16 15:41:16 UTC (rev 935869)
+++ ruby-shadow-2.5.0-cflags.patch	2021-05-16 15:41:26 UTC (rev 935870)
@@ -1,16 +0,0 @@
---- extconf.rb~	2017-10-05 20:21:59.480315863 +0200
-+++ extconf.rb	2017-10-05 20:23:55.077931560 +0200
-@@ -6,12 +6,7 @@
- 
- require 'mkmf'
- require 'rbconfig'
--
--$CFLAGS = case RUBY_VERSION
--          when /^1\.9/; '-DRUBY19'
--          when /^2\./; '-DRUBY19'
--          else; ''
--          end
-+$CFLAGS = "#{$CFLAGS} -DRUBY19"
- 
- implementation = case CONFIG['host_os']
-                  when /linux/i; 'shadow'

Copied: ruby-shadow/repos/community-x86_64/ruby-shadow-2.5.0-cflags.patch (from rev 935869, ruby-shadow/trunk/ruby-shadow-2.5.0-cflags.patch)
===================================================================
--- ruby-shadow-2.5.0-cflags.patch	                        (rev 0)
+++ ruby-shadow-2.5.0-cflags.patch	2021-05-16 15:41:26 UTC (rev 935870)
@@ -0,0 +1,16 @@
+--- extconf.rb~	2017-10-05 20:21:59.480315863 +0200
++++ extconf.rb	2017-10-05 20:23:55.077931560 +0200
+@@ -6,12 +6,7 @@
+ 
+ require 'mkmf'
+ require 'rbconfig'
+-
+-$CFLAGS = case RUBY_VERSION
+-          when /^1\.9/; '-DRUBY19'
+-          when /^2\./; '-DRUBY19'
+-          else; ''
+-          end
++$CFLAGS = "#{$CFLAGS} -DRUBY19"
+ 
+ implementation = case CONFIG['host_os']
+                  when /linux/i; 'shadow'



More information about the arch-commits mailing list