diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-10-29 15:37:31 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-10-29 15:37:31 +0000 |
commit | efdab9ed39ced204d44eefdbf3fc9cc9a783346e (patch) | |
tree | 41bda0762e5f5755f2f4157e814f323af5953aac /testing | |
parent | 48d5a7ed5a1c66335aab51298699f1199313f89b (diff) | |
parent | 518f1f71e27f1ba75e94d9282f01e76bb6a9f436 (diff) | |
download | aports-efdab9ed39ced204d44eefdbf3fc9cc9a783346e.tar.bz2 aports-efdab9ed39ced204d44eefdbf3fc9cc9a783346e.tar.xz |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ruby-shoulda-context/APKBUILD | 35 | ||||
-rw-r--r-- | testing/ruby-shoulda-matchers/APKBUILD | 35 | ||||
-rw-r--r-- | testing/ruby-shoulda/APKBUILD | 2 | ||||
-rw-r--r-- | testing/ruby-unicorn/APKBUILD | 2 |
4 files changed, 72 insertions, 2 deletions
diff --git a/testing/ruby-shoulda-context/APKBUILD b/testing/ruby-shoulda-context/APKBUILD new file mode 100644 index 0000000000..4c4190990e --- /dev/null +++ b/testing/ruby-shoulda-context/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +_gemname=shoulda-context +pkgname=ruby-shoulda-context +pkgver=1.0.1 +pkgrel=0 +pkgdesc="Context framework extracted from Shoulda" +url="https://github.com/thoughtbot/shoulda" +arch="noarch" +license="MIT" +depends="ruby" +depends_dev= +makedepends="$depends_dev ruby-gems" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_realname-$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="f7c0aaf97f462336cb0136635a679c4b shoulda-context-1.0.1.gem" diff --git a/testing/ruby-shoulda-matchers/APKBUILD b/testing/ruby-shoulda-matchers/APKBUILD new file mode 100644 index 0000000000..7f33b124e7 --- /dev/null +++ b/testing/ruby-shoulda-matchers/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +_gemname=shoulda-matchers +pkgname=ruby-shoulda-matchers +pkgver=1.4.1 +pkgrel=0 +pkgdesc="Making tests easy on the fingers and eyes" +url="https://github.com/thoughtbot/shoulda" +arch="noarch" +license="MIT" +depends="ruby ruby-activesupport" +depends_dev= +makedepends="$depends_dev ruby-gems" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_realname-$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="03f66e5f1d2c76df58e1fd2dcc778454 shoulda-matchers-1.4.1.gem" diff --git a/testing/ruby-shoulda/APKBUILD b/testing/ruby-shoulda/APKBUILD index c80e35cf89..97738c3549 100644 --- a/testing/ruby-shoulda/APKBUILD +++ b/testing/ruby-shoulda/APKBUILD @@ -2,7 +2,7 @@ _gemname=shoulda pkgname=ruby-shoulda pkgver=2.11.0 -pkgrel=0 +pkgrel=0 pkgdesc="Making tests easy on the fingers and eyes" url="https://github.com/thoughtbot/shoulda" arch="noarch" diff --git a/testing/ruby-unicorn/APKBUILD b/testing/ruby-unicorn/APKBUILD index 39410eb087..d319016938 100644 --- a/testing/ruby-unicorn/APKBUILD +++ b/testing/ruby-unicorn/APKBUILD @@ -2,7 +2,7 @@ _gemname=unicorn pkgname=ruby-unicorn pkgver=4.4.0 -pkgrel=0 +pkgrel=1 pkgdesc="Unicorn is an HTTP server for Rack applications" url="http://unicorn.bogomips.org" arch="all" |