upgpkg: ruby-parallel 1.20.2-1

* New upstream release.
* Add ruby documentation.
This commit is contained in:
George Rawlinson 2021-08-24 22:22:30 +00:00
parent dfb45e6332
commit f3dc78d3d2
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -4,25 +4,26 @@
_gemname=parallel _gemname=parallel
pkgname=ruby-$_gemname pkgname=ruby-$_gemname
pkgver=1.20.1 pkgver=1.20.2
pkgrel=2 pkgrel=1
pkgdesc="Ruby: parallel processing made simple and fast" pkgdesc="Ruby: parallel processing made simple and fast"
arch=('any') arch=('any')
url="https://github.com/grosser/parallel" url="https://github.com/grosser/parallel"
license=('MIT') license=('MIT')
depends=('ruby') depends=('ruby')
makedepends=('ruby-rdoc')
options=('!emptydirs') options=('!emptydirs')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem") noextract=("$_gemname-$pkgver.gem")
b2sums=('79d859335509bd6c73b176441865da89655ba8b9928345d774154aa1fc160c0ba5fbf1394e1999892e9a762a0fb9848eab3491e642b15116be9b7f34e291400c') b2sums=('28fad0b8428159b4a6eec8af4dcca7785fec749698257ebaebdf564673518d5ebcc4d85c4b99521d4f76d104136c823fe66c61ec081915f7450cef5710f80163')
package() { package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')" local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install \ gem install \
--verbose \
--ignore-dependencies \ --ignore-dependencies \
--no-user-install \ --no-user-install \
--no-document \
--install-dir "$pkgdir/$_gemdir" \ --install-dir "$pkgdir/$_gemdir" \
--bindir "$pkgdir/usr/bin" \ --bindir "$pkgdir/usr/bin" \
"$_gemname-$pkgver.gem" "$_gemname-$pkgver.gem"