Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / ruby-timecop
Commits: f2ea75e3 by Felix Yan at 2025-01-01T04:48:29+08:00 upgpkg: 0.9.9-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = ruby-timecop pkgdesc = A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code - pkgver = 0.9.8 - pkgrel = 3 + pkgver = 0.9.9 + pkgrel = 1 url = https://github.com/travisjeffery/timecop arch = any license = MIT @@ -10,10 +10,11 @@ pkgbase = ruby-timecop checkdepends = ruby-mocha checkdepends = ruby-pry checkdepends = ruby-rake + makedepends = git makedepends = ruby-rdoc depends = ruby options = !emptydirs - source = https://github.com/travisjeffery/timecop/archive/v0.9.8/ruby-timecop-0.9.8.tar.gz - sha256sums = 3abb18214bc93fbbf93500b529c95307598911164f87cc32c4380bc819abeb89 + source = git+https://github.com/travisjeffery/timecop.git#tag=v0.9.9 + sha256sums = 47777cdc0c976886a611436271b4cd807a6ebbc127bf98fd3f4df681678859ec pkgname = ruby-timecop ===================================== PKGBUILD ===================================== @@ -1,8 +1,8 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> pkgname=ruby-timecop -pkgver=0.9.8 -pkgrel=3 +pkgver=0.9.9 +pkgrel=1 pkgdesc='A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code' arch=(any) url='https://github.com/travisjeffery/timecop' @@ -11,6 +11,7 @@ depends=( ruby ) makedepends=( + git ruby-rdoc ) checkdepends=( @@ -21,17 +22,17 @@ checkdepends=( ruby-rake ) options=(!emptydirs) -source=(https://github.com/travisjeffery/timecop/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('3abb18214bc93fbbf93500b529c95307598911164f87cc32c4380bc819abeb89') +source=(git+https://github.com/travisjeffery/timecop.git#tag=v$pkgver) +sha256sums=('47777cdc0c976886a611436271b4cd807a6ebbc127bf98fd3f4df681678859ec') prepare() { - cd timecop-$pkgver + cd timecop sed '/bundler/d' -i Rakefile test/*.rb } build() { local _gemdir="$(gem env gemdir)" - cd timecop-$pkgver + cd timecop gem build timecop.gemspec gem install \ --local \ @@ -57,12 +58,12 @@ build() { check() { local _gemdir="$(gem env gemdir)" - cd timecop-$pkgver + cd timecop GEM_HOME="tmp_install/$_gemdir" rake } package() { - cd timecop-$pkgver + cd timecop cp -a tmp_install/* "$pkgdir"/ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-timecop/-/commit/f2ea75e34707efcfebaf0c7a8a70e06cad226108 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-timecop/-/commit/f2ea75e34707efcfebaf0c7a8a70e06cad226108 You're receiving this email because of your account on gitlab.archlinux.org.