From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/verilator/
Date: Thu, 10 Oct 2024 09:30:15 +0000 (UTC) [thread overview]
Message-ID: <1728538085.edd1422491dbb841d6eaa4c79b034a49af0a9cbb.davidroman@gentoo> (raw)
commit: edd1422491dbb841d6eaa4c79b034a49af0a9cbb
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Oct 10 05:28:05 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Oct 10 05:28:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edd14224
sci-electronics/verilator: add 5.028
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/verilator/Manifest | 1 +
sci-electronics/verilator/verilator-5.028.ebuild | 69 ++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/sci-electronics/verilator/Manifest b/sci-electronics/verilator/Manifest
index bb15cfceb..437ae19a4 100644
--- a/sci-electronics/verilator/Manifest
+++ b/sci-electronics/verilator/Manifest
@@ -1,3 +1,4 @@
DIST verilator-5.022.tar.gz 3761782 BLAKE2B 49713ce89f101eb6f6165ee316fc018936ccb21fd6ceccce343684ff3cca10285f851172549843078801e69828f0069877ec68a8ac39a1fbce4a2426d3e4b44d SHA512 5b919ed5d4cf863434f10f39bbb3a5155d63f79765f5f1d5ae543023b0e350e0996507d250fbfb2e5129bbdf9a51cc5fd0b7154962747c89435648897525bc84
DIST verilator-5.024.tar.gz 3879481 BLAKE2B 5f25b4ab0b477fc58f3d052d49d3e13bf1fd5326a20873e2d85d0f2a8702f08dd47d93fc1db6eb3c5cef00d4a5e56c4636c381ca16985c8d7ccbe56bcad89e46 SHA512 34184f4c08bcbecf563b424c4c0fdcaf0c04d60e19887c4df5161b48db256dd7cbe960c71f854bd3dad073c193bbc0c576f171f84b634da58259b81e1afaf622
DIST verilator-5.026.tar.gz 3931397 BLAKE2B 0c9bb9582dd170e4d4170eaf9353672a3b5f35ebeccf0669cbae6ab0b5060ed4aab07a1ebba616264354f5fddd85d9013440e4ff83b658602f6ec086c0e2a920 SHA512 95660da60c6f5fac9ce3c7298edfc5ee71beeb2aafe2908b31c83802a22bc4529389d687c3a51eb9370cc6bd1ae9e74e11cdab0de69fa278b1da0d664a393a68
+DIST verilator-5.028.tar.gz 32547892 BLAKE2B fed3fc8bb4e60a271e63ee137abdd3b0939cc6d775e1d85e75a3daf5915ccdef40fae120907e8bda5bbfc38561cc44d0929c5a4b433d08beedce0cdef7709205 SHA512 d3d8d107029afbbcdd9f7a06e7fb17de7c74b4334f6eb5316719550ceec64264d6c95fad9e03214a4ae39ce2e8f2c4bb650c755acf35f4cd656fb1b71300070b
diff --git a/sci-electronics/verilator/verilator-5.028.ebuild b/sci-electronics/verilator/verilator-5.028.ebuild
new file mode 100644
index 000000000..71d8f4f5b
--- /dev/null
+++ b/sci-electronics/verilator/verilator-5.028.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit autotools python-single-r1
+
+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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="|| ( Artistic-2 LGPL-3 )"
+SLOT="0"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-lang/perl
+ sys-libs/zlib
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ test? (
+ dev-build/cmake
+ )
+"
+
+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
+ # https://bugs.gentoo.org/785151
+ sed -i "s/python3/${EPYTHON}/g" "${S}"/configure.ac || die
+ find . -name "Makefile" -exec sed -i "s/python3/${EPYTHON}/g" {} + || die
+ find test_regress -type f -exec sed -i "s/python3/${EPYTHON}/g" {} + || die
+ python_fix_shebang .
+ # https://bugs.gentoo.org/887917
+ if ! use debug; then
+ sed -i '/AC_SUBST(CFG_CXXFLAGS_DEBUG)/i CFG_CXXFLAGS_DEBUG=""' "${S}"/configure.ac || die
+ sed -i '/AC_SUBST(CFG_LDFLAGS_DEBUG)/i CFG_LDFLAGS_DEBUG=""' "${S}"/configure.ac || die
+ fi
+ eautoconf --force
+}
+
+src_test() {
+ emake test
+}
next reply other threads:[~2024-10-10 9:30 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 9:30 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-11 9:55 [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/verilator/ David Roman
2024-10-10 9:30 David Roman
2024-10-10 9:30 David Roman
2024-10-10 9:30 David Roman
2024-04-30 12:22 David Roman
2024-04-30 12:22 David Roman
2024-04-04 10:08 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-04-04 10:09 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-03-19 0:39 Julien Roy
2024-03-19 0:39 Julien Roy
2024-03-16 5:57 Rui Huang
2024-03-16 5:56 [gentoo-commits] repo/proj/guru:dev " Rui Huang
2024-03-16 5:57 ` [gentoo-commits] repo/proj/guru:master " Rui Huang
2023-11-16 10:05 David Roman
2023-08-10 8:14 Viorel Munteanu
2023-03-31 10:16 Florian Schmaus
2023-03-31 10:16 Florian Schmaus
2023-01-31 11:00 Florian Schmaus
2023-01-31 11:00 Florian Schmaus
2023-01-31 11:00 Florian Schmaus
2023-01-06 8:51 Florian Schmaus
2023-01-06 8:51 Florian Schmaus
2022-07-11 6:54 Andrew Ammerlaan
2021-07-13 9:09 Andrew Ammerlaan
2021-07-13 9:09 Andrew Ammerlaan
2021-06-28 10:59 Florian Schmaus
2021-04-30 7:45 Andrew Ammerlaan
2021-04-06 9:03 Andrew Ammerlaan
2021-04-06 9:03 Andrew Ammerlaan
2021-03-11 13:16 Andrew Ammerlaan
2021-03-11 13:16 Andrew Ammerlaan
2021-01-23 11:49 Michał Górny
2021-01-23 11:49 Michał Górny
2021-01-01 13:14 Andrew Ammerlaan
2020-12-06 18:44 Andrew Ammerlaan
2020-12-06 18:44 Andrew Ammerlaan
2020-11-18 16:03 Andrew Ammerlaan
2020-11-18 16:03 Andrew Ammerlaan
2020-10-21 9:02 Andrew Ammerlaan
2020-10-21 9:02 Andrew Ammerlaan
2020-09-19 14:24 Andrew Ammerlaan
2020-07-24 11:25 Andrew Ammerlaan
2020-06-13 14:15 Andrew Ammerlaan
2020-05-14 9:29 Andrew Ammerlaan
2020-05-14 9:29 Andrew Ammerlaan
2020-05-12 9:01 Andrew Ammerlaan
2020-05-12 9:01 Andrew Ammerlaan
2020-04-27 11:25 Andrew Ammerlaan
2020-04-27 11:25 Andrew Ammerlaan
2020-04-27 7:02 Andrew Ammerlaan
2020-04-11 20:34 Andrew Ammerlaan
2020-04-07 10:16 Andrew Ammerlaan
2020-04-07 7:42 Andrew Ammerlaan
2020-04-07 7:42 Andrew Ammerlaan
2020-03-27 12:40 Andrew Ammerlaan
2020-03-15 11:29 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-15 11:39 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
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=1728538085.edd1422491dbb841d6eaa4c79b034a49af0a9cbb.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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