summaryrefslogtreecommitdiff
path: root/dev-util/shards
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /dev-util/shards
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'dev-util/shards')
-rw-r--r--dev-util/shards/Manifest4
-rw-r--r--dev-util/shards/metadata.xml20
-rw-r--r--dev-util/shards/shards-0.17.2.ebuild56
3 files changed, 68 insertions, 12 deletions
diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest
index e24509e14887..22ffde89a26d 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.15.0.tar.gz 62648 BLAKE2B bd36733e4a98fcc4a02038745ac2b838c61109edc593a333ebb35474d5a7ecb2767c8c1a54f7116c76e83fceb59d151813d3dd23e8afc37c29f00e6b879daf3c SHA512 cbd428627c08658213494215db78c94513482aaa54038c159e8fea4819291552eda8a8f6decf5cf90134c89e98ad7fdaee5f666f02df054fb44c703179f428ca
+DIST shards-0.17.2.tar.gz 72048 BLAKE2B 1aab6e12be7300918d2e39d3c529da852fd7bb085a23fb2b4c089901ca2188d8f707b5c6554d3912d06067c9cae2c559d415636445c771ec9ec620deabe408ed SHA512 a3f4343fb3e7c653f8a61384bc159ae5c1dacc97017c7895f65f425a79bfee0af080abe2a98b7a3f2a7e4b0ee4bfc05db53af724d0ffb09cbde64f848599acd1
EBUILD shards-0.15.0-r1.ebuild 1066 BLAKE2B 3dbe94b616ed2b626a64a163617ffffe5668a22d362a8e1816fddb1c5db5909b024981bf394f39340e270f26a1e7cc7aa8947ea7b26a64210a30ef78ea5176b5 SHA512 8a1a752e7f9f4e76ee2f4a3ae46c8a13e9c1c09fcf40f7be1d41b8c9f74bad0cfeb44b85a56fb55bf2acb04531eb451b8d6ce46dc8f5297e011c3bbd154b8970
-MISC metadata.xml 475 BLAKE2B d3be27b2645dac6c865957f4a565c61b69c7abbbbd9f5a02777738f923e8db6b9b46946c3dccdd5f4fff084d29cd7d1ae189ea442df27b692bc64bcb926988b5 SHA512 24a8afddb45b7b6a0928d06f998b6e0e05f30f265a78a4485f4bc16d540d0fa3fcb2436ca6e31744fd251c21f3dd305731fb777e959452c8e5b3d9751b306217
+EBUILD shards-0.17.2.ebuild 1193 BLAKE2B cd9f7c86542483940f8b43040987f863e559874b57c6b661b609cde54f1608f62bad1623a4517f2a364d624d01484f5ee3d07b2845d6f07dba874b6ee37cb5c0 SHA512 4f433f53e2880e206de95a9b81529bbfa85a590fcbc6003daef7d10256968244aba55d2c0e36c184489070886f8d893e956f4bdf6ddf0f927a94798bd684dc83
+MISC metadata.xml 410 BLAKE2B d1c98e949a9c44a8bb295b1c800d735ae3575e5826cad4749ed7da13fb7ca58043eae458f3f8d5a0b00017b59a9854693f6c0ed812dee3296c24fc1ec57397db SHA512 c6821307655656a756bc711a9271d5d6e506257354e975c71211f7c353476ed80f4269358f75e34d8271bf5099fec8eb38f840b262fa91f1f2c4783c174657ca
diff --git a/dev-util/shards/metadata.xml b/dev-util/shards/metadata.xml
index 60a4fed88a2f..49f620cfd901 100644
--- a/dev-util/shards/metadata.xml
+++ b/dev-util/shards/metadata.xml
@@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>toshokan@shojigate.net</email>
- <name>J. Pz</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="github">crystal-lang/shards</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/crystal-lang/crystal/issues/</bugs-to>
+ <remote-id type="github">crystal-lang/shards</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-util/shards/shards-0.17.2.ebuild b/dev-util/shards/shards-0.17.2.ebuild
new file mode 100644
index 000000000000..013d311a44fe
--- /dev/null
+++ b/dev-util/shards/shards-0.17.2.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
+}