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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCD6A158041 for ; Sat, 16 Mar 2024 05:56:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77921E29C2; Sat, 16 Mar 2024 05:56:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B180E29BE for ; Sat, 16 Mar 2024 05:56:43 +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 D9732335D1C for ; Sat, 16 Mar 2024 05:56:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38EDB7E7 for ; Sat, 16 Mar 2024 05:56:40 +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: <1710568419.db49e23625c3a874eac804f26ecebdd45cedc664.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/verilator/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/verilator/Manifest sci-electronics/verilator/verilator-5.022.ebuild X-VCS-Directories: sci-electronics/verilator/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: db49e23625c3a874eac804f26ecebdd45cedc664 X-VCS-Branch: dev Date: Sat, 16 Mar 2024 05:56:40 +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: a6106d1a-401b-4980-8901-8671707e2c44 X-Archives-Hash: 83e6bc05193845de08ba2bd64c973f8c Message-ID: <20240316055640.zDfZcx1HmtjGPK0UQKor9df-p1zgiN3bNHFT-KZaosw@z> commit: db49e23625c3a874eac804f26ecebdd45cedc664 Author: Huang Rui gmail com> AuthorDate: Sat Mar 16 05:53:39 2024 +0000 Commit: Rui Huang gmail com> CommitDate: Sat Mar 16 05:53:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db49e236 sci-electronics/verilator: add 5.022 Signed-off-by: Huang Rui gmail.com> sci-electronics/verilator/Manifest | 1 + sci-electronics/verilator/verilator-5.022.ebuild | 46 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sci-electronics/verilator/Manifest b/sci-electronics/verilator/Manifest index a1bc324abd..046d2c3e5c 100644 --- a/sci-electronics/verilator/Manifest +++ b/sci-electronics/verilator/Manifest @@ -1,3 +1,4 @@ DIST verilator-4.106.tar.gz 2191982 BLAKE2B 9dbd0dad390b4a009a062a8405dc01a317fed68a2f0becd4bf088c566f2457a4cda04a4c276cf31cdbaa0efa6e64f5618b9439221f8cf4bb469f20f1de1af397 SHA512 b1840b294b22c0d4cf17a0a154e73a631c62b30055f324dca98839ab85e2a524f9e3b6e981b192b941c1dd9837f326ae38cc3fcf686c3f8731d376dc89dd46fe DIST verilator-5.014.tar.gz 2984988 BLAKE2B 5cf891a0092975bb68c65701f54b71e76579317c537bdf16ce930e7f560ceed0bb33def9d0a78df2e9b3b599f71de7633344d90b45aa54945ec39356ce7a8f87 SHA512 963c15290089fd59870bf15903e71aa29fcc10eb67b3d3f1ae0128e8a29e5dc086c6f3a8d429c24718f54c3cbc3d3bcaa137bd2fa3165a0190c591ed5fc06f37 DIST verilator-5.018.tar.gz 3457115 BLAKE2B ea392ffd4df067180c7662983d6941719afd7cf960347ac12ffb43dd8c0374d4254a9d3056d78cda72534b64f077cae504baefdd357ddb8d07dcdec1fc56f7dd SHA512 671d6d5fa749b00f0e66cdf17f0b8c38523f757e4c33268ee4805e131b38bc6563ffa312827fa547c5f3efb9c539633e412d8e105742ac2f4713e21b43f67ce8 +DIST verilator-5.022.tar.gz 3761782 BLAKE2B 49713ce89f101eb6f6165ee316fc018936ccb21fd6ceccce343684ff3cca10285f851172549843078801e69828f0069877ec68a8ac39a1fbce4a2426d3e4b44d SHA512 5b919ed5d4cf863434f10f39bbb3a5155d63f79765f5f1d5ae543023b0e350e0996507d250fbfb2e5129bbdf9a51cc5fd0b7154962747c89435648897525bc84 diff --git a/sci-electronics/verilator/verilator-5.022.ebuild b/sci-electronics/verilator/verilator-5.022.ebuild new file mode 100644 index 0000000000..a71b2db38c --- /dev/null +++ b/sci-electronics/verilator/verilator-5.022.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools + +DESCRIPTION="The fast free Verilog/SystemVerilog simulator" +HOMEPAGE=" + https://verilator.org + https://github.com/verilator/verilator +" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="|| ( Artistic-2 LGPL-3 )" +SLOT="0" + +RDEPEND=" + dev-lang/perl + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +src_prepare() { + default + if [[ ! "${PV}" == "9999" ]] ; then + # https://github.com/verilator/verilator/issues/3352 + sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev || die + fi + eautoconf --force +}