Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
ruby-minitest-hooks
Commits:
796dea53 by Felix Yan at 2024-10-21T14:05:24+03:00
upgpkg: 1.5.2-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = ruby-minitest-hooks
pkgdesc = Around and before_all/after_all/around_all hooks for Minitest
- pkgver = 1.5.1
- pkgrel = 4
+ pkgver = 1.5.2
+ pkgrel = 1
url = https://github.com/jeremyevans/minitest-hooks
arch = any
license = MIT
+ makedepends = git
makedepends = ruby-minitest-global_expectations
makedepends = ruby-rake
makedepends = ruby-rdoc
@@ -13,7 +14,7 @@ pkgbase = ruby-minitest-hooks
depends = ruby
depends = ruby-minitest
options = !emptydirs
- source =
https://github.com/jeremyevans/minitest-hooks/archive/1.5.1/ruby-minitest-hooks-1.5.1.tar.gz
- sha256sums =
8c78e96c238f15c739f9b5e0259366054da4df864434c48688421fdd3b30b936
+ source = git+https://github.com/jeremyevans/minitest-hooks.git#tag=1.5.2
+ sha256sums =
25907325542707bb490f462926d6d12bf2881b7b0726fa8d2240b77a3c362070
pkgname = ruby-minitest-hooks
=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=ruby-minitest-hooks
-pkgver=1.5.1
-pkgrel=4
+pkgver=1.5.2
+pkgrel=1
pkgdesc='Around and before_all/after_all/around_all hooks for Minitest'
arch=(any)
url='https://github.com/jeremyevans/minitest-hooks'
@@ -12,6 +12,7 @@ depends=(
ruby-minitest
)
makedepends=(
+ git
ruby-minitest-global_expectations
ruby-rake
ruby-rdoc
@@ -19,12 +20,12 @@ makedepends=(
ruby-sqlite3
)
options=(!emptydirs)
-source=(https://github.com/jeremyevans/minitest-hooks/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('8c78e96c238f15c739f9b5e0259366054da4df864434c48688421fdd3b30b936')
+source=(git+https://github.com/jeremyevans/minitest-hooks.git#tag=$pkgver)
+sha256sums=('25907325542707bb490f462926d6d12bf2881b7b0726fa8d2240b77a3c362070')
build() {
local _gemdir="$(gem env gemdir)"
- cd minitest-hooks-$pkgver
+ cd minitest-hooks
gem build minitest-hooks.gemspec
gem install \
--local \
@@ -50,12 +51,12 @@ build() {
check() {
local _gemdir="$(gem env gemdir)"
- cd minitest-hooks-$pkgver
+ cd minitest-hooks
GEM_HOME="tmp_install/$_gemdir" rake
}
package() {
- cd minitest-hooks-$pkgver
+ cd minitest-hooks
cp -a tmp_install/* "$pkgdir"/
install -Dm644 MIT-LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-minitest-hooks/-/commit/796dea537bf2e91014887b6fffe38f1d2725f4f0
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-minitest-hooks/-/commit/796dea537bf2e91014887b6fffe38f1d2725f4f0
You're receiving this email because of your account on gitlab.archlinux.org.