summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-07 19:08:45 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-09-08 14:36:44 +0200
commitd3ccb6902a1bc2b1f0e2c885ca504955a3ef1e61 (patch)
treeee39d34b08f4ad064c950d827d2f8d54cd5f5359 /testing
parent1ccfc521f0f7681ff97b81543634e8e0d258f40a (diff)
downloadaports-d3ccb6902a1bc2b1f0e2c885ca504955a3ef1e61.tar.bz2
aports-d3ccb6902a1bc2b1f0e2c885ca504955a3ef1e61.tar.xz
testing/ruby-typhoeus: upgrade to 0.6.5
Diffstat (limited to 'testing')
-rw-r--r--testing/ruby-typhoeus/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/ruby-typhoeus/APKBUILD b/testing/ruby-typhoeus/APKBUILD
new file mode 100644
index 000000000..d276a1d8f
--- /dev/null
+++ b/testing/ruby-typhoeus/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+_gemname=typhoeus
+pkgname=ruby-$_gemname
+pkgver=0.6.5
+pkgrel=0
+pkgdesc="Typhoeus runs HTTP requests in parallel"
+url="https://github.com/typhoeus/typhoeus"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-ethon"
+depends_dev=""
+makedepends="ruby-dev ruby-gems"
+install=""
+subpackages=""
+source="http://rubygems.org/downloads/$_gemname-$pkgver.gem"
+
+_builddir="$srcdir"/$_gemname-$pkgver
+build() {
+ mkdir -p "$_builddir" || return 1
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \
+ --ignore-dependencies \
+ --verbose \
+ --no-rdoc \
+ --no-ri \
+ || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+package() {
+ mkdir -p "$pkgdir" || return 1
+ cp -ra "$_builddir"/* "$pkgdir"/ || return 1
+}
+md5sums="ff762b252f5fed3339cd780a2ba197ef typhoeus-0.6.5.gem"
+sha256sums="51762573bcf6a01eb1bb91408b9da5d41bd7c32ca999959fba1ea51d0df2bc8f typhoeus-0.6.5.gem"
+sha512sums="8606e6ec0df1d76edaa1bedfa86d46d7289ae450d6fc8677a21acb491d997afa35e6550eafd117363d6748b06e9d80e9bffea379a6c23d2721206c6778080ab2 typhoeus-0.6.5.gem"