From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/nvc/
Date: Wed, 30 Jul 2025 21:52:50 +0000 (UTC) [thread overview]
Message-ID: <1753912361.ae71a243f47a0683701b70708750e8e00aec01a0.xgqt@gentoo> (raw)
commit: ae71a243f47a0683701b70708750e8e00aec01a0
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 30 16:49:26 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 30 21:52:41 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae71a243
sci-electronics/nvc: bump to 1.17.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-electronics/nvc/Manifest | 1 +
sci-electronics/nvc/nvc-1.17.1.ebuild | 124 ++++++++++++++++++++++++++++++++++
2 files changed, 125 insertions(+)
diff --git a/sci-electronics/nvc/Manifest b/sci-electronics/nvc/Manifest
index 12d7c4df4745..0c81d0d05eeb 100644
--- a/sci-electronics/nvc/Manifest
+++ b/sci-electronics/nvc/Manifest
@@ -1 +1,2 @@
DIST nvc-1.16.2.tar.gz 2225241 BLAKE2B 23ac98a0c72d8983f9693c505ae8e977053a4d32088c4dd36b7a57d6baa30eceb2103dedf1d024e2394f3245a30c0e37918de4423804ccd82ecd488bebc5a393 SHA512 871ca9f7d722edac4b990c56677cb0b1acd4a6a595cad7ec0bcb533ee3741fbb07a66ef6df7b8897107010dc171cd126d96f8f4e91e68e23de3e607f625baa48
+DIST nvc-1.17.1.tar.gz 2265466 BLAKE2B dd9f5c285bcd95cd8382146e35ce914429ab8db2d6547a5e77da12ca6dbaa02a7b3d3543f818788adf799e7b0dc48e9577cc75f328a470cee44ca2d57202bfe8 SHA512 63dfcefe4e589a2852457251033b6a571b8b96b171ca45b5c8e23c50622460b89b3dd40899366af8ed294bceef931420264e1f9b9695b078a81bdd44ef4162b4
diff --git a/sci-electronics/nvc/nvc-1.17.1.ebuild b/sci-electronics/nvc/nvc-1.17.1.ebuild
new file mode 100644
index 000000000000..7d7b3e95de6a
--- /dev/null
+++ b/sci-electronics/nvc/nvc-1.17.1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {18..19} )
+
+inherit autotools bash-completion-r1 llvm-r1
+
+DESCRIPTION="NVC is a VHDL compiler and simulator"
+HOMEPAGE="https://www.nickg.me.uk/nvc/
+ https://github.com/nickg/nvc/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/nickg/nvc.git"
+
+ NVC_SOURCEDIR="${WORKDIR}/${PN}-${PV}"
+else
+ SRC_URI="https://github.com/nickg/nvc/archive/r${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+
+ NVC_SOURCEDIR="${WORKDIR}/${PN}-r${PV}"
+fi
+
+NVC_BUILDDIR="${NVC_SOURCEDIR}_BuildDir"
+S="${NVC_BUILDDIR}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="debug llvm test"
+RESTRICT="test" # Some tests fail.
+
+RDEPEND="
+ app-arch/bzip2:=
+ app-arch/zstd:=
+ dev-libs/capstone:=
+ dev-libs/elfutils
+ dev-libs/icu:=
+ dev-libs/libffi:=
+ dev-libs/libxml2:=
+ sys-libs/ncurses:=
+ sys-libs/zlib:=
+ llvm? (
+ $(llvm_gen_dep '
+ llvm-core/llvm:${LLVM_SLOT}=
+ ')
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ dev-libs/check
+ sys-apps/which
+ sys-devel/bison
+ sys-devel/flex
+ test? (
+ dev-libs/check
+ )
+"
+
+PATCHES=( "${FILESDIR}/nvc-1.9.2-jit-code-capstone.patch" )
+
+# Special libraries for NVC.
+QA_FLAGS_IGNORED="usr/lib[0-9]*/nvc/preload[0-9]*.so"
+
+pkg_setup() {
+ if use llvm ; then
+ llvm-r1_pkg_setup
+ fi
+}
+
+src_unpack() {
+ default
+
+ mkdir -p "${S}" || die
+}
+
+src_prepare() {
+ pushd "${NVC_SOURCEDIR}" >/dev/null || die
+
+ default
+ eautoreconf
+
+ popd >/dev/null || die
+}
+
+src_configure() {
+ # Needs "bison" and "flex" exactly.
+ unset LEX
+ unset YACC
+
+ local ECONF_SOURCE="${NVC_SOURCEDIR}"
+ local -a myconf=(
+ --enable-vital
+ --with-bash-completion="$(get_bashcompdir)"
+ $(use_enable debug)
+ $(use_enable llvm)
+ )
+ econf "${myconf[@]}"
+
+ export V="1" # Verbose compilation and install.
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_test() {
+ local -x ASAN_OPTIONS="detect_leaks=0"
+ local -x PATH="${S}/bin:${PATH}"
+
+ nonfatal emake -j1 check-TESTS
+}
+
+src_install() {
+ default
+
+ mv "${D}/$(get_bashcompdir)"/nvc{.bash,} || die
+ dostrip -x "/usr/$(get_libdir)/nvc"
+}
next reply other threads:[~2025-07-30 21:53 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 21:52 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-17 10:55 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/nvc/ Maciej Barć
2025-10-17 10:55 Maciej Barć
2025-07-30 21:52 Maciej Barć
2025-07-30 21:52 Maciej Barć
2025-06-13 19:00 Maciej Barć
2025-05-14 20:22 Maciej Barć
2025-05-14 20:22 Maciej Barć
2025-05-03 14:33 Maciej Barć
2025-05-03 14:33 Maciej Barć
2025-03-09 0:22 Maciej Barć
2025-03-09 0:22 Maciej Barć
2025-01-27 14:51 Maciej Barć
2025-01-27 14:51 Maciej Barć
2025-01-27 14:51 Maciej Barć
2025-01-12 21:54 Maciej Barć
2024-11-23 21:26 Maciej Barć
2024-11-23 21:26 Maciej Barć
2024-11-04 0:19 Maciej Barć
2024-10-23 15:44 Maciej Barć
2024-10-23 15:44 Maciej Barć
2024-09-26 16:32 Maciej Barć
2024-09-25 21:16 Maciej Barć
2024-09-25 21:16 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-08-17 13:27 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-07-15 22:15 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-13 17:59 Maciej Barć
2024-04-11 1:38 Maciej Barć
2024-04-09 9:30 Maciej Barć
2024-04-09 9:30 Maciej Barć
2024-02-06 13:07 Maciej Barć
2024-02-06 13:07 Maciej Barć
2024-01-06 18:42 Maciej Barć
2024-01-06 18:42 Maciej Barć
2023-12-22 1:03 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-12-08 12:41 Maciej Barć
2023-12-08 12:41 Maciej Barć
2023-12-08 0:29 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-13 5:51 Maciej Barć
2023-10-12 15:52 Maciej Barć
2023-09-18 21:27 Maciej Barć
2023-08-24 8:17 Maciej Barć
2023-08-23 22:14 Maciej Barć
2023-08-23 22:14 Maciej Barć
2023-08-23 22:14 Maciej Barć
2023-08-02 14:11 Maciej Barć
2023-07-15 0:26 Maciej Barć
2023-07-15 0:26 Maciej Barć
2023-06-25 8:07 Maciej Barć
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=1753912361.ae71a243f47a0683701b70708750e8e00aec01a0.xgqt@gentoo \
--to=xgqt@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