[arch-commits] Commit in rubygems/repos/community-any (6 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Tue Aug 16 16:22:29 UTC 2022
Date: Tuesday, August 16, 2022 @ 16:22:29
Author: anatolik
Revision: 1266639
archrelease: copy trunk to community-any
Added:
rubygems/repos/community-any/PKGBUILD
(from rev 1266638, rubygems/trunk/PKGBUILD)
rubygems/repos/community-any/gemrc
(from rev 1266638, rubygems/trunk/gemrc)
rubygems/repos/community-any/stop_so_duplication.patch
(from rev 1266638, rubygems/trunk/stop_so_duplication.patch)
Deleted:
rubygems/repos/community-any/PKGBUILD
rubygems/repos/community-any/gemrc
rubygems/repos/community-any/stop_so_duplication.patch
---------------------------+
PKGBUILD | 90 ++++++++++++++++++++++----------------------
gemrc | 10 ++--
stop_so_duplication.patch | 52 ++++++++++++-------------
3 files changed, 76 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-16 16:22:01 UTC (rev 1266638)
+++ PKGBUILD 2022-08-16 16:22:29 UTC (rev 1266639)
@@ -1,45 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-pkgname=rubygems
-pkgdesc='Package management framework for Ruby'
-pkgver=3.3.15
-pkgrel=1
-arch=(any)
-url='https://rubygems.org/'
-license=(MIT)
-# To avoid circular dependency with ruby, move it to makedepends
-makedepends=(ruby)
-backup=(etc/gemrc)
-checkdepends=(rake)
-source=(rubygems-$pkgver.zip::https://github.com/rubygems/rubygems/archive/v${pkgver}.zip
- stop_so_duplication.patch
- gemrc)
-sha512sums=('0d1c14ab45d9cad026596c5680dc54708e0229baf05b9d5966acc2adf0f65edfa52f3913d2241b4036c399944f8b9f14a4cc3c1da73ed8455a4df2b8bfd73419'
- '9919490bbf7dba979a1df7543e62eb3fca48e8a516e6b6ab0a73080952e1b58599b7f233259d122dc66bf93f032b434d70e0dd448a1cb86513f01acb51b2120e'
- '8cafd14d414ee3c16aa94f79072bc6c100262f925dc1300e785846c3fabbbbffc1356b8e2223af5684e3340c55032d41231179ffa948bb12e01dbae0f4131911')
-
-prepare() {
- cd rubygems-${pkgver}
- patch -p1 < ../stop_so_duplication.patch
-}
-
-check() {
- cd rubygems-${pkgver}
-
- # disable as it requires a lot of ruby-* dependencies
- #rake test
-}
-
-package() {
- depends+=(ruby)
- cd rubygems-${pkgver}
-
- install -D -m644 "${srcdir}"/gemrc "${pkgdir}/etc/gemrc"
-
- local rubyver=$(ruby --version | sed -r 's|^ruby ([[:digit:]]+\.[[:digit:]]+\.).*$|\1|')0
-
- install -d "${pkgdir}/usr/lib/ruby/${rubyver}/"
- install -D -m755 bin/gem "${pkgdir}/usr/bin/gem"
- cp -r lib/* "${pkgdir}/usr/lib/ruby/${rubyver}/"
- install -D -m644 MIT.txt "${pkgdir}/usr/share/licenses/rubygems/MIT.txt"
-}
Copied: rubygems/repos/community-any/PKGBUILD (from rev 1266638, rubygems/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-16 16:22:29 UTC (rev 1266639)
@@ -0,0 +1,45 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=rubygems
+pkgdesc='Package management framework for Ruby'
+pkgver=3.3.19
+pkgrel=1
+arch=(any)
+url='https://rubygems.org/'
+license=(MIT)
+# To avoid circular dependency with ruby, move it to makedepends
+makedepends=(ruby)
+backup=(etc/gemrc)
+checkdepends=(rake)
+source=(rubygems-$pkgver.zip::https://github.com/rubygems/rubygems/archive/v${pkgver}.zip
+ stop_so_duplication.patch
+ gemrc)
+sha512sums=('a4f113ac98f736cdc2f8dedf627f3908c6636bb35e51f8f121bba0a7afb639d0bda9ec8194537cca6be4c504845aaabdfefce8a834eb4d3b0f5e64bc4967d070'
+ '9919490bbf7dba979a1df7543e62eb3fca48e8a516e6b6ab0a73080952e1b58599b7f233259d122dc66bf93f032b434d70e0dd448a1cb86513f01acb51b2120e'
+ '8cafd14d414ee3c16aa94f79072bc6c100262f925dc1300e785846c3fabbbbffc1356b8e2223af5684e3340c55032d41231179ffa948bb12e01dbae0f4131911')
+
+prepare() {
+ cd rubygems-${pkgver}
+ patch -p1 < ../stop_so_duplication.patch
+}
+
+check() {
+ cd rubygems-${pkgver}
+
+ # disable as it requires a lot of ruby-* dependencies
+ #rake test
+}
+
+package() {
+ depends+=(ruby)
+ cd rubygems-${pkgver}
+
+ install -D -m644 "${srcdir}"/gemrc "${pkgdir}/etc/gemrc"
+
+ local rubyver=$(ruby --version | sed -r 's|^ruby ([[:digit:]]+\.[[:digit:]]+\.).*$|\1|')0
+
+ install -d "${pkgdir}/usr/lib/ruby/${rubyver}/"
+ install -D -m755 bin/gem "${pkgdir}/usr/bin/gem"
+ cp -r lib/* "${pkgdir}/usr/lib/ruby/${rubyver}/"
+ install -D -m644 MIT.txt "${pkgdir}/usr/share/licenses/rubygems/MIT.txt"
+}
Deleted: gemrc
===================================================================
--- gemrc 2022-08-16 16:22:01 UTC (rev 1266638)
+++ gemrc 2022-08-16 16:22:29 UTC (rev 1266639)
@@ -1,5 +0,0 @@
-# Read about the gemrc format at http://guides.rubygems.org/command-reference/#gem-environment
-
-# --user-install is used to install to $HOME/.gem/ by default since we want to separate
-# pacman installed gems and gem installed gems
-gem: --user-install
Copied: rubygems/repos/community-any/gemrc (from rev 1266638, rubygems/trunk/gemrc)
===================================================================
--- gemrc (rev 0)
+++ gemrc 2022-08-16 16:22:29 UTC (rev 1266639)
@@ -0,0 +1,5 @@
+# Read about the gemrc format at http://guides.rubygems.org/command-reference/#gem-environment
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to separate
+# pacman installed gems and gem installed gems
+gem: --user-install
Deleted: stop_so_duplication.patch
===================================================================
--- stop_so_duplication.patch 2022-08-16 16:22:01 UTC (rev 1266638)
+++ stop_so_duplication.patch 2022-08-16 16:22:29 UTC (rev 1266639)
@@ -1,26 +0,0 @@
-commit ac83e58d1b9af68042433ae7ca8c9ff55b379770
-Author: Anatol Pomozov <anatol.pomozov at gmail.com>
-Date: Fri Dec 27 15:43:14 2019 -0800
-
- Do not put generated *.so file to 'lib/'
-
- Keep the *.so files under extension directory only. 'lib/' is for ruby
- sources only.
-
- References:
- https://src.fedoraproject.org/rpms/rubygems/blob/master/f/operating_system.rb
- https://github.com/rubygems/rubygems/issues/749
-
-diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb
-index d4ff4a26..4926f322 100644
---- a/lib/rubygems/defaults.rb
-+++ b/lib/rubygems/defaults.rb
-@@ -144,7 +144,7 @@ module Gem
- # Install extensions into lib as well as into the extension directory.
-
- def self.install_extension_in_lib # :nodoc:
-- true
-+ false
- end
-
- ##
Copied: rubygems/repos/community-any/stop_so_duplication.patch (from rev 1266638, rubygems/trunk/stop_so_duplication.patch)
===================================================================
--- stop_so_duplication.patch (rev 0)
+++ stop_so_duplication.patch 2022-08-16 16:22:29 UTC (rev 1266639)
@@ -0,0 +1,26 @@
+commit ac83e58d1b9af68042433ae7ca8c9ff55b379770
+Author: Anatol Pomozov <anatol.pomozov at gmail.com>
+Date: Fri Dec 27 15:43:14 2019 -0800
+
+ Do not put generated *.so file to 'lib/'
+
+ Keep the *.so files under extension directory only. 'lib/' is for ruby
+ sources only.
+
+ References:
+ https://src.fedoraproject.org/rpms/rubygems/blob/master/f/operating_system.rb
+ https://github.com/rubygems/rubygems/issues/749
+
+diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb
+index d4ff4a26..4926f322 100644
+--- a/lib/rubygems/defaults.rb
++++ b/lib/rubygems/defaults.rb
+@@ -144,7 +144,7 @@ module Gem
+ # Install extensions into lib as well as into the extension directory.
+
+ def self.install_extension_in_lib # :nodoc:
+- true
++ false
+ end
+
+ ##
More information about the arch-commits
mailing list