From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 283EE15800F for ; Sun, 12 Feb 2023 00:48:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42F9DE0898; Sun, 12 Feb 2023 00:48:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 242A8E0886 for ; Sun, 12 Feb 2023 00:48:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECCB6340D01 for ; Sun, 12 Feb 2023 00:48:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C3798AA for ; Sun, 12 Feb 2023 00:48:52 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1676162821.41f4536b111264c713eaab46e10f52700720ba4e.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/shards/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/shards/Manifest dev-util/shards/shards-0.17.2.ebuild X-VCS-Directories: dev-util/shards/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 41f4536b111264c713eaab46e10f52700720ba4e X-VCS-Branch: master Date: Sun, 12 Feb 2023 00:48:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7edd9a5f-eab4-4cb9-9446-94e376deaaf8 X-Archives-Hash: ce44518aaaa1fd010bb850790cc24b7f commit: 41f4536b111264c713eaab46e10f52700720ba4e Author: Maciej Barć gentoo org> AuthorDate: Sun Feb 12 00:41:16 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Feb 12 00:47:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f4536b dev-util/shards: bump to 0.17.2 Signed-off-by: Maciej Barć gentoo.org> dev-util/shards/Manifest | 1 + dev-util/shards/shards-0.17.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest index d918c3a088ea..171d70f4b140 100644 --- a/dev-util/shards/Manifest +++ b/dev-util/shards/Manifest @@ -1,2 +1,3 @@ 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 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 +}