1 |
commit: 9de2e8fab7ed0a04ece6ce9738a25e2ee0f3cdc4 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 21:30:56 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 21:30:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de2e8fa |
7 |
|
8 |
dev-util/shards: bump uo to 0.12.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-util/shards/Manifest | 1 + |
14 |
dev-util/shards/shards-0.12.0.ebuild | 42 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest |
18 |
index 5654eeeb2af..716cffff95e 100644 |
19 |
--- a/dev-util/shards/Manifest |
20 |
+++ b/dev-util/shards/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST crystal-molinillo-0.1.0.tar.gz 23932 BLAKE2B c9bcd707a3208f5d80e6e3030523d50f86cb5977799de8ea6035d014094e3c2fff9bb189fa98f566e72e1e7ad161e47e44c89d9b264d47f109b2e891ecb469e5 SHA512 8d74d95896cd7ff510c87e2ffba6ae5f04ceeddde574930ee609851312b65d713a315cc24f9aa3fab02f9447ccb25ef2dd2e8179640b8c5cfb3d7d6b52d1ded5 |
23 |
DIST shards-0.11.1.tar.gz 45913 BLAKE2B 43afeaaadc1b1ec68353580aacac2eb7d2d69547ba128fdb358682031d83fe28eaae159e39d519ef52f7b058228176fd6ca1aa47aeb03e4a1ccbae7306902e95 SHA512 59a1bd563101c3b3175bd586cc205a821b5087fc70b6bc14fbb612b325c18aa0a2d9b8159ad115e227c9321b1d40703fd7062b413b92252e6efd2ee081d1a221 |
24 |
+DIST shards-0.12.0.tar.gz 52205 BLAKE2B 6aed0be06f1f7e336861705fc0e29fbc3a97336f37d3a1eef09d3ea2ebaf2e61f1e5594f893974a6c13114ee575a69cf6a71fce0cc5f8985b8c365392735e8ca SHA512 3dfdf09be8701e568614923ffd5be90c63bdefc06f310c35b1b38e4b92f8bc1f432398656c08cadd36be52491f2ae8fda3c9b4117dbc4d53dbc8068b78300468 |
25 |
|
26 |
diff --git a/dev-util/shards/shards-0.12.0.ebuild b/dev-util/shards/shards-0.12.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c36571a58c8 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/shards/shards-0.12.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+CRYSTAL_MOLINILLO_PV=0.1.0 |
40 |
+CRYSTAL_MOLINILLO_P=crystal-molinillo-${CRYSTAL_MOLINILLO_PV} |
41 |
+ |
42 |
+DESCRIPTION="Dependency manager for the Crystal language" |
43 |
+HOMEPAGE="https://github.com/crystal-lang/shards" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/crystal-lang/shards/archive/v${PV}.tar.gz -> ${P}.tar.gz |
46 |
+ https://github.com/crystal-lang/crystal-molinillo/archive/v${CRYSTAL_MOLINILLO_PV}.tar.gz -> ${CRYSTAL_MOLINILLO_P}.tar.gz |
47 |
+" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ >dev-lang/crystal-0.11.1[yaml] |
55 |
+" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+ |
58 |
+RESTRICT=test # missing files in tarball |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ |
63 |
+ # bundle crystal-molinillo to bootstrap 'shards' |
64 |
+ mkdir -p lib || die |
65 |
+ ln -s ../../${CRYSTAL_MOLINILLO_P} lib/molinillo || die |
66 |
+ |
67 |
+ tc-export CC |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ dobin bin/${PN} |
72 |
+ dodoc README.md |
73 |
+} |