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 0FDC515801B for ; Sat, 15 Jul 2023 14:39:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1060FE085A; Sat, 15 Jul 2023 14:39:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E70C7E085A for ; Sat, 15 Jul 2023 14:39:46 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 211EA340CC4 for ; Sat, 15 Jul 2023 14:39:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73F53ACC for ; Sat, 15 Jul 2023 14:39:44 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1689431971.3a84ab0b91ec341b6e686aa0dd67e3f0f64137bb.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/ghdl/files/, sci-electronics/ghdl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/ghdl/Manifest sci-electronics/ghdl/files/ghdl-3.0.0-no-pyunit.patch sci-electronics/ghdl/ghdl-3.0.0.ebuild sci-electronics/ghdl/metadata.xml X-VCS-Directories: sci-electronics/ghdl/ sci-electronics/ghdl/files/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 3a84ab0b91ec341b6e686aa0dd67e3f0f64137bb X-VCS-Branch: master Date: Sat, 15 Jul 2023 14:39:44 +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: aee75420-af79-4817-92a3-dd146e7e21ca X-Archives-Hash: bb08070674f898b5bd1e046874fdda2b commit: 3a84ab0b91ec341b6e686aa0dd67e3f0f64137bb Author: Maciej Barć gentoo org> AuthorDate: Sat Jul 15 14:30:51 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Jul 15 14:39:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a84ab0b sci-electronics/ghdl: new package; add 3.0.0 Signed-off-by: Maciej Barć gentoo.org> sci-electronics/ghdl/Manifest | 1 + .../ghdl/files/ghdl-3.0.0-no-pyunit.patch | 16 +++++ sci-electronics/ghdl/ghdl-3.0.0.ebuild | 79 ++++++++++++++++++++++ sci-electronics/ghdl/metadata.xml | 31 +++++++++ 4 files changed, 127 insertions(+) diff --git a/sci-electronics/ghdl/Manifest b/sci-electronics/ghdl/Manifest new file mode 100644 index 000000000000..a6d889450929 --- /dev/null +++ b/sci-electronics/ghdl/Manifest @@ -0,0 +1 @@ +DIST ghdl-3.0.0.tar.gz 7160245 BLAKE2B 685d8976db48dd6d7074540ff24fae11e8d75f2b0e91de3095b356c9ed1e8dd762c486b7fb1df5a874a653181c6d4f4be4f8e3f5881d10db941c467a95590f45 SHA512 11b638d0ae757ce2e247ab438c15a8f5cd78c3a025ba6272aa05df548d2a7276c25dbbf83b846284ded8c9864eca3dcdb8342cb532faecd01e7cefaada524ab0 diff --git a/sci-electronics/ghdl/files/ghdl-3.0.0-no-pyunit.patch b/sci-electronics/ghdl/files/ghdl-3.0.0-no-pyunit.patch new file mode 100644 index 000000000000..7730d380494d --- /dev/null +++ b/sci-electronics/ghdl/files/ghdl-3.0.0-no-pyunit.patch @@ -0,0 +1,16 @@ +--- a/testsuite/testsuite.sh ++++ b/testsuite/testsuite.sh +@@ -129,9 +129,10 @@ do_test() { + + pyunit) + # The Python Unit testsuite: regression testsuite for Python bindings to libghdl +- gstart "[GHDL - test] pyunit" +- PYTHONPATH=$(pwd)/.. ${PYTHON:-python3} -m pytest -vsrA pyunit +- gend ++ # gstart "[GHDL - test] pyunit" ++ # PYTHONPATH=$(pwd)/.. ${PYTHON:-python3} -m pytest -vsrA pyunit ++ # gend ++ echo "Python Unit testsuite is disabled!" + ;; + + vests) diff --git a/sci-electronics/ghdl/ghdl-3.0.0.ebuild b/sci-electronics/ghdl/ghdl-3.0.0.ebuild new file mode 100644 index 000000000000..43091157283f --- /dev/null +++ b/sci-electronics/ghdl/ghdl-3.0.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gnat_2021 ) +LLVM_MAX_SLOT=15 # Check "configure" script for supported LLVM versions. + +inherit ada edo llvm toolchain-funcs + +DESCRIPTION="Open-source analyzer, compiler, and simulator for VHDL 2008/93/87" +HOMEPAGE="https://ghdl.github.io/ghdl/ + https://github.com/ghdl/ghdl/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ghdl/${PN}.git" +else + SRC_URI="https://github.com/ghdl/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="llvm" +REQUIRED_USE="${ADA_REQUIRED_USE}" + +RDEPEND=" + ${ADA_DEPS} + llvm? ( + + + + + xgqt@gentoo.org + Maciej Barć + + + GHDL is a shorthand for G Hardware Design Language (currently, G has no + meaning). It is a VHDL analyzer, compiler, simulator and (experimental) + synthesizer that can process (nearly) any VHDL design. Unlike some other + simulators, GHDL is a compiler: it directly translates a VHDL file to + machine code, without using an intermediary language such as C or C++. + Therefore, the compiled code should be faster and the analysis time should + be shorter than with a compiler using an intermediary language. GHDL can + use multiple back-ends, i.e. code generators, (GCC, LLVM or x86/i386 only, + a built-in one named mcode) and runs on GNU/Linux, Windows and macOS; on + x86, x86_64, armv6/armv7/aarch32/aarch64, ppc64, etc. GHDL aims at + implementing VHDL as defined by IEEE 1076. It supports the 1987, 1993 and + 2002 revisions and, partially, 2008 and 2019. Property Specification + Language (PSL) is also partially supported. + + + Build LLVM code generator + + + https://github.com/ghdl/ghdl/issues/ + ghdl/ghdl + +