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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DFF01382C5 for ; Sun, 24 Jan 2021 11:02:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D57FE0997; Sun, 24 Jan 2021 11:02:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57E15E0997 for ; Sun, 24 Jan 2021 11:02:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3D4C1340ECD for ; Sun, 24 Jan 2021 11:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA05248B for ; Sun, 24 Jan 2021 11:02:07 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1611486073.54f750c3d078f9779c4fcaebe030be8f0fd305f9.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bsc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/bsc/bsc-0_pre20210124.ebuild X-VCS-Directories: sci-electronics/bsc/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: 54f750c3d078f9779c4fcaebe030be8f0fd305f9 X-VCS-Branch: dev Date: Sun, 24 Jan 2021 11:02:07 +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: b20ccde3-9320-48e4-8e9f-dd575c2a8f8b X-Archives-Hash: fe4085b3a1bfcb16e1abbf1166ba9e44 commit: 54f750c3d078f9779c4fcaebe030be8f0fd305f9 Author: Huang Rui gmail com> AuthorDate: Sun Jan 24 11:01:13 2021 +0000 Commit: Rui Huang gmail com> CommitDate: Sun Jan 24 11:01:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54f750c3 sci-electronics/bsc: bump to 0_pre20210124 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Huang Rui gmail.com> sci-electronics/bsc/bsc-0_pre20210124.ebuild | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/sci-electronics/bsc/bsc-0_pre20210124.ebuild b/sci-electronics/bsc/bsc-0_pre20210124.ebuild new file mode 100644 index 00000000..5769c1fb --- /dev/null +++ b/sci-electronics/bsc/bsc-0_pre20210124.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Bluespec high level hardware design language compiler" +HOMEPAGE="https://github.com/B-Lang-org/bsc" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/B-Lang-org/${PN}.git" + inherit git-r3 +else + EGIT_COMMIT="69dee0667e51108832b685511e9aa631cca1e83a" + # Using SRC_URI here will failed because this repo uses git submodules. + # SRC_URI="https://github.com/B-Lang-org/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + # S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + # Waiting for https://github.com/B-Lang-org/bsc/issues/85 + EGIT_REPO_URI="https://github.com/B-Lang-org/${PN}.git" + # This inherit git-r3 will removed after upstream finished. + inherit git-r3 + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD GPL-3+ MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-haskell/old-time:0= + dev-haskell/regex-compat:0= + dev-haskell/split:0= + dev-haskell/syb:0= + dev-lang/tcl +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-util/dejagnu + sci-electronics/systemc + sys-process/time + ) +" + +BDEPEND=" + dev-haskell/cabal:0= + dev-lang/ghc:0= + dev-util/gperf + sys-devel/autoconf + sys-devel/bison + sys-devel/flex +" + +PATCHES=( + "${FILESDIR}"/${PN}-0_pre20210106-fix-libdir.patch + "${FILESDIR}"/${PN}-0_pre20210106-fix-wrapper.patch +) + +DOCS=( "README.md" "COPYING" ) + +# We don't want to run it because it will do install by default. +src_compile() { :; } + +src_install() { + emake PREFIX="${ED%/}"/usr LIBDIR="${ED%/}"/usr/$(get_libdir) install + emake -C src/comp PREFIX="${ED%/}"/usr LIBDIR="${ED%/}"/usr/$(get_libdir) install-extra + einstalldocs +}