aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-04-13 10:02:05 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-04-14 15:45:05 +0000
commit1bcbe1dd544a1d306ea9a3d1df03888cf5ffd4c0 (patch)
tree3f9a07bbbb8f36e91c5bb376b1ef7ef636a4f338
parent1d6d15e604e891da8be27cfb770c736d7afde27c (diff)
downloadaports-1bcbe1dd544a1d306ea9a3d1df03888cf5ffd4c0.tar.bz2
aports-1bcbe1dd544a1d306ea9a3d1df03888cf5ffd4c0.tar.xz
community/ruby-posix-spawn: move from testing
Minor changes to pass lint
-rw-r--r--community/ruby-posix-spawn/APKBUILD (renamed from testing/ruby-posix-spawn/APKBUILD)9
-rw-r--r--community/ruby-posix-spawn/gemspec.patch (renamed from testing/ruby-posix-spawn/gemspec.patch)0
-rw-r--r--community/ruby-posix-spawn/rakefile-skip-build.patch (renamed from testing/ruby-posix-spawn/rakefile-skip-build.patch)0
-rw-r--r--community/ruby-posix-spawn/tests-skip-failing.patch (renamed from testing/ruby-posix-spawn/tests-skip-failing.patch)0
4 files changed, 3 insertions, 6 deletions
diff --git a/testing/ruby-posix-spawn/APKBUILD b/community/ruby-posix-spawn/APKBUILD
index c8b23236c0..f5a00b003b 100644
--- a/testing/ruby-posix-spawn/APKBUILD
+++ b/community/ruby-posix-spawn/APKBUILD
@@ -10,7 +10,7 @@ arch="all"
license="MIT"
checkdepends="ruby-minitest ruby-rake ruby-rake-compiler"
makedepends="ruby ruby-dev"
-options="!check" # FIXME: tests fail on builders, cannot reproduce locally
+options="!check" # tests fail on builders, cannot reproduce locally
source="$pkgname-$pkgver.tar.gz::https://github.com/rtomayko/$_gemname/archive/v$pkgver.tar.gz
gemspec.patch
tests-skip-failing.patch
@@ -18,8 +18,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/rtomayko/$_gemname/archive/v
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
-
gem build $_gemname.gemspec
gem install --local \
@@ -34,13 +32,12 @@ build() {
}
check() {
- cd "$builddir"
-
rake test
}
package() {
- local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
+ local gemdir
+ gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
cd "$builddir"/dist
mkdir -p "$gemdir"
diff --git a/testing/ruby-posix-spawn/gemspec.patch b/community/ruby-posix-spawn/gemspec.patch
index aa7aba211c..aa7aba211c 100644
--- a/testing/ruby-posix-spawn/gemspec.patch
+++ b/community/ruby-posix-spawn/gemspec.patch
diff --git a/testing/ruby-posix-spawn/rakefile-skip-build.patch b/community/ruby-posix-spawn/rakefile-skip-build.patch
index 8d656df062..8d656df062 100644
--- a/testing/ruby-posix-spawn/rakefile-skip-build.patch
+++ b/community/ruby-posix-spawn/rakefile-skip-build.patch
diff --git a/testing/ruby-posix-spawn/tests-skip-failing.patch b/community/ruby-posix-spawn/tests-skip-failing.patch
index 67bce11424..67bce11424 100644
--- a/testing/ruby-posix-spawn/tests-skip-failing.patch
+++ b/community/ruby-posix-spawn/tests-skip-failing.patch