commit: 25bc295405028adb171d9bb098440a78ec984862
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 24 13:33:10 2026 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 24 13:47:51 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25bc2954
dev-util/shards: bump to 0.20.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-util/shards/Manifest | 2 ++
dev-util/shards/shards-0.20.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest
index 0c832fea1609..ab98b6ed544e 100644
--- a/dev-util/shards/Manifest
+++ b/dev-util/shards/Manifest
@@ -1,2 +1,4 @@
+DIST crystal-molinillo-0.2.0.gh.tar.gz 23959 BLAKE2B
257dcca66583db87a802b27b1f100e226eb0b6ac53708d110040d7b5560f429a82f11595e303af4922f22917d922d60ea380fb395d254dc3b3ce24f4183395b6
SHA512
7c00a6a3ee4864b712ad8b703557f10498ba0b25491a55ae2f6c02d574034ec5bf8b87df777c3d34eb9cc4c87eebdcf6567c153e9edf3bc3c1b9ac4306ce3dc2
DIST crystal-molinillo-0.2.0.tar.gz 23959 BLAKE2B
257dcca66583db87a802b27b1f100e226eb0b6ac53708d110040d7b5560f429a82f11595e303af4922f22917d922d60ea380fb395d254dc3b3ce24f4183395b6
SHA512
7c00a6a3ee4864b712ad8b703557f10498ba0b25491a55ae2f6c02d574034ec5bf8b87df777c3d34eb9cc4c87eebdcf6567c153e9edf3bc3c1b9ac4306ce3dc2
DIST shards-0.19.1.tar.gz 83440 BLAKE2B
734750a25c6566725e8329f326e9509771ddb69d8958b98c687dde41c5b34b71d39f19e4d7d1744f576f17ccb39794abd744c407d55611550b4022d3436b90ac
SHA512
42cf28c1fdd53a80eed1b9524d8f9ed7b4722f1e7a182abfc729ad574d6edf997c0ae08cb68c9b0ec632e85a4f4b737ecd27a46f7881b1f4725ced3ece8fa6fd
+DIST shards-0.20.0.gh.tar.gz 109618 BLAKE2B
21790dd05c64ca66447fcde0e9a9419d0632eb0762c0d2fc5d19e444575103697ba01175b5a9c17229ff7cd497e9198db9265e43b5b1999b8220b2acd59c196e
SHA512
d88362c3ace00a299f9a5850f9e2798a81b905aa80e4c71b33c6d189e512ebc1dd6cb11e7a27e2b07f2d51a8e3e2ec8b101e769e90a2732926211e66afb6f818
diff --git a/dev-util/shards/shards-0.20.0.ebuild
b/dev-util/shards/shards-0.20.0.ebuild
new file mode 100644
index 000000000000..b7f22d58fea7
--- /dev/null
+++ b/dev-util/shards/shards-0.20.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing toolchain-funcs
+
+MOLINILLO_PV="0.2.0"
+MOLINILLO_P="crystal-molinillo-${MOLINILLO_PV}"
+
+DESCRIPTION="Dependency manager for the Crystal language"
+HOMEPAGE="https://github.com/crystal-lang/shards/"
+SRC_URI="
+ https://github.com/crystal-lang/shards/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+
https://github.com/crystal-lang/crystal-molinillo/archive/v${MOLINILLO_PV}.tar.gz
+ -> ${MOLINILLO_P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # Missing files in the tarball.
+
+RDEPEND="
+ dev-lang/crystal
+ dev-libs/libyaml:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+DOCS=( CHANGELOG.md README.md SPEC.md )
+
+QA_PREBUILT=".*" # Generated by Crystal.
+
+src_prepare() {
+ default
+ tc-export CC
+
+ # bundle crystal-molinillo to bootstrap 'shards'
+ mkdir -p lib || die
+ ln -s "../../${MOLINILLO_P}" lib/molinillo || die
+
+ # Remove failing tests.
+ rm ./spec/unit/{fossil,git,hg}_*.cr || die
+}
+
+src_compile() {
+ emake release=1 \
+ FLAGS="--link-flags=\"${LDFLAGS}\" --verbose --threads
$(makeopts_jobs)"
+}
+
+src_install() {
+ dobin "bin/${PN}"
+ doman man/*
+ einstalldocs
+}