[arch-commits] Commit in ruby-hoe/repos/community-any (PKGBUILD PKGBUILD ruby27.patch)
Levente Polyak
anthraxx at archlinux.org
Thu Jan 21 01:40:29 UTC 2021
Date: Thursday, January 21, 2021 @ 01:40:29
Author: anthraxx
Revision: 824055
archrelease: copy trunk to community-any
Added:
ruby-hoe/repos/community-any/PKGBUILD
(from rev 824054, ruby-hoe/trunk/PKGBUILD)
Deleted:
ruby-hoe/repos/community-any/PKGBUILD
ruby-hoe/repos/community-any/ruby27.patch
--------------+
PKGBUILD | 101 ++++++++++++++++++++++++++-------------------------------
ruby27.patch | 21 -----------
2 files changed, 47 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-21 01:40:25 UTC (rev 824054)
+++ PKGBUILD 2021-01-21 01:40:29 UTC (rev 824055)
@@ -1,54 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bernhard Landauer <oberon at manjaro.org>
-# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
-
-_gemname=hoe
-pkgname=ruby-${_gemname}
-_gitcommit=c5bb62f78193e8dcb734d412c38791ce6f74773c
-pkgver=3.20.0
-pkgrel=4
-pkgdesc='Hoe is a rake/rubygems helper for project Rakefiles'
-url='https://www.zenspider.com/projects/hoe.html'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-makedepends=('git' 'ruby-rdoc' 'ruby-rake')
-checkdepends=('ruby-minitest')
-options=('!emptydirs')
-source=("git+https://github.com/seattlerb/hoe#commit=${_gitcommit}"
- ruby27.patch)
-sha512sums=('SKIP'
- 'ec5e34b53fafc72fb6d9af3aa79dc1509632c390668a97db807d370759a6f0bdfe328933b648d35dedcc9662f94d6f1f99a2b982a037b49d354592a86f782a57')
-
-pkgver() {
- cd ${_gemname}
- grep 'VERSION = "' lib/hoe.rb|sed -E 's|.*"(.+)"|\1|'
-}
-
-prepare() {
- cd ${_gemname}
- patch -p1 < ../ruby27.patch
-}
-
-build() {
- cd ${_gemname}
- rake gem
-}
-
-check() {
- cd ${_gemname}
- rake test
-}
-
-package() {
- cd ${_gemname}
- local _gemdir="$(gem env gemdir)"
- gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
- -n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
- install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/licenses/${pkgname}"
- rm -rf cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so} \
- extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-hoe/repos/community-any/PKGBUILD (from rev 824054, ruby-hoe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-21 01:40:29 UTC (rev 824055)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bernhard Landauer <oberon at manjaro.org>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+_gemname=hoe
+pkgname=ruby-${_gemname}
+_gitcommit=c50be1641440a5fd821c5438219a9a88e189461c
+pkgver=3.22.3
+pkgrel=1
+pkgdesc='Hoe is a rake/rubygems helper for project Rakefiles'
+url='https://www.zenspider.com/projects/hoe.html'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+makedepends=('git' 'ruby-rdoc' 'ruby-rake')
+checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("git+https://github.com/seattlerb/hoe#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${_gemname}
+ grep 'VERSION = "' lib/hoe.rb|sed -E 's|.*"(.+)"|\1|'
+}
+
+build() {
+ cd ${_gemname}
+ rake gem
+}
+
+check() {
+ cd ${_gemname}
+ rake test
+}
+
+package() {
+ cd ${_gemname}
+ local _gemdir="$(gem env gemdir)"
+ gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
+ -n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
+ install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ rm -rf cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so} \
+ extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
+}
+
+# vim: ts=2 sw=2 et:
Deleted: ruby27.patch
===================================================================
--- ruby27.patch 2021-01-21 01:40:25 UTC (rev 824054)
+++ ruby27.patch 2021-01-21 01:40:29 UTC (rev 824055)
@@ -1,21 +0,0 @@
-commit d8e33cd84ae01ca281d497e390101c79e03f70a1
-Author: Anatol Pomozov <anatol.pomozov at gmail.com>
-Date: Wed Dec 25 15:35:42 2019 -0800
-
- Fix ruby 2.7 keyword parameter warning
-
- warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
-
-diff --git a/lib/hoe/debug.rb b/lib/hoe/debug.rb
-index 8bfdcf1..67be47b 100644
---- a/lib/hoe/debug.rb
-+++ b/lib/hoe/debug.rb
-@@ -91,7 +91,7 @@ module Hoe::Debug
- begin
- sh "#{DIFF} -du Manifest.txt #{f}", verbose
- ensure
-- rm f, verbose
-+ rm f, **verbose
- end
- end
- end
More information about the arch-commits
mailing list