diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-08 15:05:06 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-08 15:05:06 +0200 |
commit | 12cd1634f3a45a14621f4b408859a8d67f195cfa (patch) | |
tree | c977e7b974b598e6c9ad5dba76c4ba314925d3a2 | |
parent | 85a88c0cf585ffa54bef3074943e461848cdbb35 (diff) | |
download | alpine_aports-12cd1634f3a45a14621f4b408859a8d67f195cfa.tar.bz2 alpine_aports-12cd1634f3a45a14621f4b408859a8d67f195cfa.tar.xz alpine_aports-12cd1634f3a45a14621f4b408859a8d67f195cfa.zip |
Revert "testing/ruby-typhoeus: upgrade to 0.6.5"
This reverts commit d3ccb6902a1bc2b1f0e2c885ca504955a3ef1e61.
-rw-r--r-- | testing/ruby-typhoeus/APKBUILD | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/testing/ruby-typhoeus/APKBUILD b/testing/ruby-typhoeus/APKBUILD deleted file mode 100644 index d276a1d8f6..0000000000 --- a/testing/ruby-typhoeus/APKBUILD +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> | ||
2 | # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> | ||
3 | _gemname=typhoeus | ||
4 | pkgname=ruby-$_gemname | ||
5 | pkgver=0.6.5 | ||
6 | pkgrel=0 | ||
7 | pkgdesc="Typhoeus runs HTTP requests in parallel" | ||
8 | url="https://github.com/typhoeus/typhoeus" | ||
9 | arch="noarch" | ||
10 | license="MIT" | ||
11 | depends="ruby ruby-ethon" | ||
12 | depends_dev="" | ||
13 | makedepends="ruby-dev ruby-gems" | ||
14 | install="" | ||
15 | subpackages="" | ||
16 | source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" | ||
17 | |||
18 | _builddir="$srcdir"/$_gemname-$pkgver | ||
19 | build() { | ||
20 | mkdir -p "$_builddir" || return 1 | ||
21 | local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" | ||
22 | gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ | ||
23 | --ignore-dependencies \ | ||
24 | --verbose \ | ||
25 | --no-rdoc \ | ||
26 | --no-ri \ | ||
27 | || return 1 | ||
28 | rm -rf "$pkgdir"/$_gemdir/cache \ | ||
29 | "$pkgdir"/$_geminstdir/ext \ | ||
30 | "$pkgdir"/$_geminstdir/.require_paths | ||
31 | } | ||
32 | |||
33 | package() { | ||
34 | mkdir -p "$pkgdir" || return 1 | ||
35 | cp -ra "$_builddir"/* "$pkgdir"/ || return 1 | ||
36 | } | ||
37 | md5sums="ff762b252f5fed3339cd780a2ba197ef typhoeus-0.6.5.gem" | ||
38 | sha256sums="51762573bcf6a01eb1bb91408b9da5d41bd7c32ca999959fba1ea51d0df2bc8f typhoeus-0.6.5.gem" | ||
39 | sha512sums="8606e6ec0df1d76edaa1bedfa86d46d7289ae450d6fc8677a21acb491d997afa35e6550eafd117363d6748b06e9d80e9bffea379a6c23d2721206c6778080ab2 typhoeus-0.6.5.gem" | ||