aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-hamster
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-04-03 00:47:11 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-04-03 00:47:11 +0200
commitde941aa0e60fd61769a165250bc8962ff86f6a4b (patch)
tree8b8c4a29c096cb9388313b3a142c40034ad99ef4 /testing/ruby-hamster
parent470f33460c9bfebf8f6f70454a9ac7e8ecea815c (diff)
downloadaports-de941aa0e60fd61769a165250bc8962ff86f6a4b.tar.bz2
aports-de941aa0e60fd61769a165250bc8962ff86f6a4b.tar.xz
community/ruby-hamster: move from testing
Diffstat (limited to 'testing/ruby-hamster')
-rw-r--r--testing/ruby-hamster/APKBUILD46
-rw-r--r--testing/ruby-hamster/specs-remove-extra-deps.patch26
2 files changed, 0 insertions, 72 deletions
diff --git a/testing/ruby-hamster/APKBUILD b/testing/ruby-hamster/APKBUILD
deleted file mode 100644
index 49a0486c5c..0000000000
--- a/testing/ruby-hamster/APKBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor: Jakub Jirutka <jakub@jirutka.cz>
-# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
-pkgname=ruby-hamster
-_gemname=hamster
-pkgver=3.0.0
-pkgrel=0
-pkgdesc="Efficient, immutable, and thread-safe collection classes for Ruby"
-url="https://github.com/hamstergem/hamster"
-arch="noarch"
-license="MIT"
-depends="ruby ruby-concurrent-ruby"
-checkdepends="ruby-rspec"
-source="$pkgname-$pkgver.tar.gz::https://github.com/hamstergem/$_gemname/archive/v$pkgver.tar.gz
- specs-remove-extra-deps.patch"
-builddir="$srcdir/$_gemname-$pkgver"
-
-build() {
- cd "$builddir"
- gem build $_gemname.gemspec
-}
-
-check() {
- cd "$builddir"
- rspec spec
-}
-
-package() {
- local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
-
- cd "$builddir"
- gem install --local \
- --install-dir "$gemdir" \
- --ignore-dependencies \
- --no-document \
- --verbose \
- $_gemname
-
- cd "$gemdir"
- rm -rf cache build_info doc
-
- cd gems/$_gemname-$pkgver
- rm -rf spec LICENSE
-}
-
-sha512sums="ba2f1b843aca907d0e84968160322d0ef7afdc38a45675e7b0cca54fa676d2d0e27503d98ffb605f50f85488b5a228df9bca2b1ba03d4f16148433e7a0dec994 ruby-hamster-3.0.0.tar.gz
-ea9c997e69abc3074ba52213610b4ff62179fb8e50243fa6a41cfe85773831c11c793ed04b515ac48aceb45ee29e3d5c3b08dada7eda199f260fe41f566d1bf5 specs-remove-extra-deps.patch"
diff --git a/testing/ruby-hamster/specs-remove-extra-deps.patch b/testing/ruby-hamster/specs-remove-extra-deps.patch
deleted file mode 100644
index 8dd1f96c69..0000000000
--- a/testing/ruby-hamster/specs-remove-extra-deps.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
-@@ -1,7 +1,3 @@
--require "codeclimate-test-reporter"
--CodeClimate::TestReporter.start
--
--require "pry"
- require "rspec"
- require "hamster/hash"
- require "hamster/set"
---- a/spec/lib/hamster/vector/insert_spec.rb
-+++ b/spec/lib/hamster/vector/insert_spec.rb
-@@ -1,6 +1,5 @@
- require "spec_helper"
- require "hamster/vector"
--require 'pry'
-
- describe Hamster::Vector do
- describe "#insert" do
-@@ -66,4 +65,4 @@
- end
- end
- end
--end
-\ No newline at end of file
-+end