summaryrefslogtreecommitdiff
path: root/dev-util/shards
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-27 07:43:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-27 07:43:26 +0000
commitd4ce53f1e327bfbbc32e193e0f495b0e826c61e5 (patch)
treeeaee0038a45a76debf2097852b1fb076440f6cbf /dev-util/shards
parenta2210d6624510ad5825191a26603b73bbc096b98 (diff)
gentoo auto-resync : 27:12:2023 - 07:43:26
Diffstat (limited to 'dev-util/shards')
-rw-r--r--dev-util/shards/Manifest2
-rw-r--r--dev-util/shards/shards-0.17.4.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest
index c6e698d4e503..37165eeef68b 100644
--- a/dev-util/shards/Manifest
+++ b/dev-util/shards/Manifest
@@ -1,4 +1,6 @@
DIST crystal-molinillo-0.2.0.tar.gz 23959 BLAKE2B 257dcca66583db87a802b27b1f100e226eb0b6ac53708d110040d7b5560f429a82f11595e303af4922f22917d922d60ea380fb395d254dc3b3ce24f4183395b6 SHA512 7c00a6a3ee4864b712ad8b703557f10498ba0b25491a55ae2f6c02d574034ec5bf8b87df777c3d34eb9cc4c87eebdcf6567c153e9edf3bc3c1b9ac4306ce3dc2
DIST shards-0.17.3.tar.gz 72539 BLAKE2B 2be15469df4b8a53ebd480815487f782717ce9d436cddf6acc2559e4c5dd61f06a1089d34b0a31aab2ab3e5334cd10abe513edd2cbe92b84d0fbd1cfc6cb09e5 SHA512 0789cf1fcc0df0f2d7657c034a157f05c0d65ee2c2ecda1f3d8b2d2f1274d584769f8600985fc463bc6632fe0a0822bdc40250aef2a92d1d612d0548ed0f4d2a
+DIST shards-0.17.4.tar.gz 73231 BLAKE2B 8480d6a56fadf1dfac44262fe260365f910ba8004f2361cae5646c2fa77a0e71c46b91c9a707e7b3825ed94a31eb94dc43d16b6d7e1da5efcc52a22ea39a51bb SHA512 82c7f2e4bb9b280a49cfb1a0468b2fe0a551d55b91b74e01d50478ff3b2652b872b225a345f8f7816f5130141603baad96387df2b0df45e7ec79c2d47956c011
EBUILD shards-0.17.3.ebuild 1192 BLAKE2B 6bd7e041d4f09573c615ffd3602ddf40e2b2329fc35d7ced0479cb9e5ff95bc4d32ceacfdb6a0edc991d5d227040cd759da569431917d6871b2043e7bcae74b0 SHA512 4dfced023fab1f45c58032a00fad841c4dc246f1669d55ac135b8b1ac9a3fccf917485314713611b691047f73cc1f5db26bbe11493b2fba52e02f2e5c71e38e9
+EBUILD shards-0.17.4.ebuild 1193 BLAKE2B cd9f7c86542483940f8b43040987f863e559874b57c6b661b609cde54f1608f62bad1623a4517f2a364d624d01484f5ee3d07b2845d6f07dba874b6ee37cb5c0 SHA512 4f433f53e2880e206de95a9b81529bbfa85a590fcbc6003daef7d10256968244aba55d2c0e36c184489070886f8d893e956f4bdf6ddf0f927a94798bd684dc83
MISC metadata.xml 410 BLAKE2B d1c98e949a9c44a8bb295b1c800d735ae3575e5826cad4749ed7da13fb7ca58043eae458f3f8d5a0b00017b59a9854693f6c0ed812dee3296c24fc1ec57397db SHA512 c6821307655656a756bc711a9271d5d6e506257354e975c71211f7c353476ed80f4269358f75e34d8271bf5099fec8eb38f840b262fa91f1f2c4783c174657ca
diff --git a/dev-util/shards/shards-0.17.4.ebuild b/dev-util/shards/shards-0.17.4.ebuild
new file mode 100644
index 000000000000..013d311a44fe
--- /dev/null
+++ b/dev-util/shards/shards-0.17.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing toolchain-funcs
+
+CRYSTAL_MOLINILLO_PV=0.2.0
+CRYSTAL_MOLINILLO_P=crystal-molinillo-${CRYSTAL_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}.tar.gz
+ https://github.com/crystal-lang/crystal-molinillo/archive/v${CRYSTAL_MOLINILLO_PV}.tar.gz
+ -> ${CRYSTAL_MOLINILLO_P}.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # missing files in tarball
+
+RDEPEND="
+ >dev-lang/crystal-0.11.1
+ dev-libs/libyaml:=
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md README.md SPEC.md )
+
+QA_PREBUILT=".*" # Generated by Crystal.
+
+src_prepare() {
+ default
+
+ # bundle crystal-molinillo to bootstrap 'shards'
+ mkdir -p lib || die
+ ln -s ../../${CRYSTAL_MOLINILLO_P} lib/molinillo || die
+
+ tc-export CC
+}
+
+src_compile() {
+ emake release=1 \
+ FLAGS="--link-flags=\"${LDFLAGS}\" --verbose --threads $(makeopts_jobs)"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe bin/${PN}
+
+ doman man/*
+ einstalldocs
+}