commit:     db6050a3c96012770e91bfcfe524ce39b61a6aef
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Mon Apr  7 14:26:36 2025 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Apr  7 14:26:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db6050a3

sci-electronics/cocotb-bus: new package, add 0.2.1

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 sci-electronics/cocotb-bus/Manifest                |  1 +
 sci-electronics/cocotb-bus/cocotb-bus-0.2.1.ebuild | 26 ++++++++++++++++++++
 sci-electronics/cocotb-bus/metadata.xml            | 28 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/sci-electronics/cocotb-bus/Manifest 
b/sci-electronics/cocotb-bus/Manifest
new file mode 100644
index 000000000..582f9770d
--- /dev/null
+++ b/sci-electronics/cocotb-bus/Manifest
@@ -0,0 +1 @@
+DIST cocotb-bus-0.2.1.tar.gz 28461 BLAKE2B 
9e157a9cb6d39206ceb9db2f4f8aca5a2734f2d95a128929397dc26af3011d5e0a95bd82320b5150ab423adbaefcc0d49bc28e06a2a80a7615da745bc8eceae7
 SHA512 
d46c47ce626a78ba92c64d320a8603adae7414ee2f8ff51b53f3e359ad4fb04e205da4b9bd25a88d92de45d060eacd164136bb343a05d91db3d8e0827ec13c2f

diff --git a/sci-electronics/cocotb-bus/cocotb-bus-0.2.1.ebuild 
b/sci-electronics/cocotb-bus/cocotb-bus-0.2.1.ebuild
new file mode 100644
index 000000000..cf8c36bab
--- /dev/null
+++ b/sci-electronics/cocotb-bus/cocotb-bus-0.2.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+PYPI_NO_NORMALIZE=1
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Reusable testbenching tools and bus interfaces for cocotb"
+HOMEPAGE="https://github.com/cocotb/cocotb-bus";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+# Tests requires nox and eda tools, can't work inside network sandbox
+RESTRICT=test
+
+RDEPEND="
+       sci-electronics/cocotb[${PYTHON_USEDEP}]
+       dev-python/scrapy[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"

diff --git a/sci-electronics/cocotb-bus/metadata.xml 
b/sci-electronics/cocotb-bus/metadata.xml
new file mode 100644
index 000000000..235f6a535
--- /dev/null
+++ b/sci-electronics/cocotb-bus/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Huang Rui</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">cocotb-bus</remote-id>
+               <remote-id type="github">cocotb/cocotb-bus</remote-id>
+               <maintainer>
+                       <name>Cocotb Contributors</name>
+                       <email>[email protected]</email>
+               </maintainer>
+               <bugs-to>https://github.com/cocotb/cocotb-bus/issues</bugs-to>
+       </upstream>
+       <longdescription lang="en">
+               cocotb-bus provides pre-packaged testbenching tools and 
reusable bus
+               interfaces for the cocotb project. It helps with verification of
+               digital designs by providing ready-to-use bus protocol 
implementations
+               and utilities to make testing hardware easier.
+       </longdescription>
+       <longdescription lang="zh">
+               cocotb-bus 为 cocotb 项目提供预打包的测试台工具和可重用的总线接口。
+               通过提供即用型总线协议实现和实用工具,它有助于数字设计的验证,使硬件
+               测试变得更加容易。
+       </longdescription>
+</pkgmetadata>

Reply via email to