1 |
commit: 5ff9b28d1666c9672de7f45c242a8dbe6ba8f939 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 29 20:40:00 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 06:39:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff9b28d |
7 |
|
8 |
dev-util/shards: bump up to 0.15.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-util/shards/Manifest | 2 ++ |
14 |
dev-util/shards/shards-0.15.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest |
18 |
index f75762bf011..1be8ca07c9f 100644 |
19 |
--- a/dev-util/shards/Manifest |
20 |
+++ b/dev-util/shards/Manifest |
21 |
@@ -1,2 +1,4 @@ |
22 |
DIST crystal-molinillo-0.1.0.tar.gz 23932 BLAKE2B c9bcd707a3208f5d80e6e3030523d50f86cb5977799de8ea6035d014094e3c2fff9bb189fa98f566e72e1e7ad161e47e44c89d9b264d47f109b2e891ecb469e5 SHA512 8d74d95896cd7ff510c87e2ffba6ae5f04ceeddde574930ee609851312b65d713a315cc24f9aa3fab02f9447ccb25ef2dd2e8179640b8c5cfb3d7d6b52d1ded5 |
23 |
+DIST crystal-molinillo-0.2.0.tar.gz 23959 BLAKE2B 257dcca66583db87a802b27b1f100e226eb0b6ac53708d110040d7b5560f429a82f11595e303af4922f22917d922d60ea380fb395d254dc3b3ce24f4183395b6 SHA512 7c00a6a3ee4864b712ad8b703557f10498ba0b25491a55ae2f6c02d574034ec5bf8b87df777c3d34eb9cc4c87eebdcf6567c153e9edf3bc3c1b9ac4306ce3dc2 |
24 |
DIST shards-0.14.1.tar.gz 61664 BLAKE2B 35f5626096266a86561f9b8613cfdb5f628e2ce247eb511dc0896c600619dcc7660b5b2b473fa0d9cec07010a5e13b8614fa63475acffe17a79cab8503cc6485 SHA512 be51e6d5459f0537681bea9b5c7ff048c33cd67fbb9effa20e6af8ac31f8ee0534f2012ed03712b5204451e7a48b932b0c44011dd39a7b47f81c85587579fcdf |
25 |
+DIST shards-0.15.0.tar.gz 62648 BLAKE2B bd36733e4a98fcc4a02038745ac2b838c61109edc593a333ebb35474d5a7ecb2767c8c1a54f7116c76e83fceb59d151813d3dd23e8afc37c29f00e6b879daf3c SHA512 cbd428627c08658213494215db78c94513482aaa54038c159e8fea4819291552eda8a8f6decf5cf90134c89e98ad7fdaee5f666f02df054fb44c703179f428ca |
26 |
|
27 |
diff --git a/dev-util/shards/shards-0.15.0.ebuild b/dev-util/shards/shards-0.15.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..52270b880ee |
30 |
--- /dev/null |
31 |
+++ b/dev-util/shards/shards-0.15.0.ebuild |
32 |
@@ -0,0 +1,46 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit multiprocessing toolchain-funcs |
39 |
+ |
40 |
+CRYSTAL_MOLINILLO_PV=0.2.0 |
41 |
+CRYSTAL_MOLINILLO_P=crystal-molinillo-${CRYSTAL_MOLINILLO_PV} |
42 |
+ |
43 |
+DESCRIPTION="Dependency manager for the Crystal language" |
44 |
+HOMEPAGE="https://github.com/crystal-lang/shards" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/crystal-lang/shards/archive/v${PV}.tar.gz -> ${P}.tar.gz |
47 |
+ https://github.com/crystal-lang/crystal-molinillo/archive/v${CRYSTAL_MOLINILLO_PV}.tar.gz -> ${CRYSTAL_MOLINILLO_P}.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ >dev-lang/crystal-0.11.1[yaml] |
56 |
+" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+RESTRICT=test # missing files in tarball |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ # bundle crystal-molinillo to bootstrap 'shards' |
65 |
+ mkdir -p lib || die |
66 |
+ ln -s ../../${CRYSTAL_MOLINILLO_P} lib/molinillo || die |
67 |
+ |
68 |
+ tc-export CC |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ emake release=1 FLAGS="--link-flags=\"${LDFLAGS}\" --verbose --threads $(makeopts_jobs)" |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ dobin bin/${PN} |
77 |
+ dodoc README.md |
78 |
+} |