aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rails-minitest
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-05 12:39:32 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-05 12:40:23 +0200
commit82fa7ab6f5bbc2012c92d0ada2785c13519f5525 (patch)
treebe0f59ea488b24d7a31bb73da7eb992508bb73ce /main/ruby-rails-minitest
parent61e53274600c0ab7fc52b6e1cd6b5367fec2e5d4 (diff)
downloadaports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.bz2
aports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.xz
main/ruby*: fix dependencies and update to latest possible versions
Diffstat (limited to 'main/ruby-rails-minitest')
-rw-r--r--main/ruby-rails-minitest/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/ruby-rails-minitest/APKBUILD b/main/ruby-rails-minitest/APKBUILD
new file mode 100644
index 0000000000..0b99be79f0
--- /dev/null
+++ b/main/ruby-rails-minitest/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=minitest
+pkgname=ruby-rails-$_gemname
+pkgver=5.4.3
+pkgrel=0
+pkgdesc="Ruby testing facilities"
+url=https://github.com/seattlerb/minitest
+arch=noarch
+license=MIT
+depends=ruby
+makedepends=ruby
+source=http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem
+
+_builddir="$srcdir"/$_gemname-$pkgver
+build() {
+ return 0
+}
+
+package() {
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
+ mkdir -p "$pkgdir" || return 1
+
+ gem install --local --install-dir "$pkgdir"/$_gemdir \
+ --ignore-dependencies --verbose --no-rdoc --no-ri \
+ "$srcdir"/$_gemname-$pkgver.gem || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="faddd44292d7a12615230b8d034deb3a minitest-5.4.3.gem"
+sha256sums="a41b54b1c6e64b102fe78bf265045896845c38177a10bdb32d04caf4e06542f3 minitest-5.4.3.gem"
+sha512sums="2a2df1502e449732d39da377c262d8c481e5b6399b39781c5d55fb0c3065f3dc4cdd326794a16731b2dbc970c40b4dc1399929913fcc2dd1f8ffb1f78df81a9f minitest-5.4.3.gem"