sci-electronics/yosys/sci-electronics/yosys 0.65
Gentoo ebuild recipe identityGentoo ebuild declares EAPI
SHA-256b68703ce2a553c087544073c1e17ed8ef4839a9042f8cbf8791af7ccfff0f3a2
MaleculeH₂(Cm₃Po)Md(Bk)
Evidence
1# Copyright 1999-2026 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=8
5
6PYTHON_COMPAT=( python3_{11..14} )
7LLVM_COMPAT=( {18..21} )
8
9inherit python-any-r1 llvm-r2
10
11DESCRIPTION="framework for Verilog RTL synthesis"
12HOMEPAGE="https://yosyshq.net/yosys/"
13SRC_URI="
14 https://github.com/YosysHQ/${PN}/releases/download/v${PV}/yosys.tar.gz -> ${P}.tar.gz
15"
16S="${WORKDIR}"
⋯8 lines
⋯4 lines
34DEPEND="${RDEPEND}"
35BDEPEND="
36 ${PYTHON_DEPS}
37 dev-vcs/git
38 virtual/pkgconfig
39"
40
41pkg_setup() {
42 # llvm-r2 and python-any-r1 both export pkg_setup and llvm-r2 wins,
43 # leaving PYTHON unset, so call python_s …
44:59… via their env
45 # python3 shebang, which breaks with python-exec[-native-symlinks].
46 llvm-r2_pkg_setup
47 python_setup
⋯7 lines
65:15… c and yosys-witness keep an env python3 shebang that also
66 # breaks under python-exec[-native-symlinks]; retarget them at EPYTHON.
67 python_fix_sheba …