diff options
author | Milan P. Stanić <mps@arvanta.net> | 2019-05-14 14:10:55 +0000 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-05-14 16:56:49 +0200 |
commit | 3b5bbbf124f308ba43b1bee84052bc46526dda5d (patch) | |
tree | 7ed1d734c23bcf1ab16777b83e86453c9d15a934 /community/shards | |
parent | 0480f03d08f109622e7341a7b8cb0fd335b693d1 (diff) | |
download | aports-3b5bbbf124f308ba43b1bee84052bc46526dda5d.tar.bz2 aports-3b5bbbf124f308ba43b1bee84052bc46526dda5d.tar.xz |
community/shard: fix 'target failed to compile'
bump pkgrel
Diffstat (limited to 'community/shards')
-rw-r--r-- | community/shards/APKBUILD | 6 | ||||
-rw-r--r-- | community/shards/fix-target_failed_to_compile.patch | 22 |
2 files changed, 26 insertions, 2 deletions
diff --git a/community/shards/APKBUILD b/community/shards/APKBUILD index 6f58f393bc..4e72f60251 100644 --- a/community/shards/APKBUILD +++ b/community/shards/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=shards pkgver=0.8.1 -pkgrel=0 +pkgrel=1 _minitestver=0.4.1 pkgdesc="Dependency manager for the Crystal language" url="https://github.com/crystal-lang/shards" @@ -13,6 +13,7 @@ makedepends="yaml-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/crystal-lang/$pkgname/archive/v$pkgver.tar.gz minitest.cr-$_minitestver.tar.gz::https://github.com/ysbaddaden/minitest.cr/archive/v$_minitestver.tar.gz + fix-target_failed_to_compile.patch " builddir="$srcdir/$pkgname-$pkgver" @@ -43,4 +44,5 @@ package() { } sha512sums="c0a8a8531a37e033c6d96ac36dd30dcd3d005c6b1bd7c94dbeee7f6ea9b34a08ab2e14b826c3c18f60dca991f60ec6780df090cafc32403a7272e39dc07e99df shards-0.8.1.tar.gz -3e17bca0b2f9ad5b575f9996bb8056e087dc69b5ea53b81b647dfe15a4f43c40c3b1e06fc0c52d9bf9279f58f35a754b68c58c84e86a2ddbbfc9826349d47957 minitest.cr-0.4.1.tar.gz" +3e17bca0b2f9ad5b575f9996bb8056e087dc69b5ea53b81b647dfe15a4f43c40c3b1e06fc0c52d9bf9279f58f35a754b68c58c84e86a2ddbbfc9826349d47957 minitest.cr-0.4.1.tar.gz +3109ea9619fdfe90959012c888bdfa06c4fc4a6c7b4aefe805704a1bc412e7d4d65db77a518dbfc60c5a34baabfea79d257f58825f67f05071533d704fef8bd0 fix-target_failed_to_compile.patch" diff --git a/community/shards/fix-target_failed_to_compile.patch b/community/shards/fix-target_failed_to_compile.patch new file mode 100644 index 0000000000..50418c8588 --- /dev/null +++ b/community/shards/fix-target_failed_to_compile.patch @@ -0,0 +1,22 @@ +From 25f06615a1819d9678114869e48d900d5e918f73 Mon Sep 17 00:00:00 2001 +From: Julien Portalier <julien@portalier.com> +Date: Tue, 30 Apr 2019 10:51:56 +0200 +Subject: [PATCH] Fix: ... is now valid crystal + +--- + test/integration/build_test.cr | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/integration/build_test.cr b/test/integration/build_test.cr +index 861c064..0863c13 100644 +--- a/test/integration/build_test.cr ++++ b/test/integration/build_test.cr +@@ -60,7 +60,7 @@ class BuildCommandTest < Minitest::Test + end + + def test_reports_error_when_target_failed_to_compile +- File.write File.join(application_path, "src", "cli.cr"), "a = ..." ++ File.write File.join(application_path, "src", "cli.cr"), "a = ......" + + Dir.cd(application_path) do + ex = assert_raises(FailedCommand) do |