public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/shards/
Date: Sat,  8 Aug 2020 09:58:21 +0000 (UTC)	[thread overview]
Message-ID: <1596880695.8072397d1373efa6a3bf32fccb08a3a71dc5c6cf.slyfox@gentoo> (raw)

commit:     8072397d1373efa6a3bf32fccb08a3a71dc5c6cf
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  8 09:55:32 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug  8 09:58:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8072397d

dev-util/shards: handle user's LDFLAGS

Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/736374
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/shards/shards-0.12.0-r1.ebuild | 46 +++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/dev-util/shards/shards-0.12.0-r1.ebuild b/dev-util/shards/shards-0.12.0-r1.ebuild
new file mode 100644
index 00000000000..fca8719df78
--- /dev/null
+++ b/dev-util/shards/shards-0.12.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multiprocessing toolchain-funcs
+
+CRYSTAL_MOLINILLO_PV=0.1.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"
+
+DEPEND="
+	>dev-lang/crystal-0.11.1[yaml]
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT=test # missing files in tarball
+
+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() {
+	dobin bin/${PN}
+	dodoc README.md
+}


             reply	other threads:[~2020-08-08  9:58 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-08  9:58 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-05 14:10 [gentoo-commits] repo/gentoo:master commit in: dev-util/shards/ Jakov Smolić
2025-01-27 14:51 Maciej Barć
2024-12-27 18:52 Maciej Barć
2024-05-01 16:48 Sam James
2024-03-30 23:09 Maciej Barć
2024-03-30 23:09 Maciej Barć
2024-01-28  6:50 Sam James
2023-12-27  1:20 Maciej Barć
2023-06-25  8:07 Maciej Barć
2023-06-25  8:07 Maciej Barć
2023-05-19 17:45 Sam James
2023-04-16 10:02 Maciej Barć
2023-03-26  2:57 Sam James
2023-03-04  7:45 Arthur Zamarin
2023-02-12  0:48 Maciej Barć
2023-02-12  0:48 Maciej Barć
2023-02-11 18:54 Jonas Stein
2021-08-26 10:51 Joonas Niilola
2021-08-01  6:39 Joonas Niilola
2021-07-23  7:33 Sergei Trofimovich
2021-07-17 11:22 Sergei Trofimovich
2021-06-30  6:39 Sergei Trofimovich
2021-03-13  9:53 Sergei Trofimovich
2021-03-11  7:49 Sergei Trofimovich
2021-02-26 10:25 Sergei Trofimovich
2021-02-24  8:16 Sergei Trofimovich
2021-01-28  8:09 Sergei Trofimovich
2021-01-23 11:28 Sergei Trofimovich
2020-08-09 18:35 Sergei Trofimovich
2020-08-06 21:31 Sergei Trofimovich
2020-06-20 19:49 Sergei Trofimovich
2020-06-09  6:42 Sergei Trofimovich
2020-06-06  8:56 Sergei Trofimovich
2020-05-29 22:13 Sergei Trofimovich
2020-05-23 10:13 Sergei Trofimovich
2020-03-25 22:41 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2019-06-14 18:32 Sergei Trofimovich
2018-06-17 21:48 Sergei Trofimovich
2018-06-08 15:36 Sergei Trofimovich
2018-06-08 15:36 Sergei Trofimovich
2018-05-19 16:10 Jonas Stein
2018-01-09 23:09 Sergei Trofimovich
2016-11-25  8:57 Sergei Trofimovich
2016-09-02 16:38 Sergei Trofimovich
2016-07-30  9:50 Sergei Trofimovich
2016-03-20 22:59 Patrice Clement
2016-02-24 21:38 Patrice Clement
2016-02-24 21:38 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1596880695.8072397d1373efa6a3bf32fccb08a3a71dc5c6cf.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox