Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages / ruby-parallel
Commits: 456ccc95 by Andreas Schleifer at 2024-08-31T21:05:22+02:00 upgpkg: 1.26.3-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,22 +1,24 @@ pkgbase = ruby-parallel pkgdesc = Run any kind of code in parallel processes - pkgver = 1.26.1 + pkgver = 1.26.3 pkgrel = 1 url = https://github.com/grosser/parallel arch = any license = MIT + checkdepends = lsof + checkdepends = procps-ng checkdepends = ruby-bump + checkdepends = ruby-bundler + checkdepends = ruby-rake checkdepends = ruby-rspec checkdepends = ruby-rspec-rerun - checkdepends = ruby-rake checkdepends = ruby-ruby-progressbar checkdepends = ruby-sqlite3 - checkdepends = ruby-bundler - checkdepends = lsof - checkdepends = procps-ng + makedepends = ruby-rdoc depends = ruby options = !emptydirs - source = https://github.com/grosser/parallel/archive/v1.26.1/ruby-parallel-1.26.1.tar.gz - sha512sums = 92404eff2c39bb742fda8b746930262c546c03df9b4633106858e0b968c86589172e4b080f1ba50dff9d3e0873ca817950d08c8b521549ad4d71731aaad80083 + source = https://github.com/grosser/parallel/archive/v1.26.3/ruby-parallel-1.26.3.tar.gz + sha512sums = e0e18a472b9b45697ef6b1e1cdccb60c76afb7605a958135a0414c54c8b2a143b409d8f5638a5ef52422359336ada1e8bc867856c365641f69c5f39a19cf7e22 + b2sums = bf82ac5620f514d7e5317b95956785d819c5d8ec583761fb7cf04ae56c643fa04cb2e59ca2459e225d3ea754e1c781065a0d51becb9f221e0fad093ebf9283bf pkgname = ruby-parallel ===================================== PKGBUILD ===================================== @@ -2,17 +2,33 @@ _gemname='parallel' pkgname="ruby-${_gemname}" -pkgver=1.26.1 +pkgver=1.26.3 pkgrel=1 pkgdesc='Run any kind of code in parallel processes' arch=('any') url="https://github.com/grosser/${_gemname}" license=('MIT') -depends=('ruby') -checkdepends=('ruby-bump' 'ruby-rspec' 'ruby-rspec-rerun' 'ruby-rake' 'ruby-ruby-progressbar' 'ruby-sqlite3' 'ruby-bundler' 'lsof' 'procps-ng') +depends=( + ruby +) +makedepends=( + ruby-rdoc +) +checkdepends=( + lsof + procps-ng + ruby-bump + ruby-bundler + ruby-rake + ruby-rspec + ruby-rspec-rerun + ruby-ruby-progressbar + ruby-sqlite3 +) options=('!emptydirs') source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('92404eff2c39bb742fda8b746930262c546c03df9b4633106858e0b968c86589172e4b080f1ba50dff9d3e0873ca817950d08c8b521549ad4d71731aaad80083') +sha512sums=('e0e18a472b9b45697ef6b1e1cdccb60c76afb7605a958135a0414c54c8b2a143b409d8f5638a5ef52422359336ada1e8bc867856c365641f69c5f39a19cf7e22') +b2sums=('bf82ac5620f514d7e5317b95956785d819c5d8ec583761fb7cf04ae56c643fa04cb2e59ca2459e225d3ea754e1c781065a0d51becb9f221e0fad093ebf9283bf') prepare() { cd "${_gemname}-${pkgver}" @@ -37,7 +53,9 @@ prepare() { build() { cd "${_gemname}-${pkgver}" - gem build "${_gemname}.gemspec" + local _gemdir="$(gem env gemdir)" + + gem build --verbose "${_gemname}.gemspec" gem install \ --local \ @@ -79,7 +97,9 @@ build() { check() { cd "${_gemname}-${pkgver}" - GEM_HOME="tmp_install/${_gemdir}" rspec + local _gemdir="$(gem env gemdir)" + + GEM_HOME="tmp_install${_gemdir}" rspec } package() { @@ -90,3 +110,5 @@ package() { install --verbose -D --mode=0644 MIT-LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install --verbose -D --mode=0644 *.md --target-directory "${pkgdir}/usr/share/doc/${pkgname}" } + +# vim: tabstop=2 shiftwidth=2 expandtab: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-parallel/-/commit/456ccc95512eff476fd2cdd545ae484d7b203ba6 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-parallel/-/commit/456ccc95512eff476fd2cdd545ae484d7b203ba6 You're receiving this email because of your account on gitlab.archlinux.org.