1 |
commit: 4268e63a833c6a64434602710ee8a91aa0036d3e |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 23 10:12:57 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 23 10:13:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4268e63a |
7 |
|
8 |
dev-util/shards: bump up to 0.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-util/shards/Manifest | 2 ++ |
14 |
dev-util/shards/shards-0.10.0.ebuild | 42 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest |
18 |
index 91732a057bf..8ea095c9a1c 100644 |
19 |
--- a/dev-util/shards/Manifest |
20 |
+++ b/dev-util/shards/Manifest |
21 |
@@ -1 +1,3 @@ |
22 |
+DIST crystal-molinillo-0.1.0.tar.gz 23932 BLAKE2B c9bcd707a3208f5d80e6e3030523d50f86cb5977799de8ea6035d014094e3c2fff9bb189fa98f566e72e1e7ad161e47e44c89d9b264d47f109b2e891ecb469e5 SHA512 8d74d95896cd7ff510c87e2ffba6ae5f04ceeddde574930ee609851312b65d713a315cc24f9aa3fab02f9447ccb25ef2dd2e8179640b8c5cfb3d7d6b52d1ded5 |
23 |
+DIST shards-0.10.0.tar.gz 39507 BLAKE2B f6b6034a626500d0459e01be73de28506dc2efe116a5f662b27edb6cbe363cf4bb3184fcce83838e02dec4db18355a85737b4783560b7d94b643145d08581174 SHA512 8d41a2553fd99bd44a3e8a9aacbd17f2a1e9f8730f90c4682091e8d2a4f2388818bdfc4e4bf654c3cbebd617a74474fb63f1fb86a62998cf79409d4778649757 |
24 |
DIST shards-0.9.0.tar.gz 41280 BLAKE2B a74ab96489c804da3017dc683295d1fc16ba30248015af9deccdcf52a09301f665d4848822419d263d2301969c484fae288eff63e281bd4841b1fd101c5d5383 SHA512 a06579f1a96cea1fb1ba97c17ae4529439fb7c54572e74b4969921b1a987a1e1be9c9eb8569db94fd4cb4adc098b3085abfd2a6f7015da7f39611a1774d30022 |
25 |
|
26 |
diff --git a/dev-util/shards/shards-0.10.0.ebuild b/dev-util/shards/shards-0.10.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c36571a58c8 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/shards/shards-0.10.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 |
+} |