mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sci-electronics/cocotb: add 2.0.1, update PYTHON_COMPAT
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cocotb-1.9.2.tar.gz 300696 BLAKE2B 6905ad2ff978083c1d6ae39df8c31e322ac68c1c8eb289a5bf50d027f99ae7dc4b40748b328fdabc543cbf7f8ca16d214809adba23054021d973016a13bc7d56 SHA512 1a151a63ed9ec3868b6d9165ee6e6144b52fbbc9b83e78027cc9a1d907142148e2643fd8880f8fd6b1155ce76cba65ecf1f851c6a72e45ece7c3c9921ab5fe83
|
||||
DIST cocotb-2.0.1.tar.gz 318250 BLAKE2B 1152130d3da5d8238f85367f6122594bb8ad6bb6595a42285e5eef7e52afe57568418fd9bfe528990fc3d55fb3303741d388514df885c7f3a01358c81055fa95 SHA512 db420c53cf1432123b3ca9ee3daddfdd43a3ec2918962a5a4cc465701456e6678edc1e3b08571f7cdb3e7530910915d6ab2d5850f01833abd359e5ef5b62f0c7
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
49
sci-electronics/cocotb/cocotb-2.0.1.ebuild
Normal file
49
sci-electronics/cocotb/cocotb-2.0.1.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python-based chip (RTL) verification"
|
||||
HOMEPAGE="https://www.cocotb.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
# Tests requires many eda tools, and can't work inside network sandbox
|
||||
RESTRICT=test
|
||||
|
||||
RDEPEND="
|
||||
dev-python/find-libpython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
# parallel build is broken
|
||||
MAKEOPTS="-j1" distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "cocotb requires a HDL simulator to function correctly."
|
||||
elog "You may want to install one of the following packages:"
|
||||
elog " sci-electronics/icarus-verilog - Verilog simulator"
|
||||
elog " sci-electronics/ghdl - VHDL simulator"
|
||||
elog " sci-electronics/verilator - Fast Verilog simulator"
|
||||
elog ""
|
||||
elog "Commercial EDA tools are also supported, including:"
|
||||
elog " - Synopsys VCS"
|
||||
elog " - Cadence Xcelium/Incisive"
|
||||
elog " - Siemens EDA Modelsim/Questa"
|
||||
elog " - Aldec Riviera-PRO"
|
||||
elog "Note: These commercial tools need to be obtained from their respective vendors"
|
||||
}
|
||||
Reference in New Issue
Block a user