From 82644d765a115c48b093e30ff325f7a8348cf8fa Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 01:12:14 +0200 Subject: [PATCH 1/7] Initial Gentoo overlay structure --- contrib/gentoo/README.md | 14 ++++++++++++++ contrib/gentoo/metadata/layout.conf | 1 + contrib/gentoo/profiles/repo_name | 1 + 3 files changed, 16 insertions(+) create mode 100644 contrib/gentoo/README.md create mode 100644 contrib/gentoo/metadata/layout.conf create mode 100644 contrib/gentoo/profiles/repo_name diff --git a/contrib/gentoo/README.md b/contrib/gentoo/README.md new file mode 100644 index 000000000..1a228b051 --- /dev/null +++ b/contrib/gentoo/README.md @@ -0,0 +1,14 @@ +emusc and libemusc +=============== + +Gentoo overlay with ebuild for SKiDL and supporting libs + +To use, follow https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository +and copy content of this folder to new repository + +=============== +TODO list: + +to GURU overlay + +docs examples test USE flags ? diff --git a/contrib/gentoo/metadata/layout.conf b/contrib/gentoo/metadata/layout.conf new file mode 100644 index 000000000..fded7261a --- /dev/null +++ b/contrib/gentoo/metadata/layout.conf @@ -0,0 +1 @@ +masters = gentoo \ No newline at end of file diff --git a/contrib/gentoo/profiles/repo_name b/contrib/gentoo/profiles/repo_name new file mode 100644 index 000000000..2628b2442 --- /dev/null +++ b/contrib/gentoo/profiles/repo_name @@ -0,0 +1 @@ +skidl From 70fddf8aa23aa17fcb8310f15d1a8bf9e760e85c Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 01:13:59 +0200 Subject: [PATCH 2/7] Import ebuilds and hashes from local repo --- contrib/gentoo/dev-python/kinet2pcb/Manifest | 4 +++ .../kinet2pcb/kinet2pcb-1.1.2.ebuild | 30 +++++++++++++++++ .../kinet2pcb/kinet2pcb-9999.ebuild | 30 +++++++++++++++++ .../gentoo/dev-python/kinet2pcb/metadata.xml | 29 +++++++++++++++++ contrib/gentoo/dev-python/kinparse/Manifest | 4 +++ .../dev-python/kinparse/kinparse-1.2.3.ebuild | 29 +++++++++++++++++ .../dev-python/kinparse/kinparse-9999.ebuild | 29 +++++++++++++++++ .../gentoo/dev-python/kinparse/metadata.xml | 29 +++++++++++++++++ contrib/gentoo/dev-python/skidl/Manifest | 4 +++ contrib/gentoo/dev-python/skidl/metadata.xml | 29 +++++++++++++++++ .../dev-python/skidl/skidl-2.0.1.ebuild | 32 +++++++++++++++++++ .../gentoo/dev-python/skidl/skidl-9999.ebuild | 31 ++++++++++++++++++ 12 files changed, 280 insertions(+) create mode 100644 contrib/gentoo/dev-python/kinet2pcb/Manifest create mode 100644 contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild create mode 100644 contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild create mode 100644 contrib/gentoo/dev-python/kinet2pcb/metadata.xml create mode 100644 contrib/gentoo/dev-python/kinparse/Manifest create mode 100644 contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild create mode 100644 contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild create mode 100644 contrib/gentoo/dev-python/kinparse/metadata.xml create mode 100644 contrib/gentoo/dev-python/skidl/Manifest create mode 100644 contrib/gentoo/dev-python/skidl/metadata.xml create mode 100644 contrib/gentoo/dev-python/skidl/skidl-2.0.1.ebuild create mode 100644 contrib/gentoo/dev-python/skidl/skidl-9999.ebuild diff --git a/contrib/gentoo/dev-python/kinet2pcb/Manifest b/contrib/gentoo/dev-python/kinet2pcb/Manifest new file mode 100644 index 000000000..92f83a205 --- /dev/null +++ b/contrib/gentoo/dev-python/kinet2pcb/Manifest @@ -0,0 +1,4 @@ +DIST kinet2pcb-1.1.2.gh.tar.gz 178122 BLAKE2B af7e7514d02c49568d7a45b8661b65b376c696db42086319da32c40d7f3009e9fa3f0b589c8fea9380469cdd668746e0e61fa3c7b9f558710c82ddf2aa3890ab SHA512 4557fe20e8ea60c82a0a315e268b56f3862c227ea0fba3a94f854beee94942ec51090f255238d1f6444ca26bf83e7cf87ab924b1da799c07b02330adde8cabe5 +EBUILD kinet2pcb-1.1.2.ebuild 731 BLAKE2B aff39d29198a954db7e05807bfb87690986fa279276062efeac115a8cd5b74cf70db35db009993f39af5e5264449e5bb3f8ab17ca7243050c94328d2c55b59ce SHA512 cd33ab7778d5f189a4d003f844df1cb0bb6de7dbaef567650b86558647b2a32e7da07f6b0ed4223e6e5ac6035adfac8871575fdda5863aede5a58b321a5eddb1 +EBUILD kinet2pcb-9999.ebuild 731 BLAKE2B aff39d29198a954db7e05807bfb87690986fa279276062efeac115a8cd5b74cf70db35db009993f39af5e5264449e5bb3f8ab17ca7243050c94328d2c55b59ce SHA512 cd33ab7778d5f189a4d003f844df1cb0bb6de7dbaef567650b86558647b2a32e7da07f6b0ed4223e6e5ac6035adfac8871575fdda5863aede5a58b321a5eddb1 +MISC metadata.xml 1030 BLAKE2B c2ea4ed564565619c236d8e386947c584edb6a86e90ccc6d1162907a9bd89dd54079be57cd485d48372b719eb85cee7036be2f229223cfc882800018791b303b SHA512 512c58ca4a5e897b55deac605089e2576270a1fb8f03baf1a8b259ecce68d68e0cd83d1a6e1e10300db8e2f557e6207eb28fb0d509559e4efba379d4cca3b055 diff --git a/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild new file mode 100644 index 000000000..dad0bfe24 --- /dev/null +++ b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" +else + SRC_URI="https://github.com/devbisme/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Convert KiCad netlist into a PCBNEW .kicad_pcb file" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/kinparse-0.1.2[${PYTHON_USEDEP}] + dev-python/hierplace[${PYTHON_USEDEP}] +" + + diff --git a/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild new file mode 100644 index 000000000..dad0bfe24 --- /dev/null +++ b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" +else + SRC_URI="https://github.com/devbisme/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Convert KiCad netlist into a PCBNEW .kicad_pcb file" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/kinparse-0.1.2[${PYTHON_USEDEP}] + dev-python/hierplace[${PYTHON_USEDEP}] +" + + diff --git a/contrib/gentoo/dev-python/kinet2pcb/metadata.xml b/contrib/gentoo/dev-python/kinet2pcb/metadata.xml new file mode 100644 index 000000000..d4199703c --- /dev/null +++ b/contrib/gentoo/dev-python/kinet2pcb/metadata.xml @@ -0,0 +1,29 @@ + + + + + Dave Vandenbout + dave@vdb.name + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Convert KiCad netlist into a PCBNEW .kicad_pcb file. + Convert KiCad netlist into a PCBNEW .kicad_pcb file. + + + + + + Dave Vandenbout + dave@vdb.name + + https://github.com/devbisme/kinet2pcb/blob/master/HISTORY.rst + https://devbisme.github.io/kinet2pcb/docs/_build/singlehtml/index.html + mailto:dave@vdb.name + devbisme/kinet2pcb + kinet2pcb + + diff --git a/contrib/gentoo/dev-python/kinparse/Manifest b/contrib/gentoo/dev-python/kinparse/Manifest new file mode 100644 index 000000000..9f0d1ed7e --- /dev/null +++ b/contrib/gentoo/dev-python/kinparse/Manifest @@ -0,0 +1,4 @@ +DIST kinparse-1.2.3.gh.tar.gz 277963 BLAKE2B 183cb792ff7b346b015c362008daca3b10d056906d05db09261452ae070cbdc21cf63e467e0797d6ac94be389554949459dea9ee3acfac49303a94ccb46ebf98 SHA512 cf9c27b0702876b80191807ecb081100357f79bcfdfffdcf1e252e362e43c62a2b65de6d7b7871bbceac573156f9114820da1cf1f5a20c5b38d80b7a68fdc3e8 +EBUILD kinparse-1.2.3.ebuild 718 BLAKE2B 4e47fbad2263cd60aa442a97810b8ae1b2cf970a0610546bddce17fbea9363486af0c27e67730d5c7414ad2afaeda3f1595c058f42e827fcc803f23665aa6592 SHA512 898636fa291024accd2a9261cb5609be079db8e6f79ab17368041a053d77243639a3f3c73053d507e1d00884538773824afc84926b15ae06724377e95f7b61cc +EBUILD kinparse-9999.ebuild 718 BLAKE2B 4e47fbad2263cd60aa442a97810b8ae1b2cf970a0610546bddce17fbea9363486af0c27e67730d5c7414ad2afaeda3f1595c058f42e827fcc803f23665aa6592 SHA512 898636fa291024accd2a9261cb5609be079db8e6f79ab17368041a053d77243639a3f3c73053d507e1d00884538773824afc84926b15ae06724377e95f7b61cc +MISC metadata.xml 1160 BLAKE2B 5c134aa9fe963e02a861db40bf621a0bd5a1a53d13457e8fa6c61beadb352fea9fa1ef85aa0f6e419ecc6e33b00c460c9eaaa92342349df0b9c176d4578cb629 SHA512 dacea4834e34b22bc87da1c6bd1001eb399b5dd5969c163746b10ca16aa5b3fee8309264df5f666fbebb59c4f24c5c44d109c50e955118fe0241d6652d456717 diff --git a/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild b/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild new file mode 100644 index 000000000..cc74d3290 --- /dev/null +++ b/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" +else + SRC_URI="https://github.com/devbisme/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="This is a parser for KiCad schematic netlist files that are output by EESCHEMA" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pyparsing-2.1.1[${PYTHON_USEDEP}] +" + + diff --git a/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild b/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild new file mode 100644 index 000000000..cc74d3290 --- /dev/null +++ b/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" +else + SRC_URI="https://github.com/devbisme/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="This is a parser for KiCad schematic netlist files that are output by EESCHEMA" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pyparsing-2.1.1[${PYTHON_USEDEP}] +" + + diff --git a/contrib/gentoo/dev-python/kinparse/metadata.xml b/contrib/gentoo/dev-python/kinparse/metadata.xml new file mode 100644 index 000000000..832a01fb6 --- /dev/null +++ b/contrib/gentoo/dev-python/kinparse/metadata.xml @@ -0,0 +1,29 @@ + + + + + Dave Vandenbout + dave@vdb.name + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This is a parser for KiCad V5 through V8 schematic netlist files that are output by EESCHEMA. + Just pass a file containing a netlist to the parse_netlist() function and it will deliver a pyparsing object containing all the netlist's information. + + + + + + Dave Vandenbout + dave@vdb.name + + https://github.com/devbisme/kinparse/blob/master/HISTORY.rst + https://devbisme.github.io/kinparse/docs/_build/singlehtml/index.html + mailto:dave@vdb.name + devbisme/kinparse + kinparse + + diff --git a/contrib/gentoo/dev-python/skidl/Manifest b/contrib/gentoo/dev-python/skidl/Manifest new file mode 100644 index 000000000..ef293f684 --- /dev/null +++ b/contrib/gentoo/dev-python/skidl/Manifest @@ -0,0 +1,4 @@ +DIST skidl-2.0.1.gh.tar.gz 30200812 BLAKE2B c03573a7fc43dda0b3202c03d1cfd1f8a4f4c3020679f53a8f731b63a7d7abff176960c36668d3bea439b3f293268bd42bd54fb5f388a1c25f9264b080bb5bfe SHA512 b57a1bde5648eb75cdaccbcde66401a87b00df0ed75ea368550c686a9024f89ab4663c1be27d55beb0ede1f595b2eefad12a0bce34d4377804a721d3478eb6ac +EBUILD skidl-2.0.1.ebuild 949 BLAKE2B 845a747dec704c42a73efaf57f0a006e18a80f7e3fa4573bd798a508c7c5ef058aeb9aca908fa5098df8d5dbdf78824bc084818fa20e3f149f9b746ac043c3b1 SHA512 15f03b6f6cd4712ab3011548a13304432f14785d0645af88d84f6a2028b7b2db912bdf6a69efa617b3d0fb991b7420ef8c6caca0c267c710bb7eda17154b4017 +EBUILD skidl-9999.ebuild 894 BLAKE2B 28d80bb90222559a7a082b6a53d25fc59e051fc1d15c8be566bae6df79b69abaa5d49ca9050dfc06f5b82dc2c3aaf090853b53c23c0439c600d55c93ca29a081 SHA512 ba410530a6340740dd00c0d9c74dbae07f371aa477feeb933463ab660e00cb2e3abee4272e8f3b577a1136fae88053778d546104b5cd7ee375c2e00f66b811ac +MISC metadata.xml 1166 BLAKE2B 5280317c848664f007c5a9b19705f6034beccf52aaede24fc4a7afce0c4b0a491ce7b56526ceda32916503c18c1c0a2441fc918c57dd1fe131bce77d753b353f SHA512 b3459615b82092a276419e3d4b8d85331c04bf1a826420c5380be62d9e048a8f11ea64cfd8c415f4972cdd5d2c558d9749df43671d8ca2083e0e73b0f7caf9f8 diff --git a/contrib/gentoo/dev-python/skidl/metadata.xml b/contrib/gentoo/dev-python/skidl/metadata.xml new file mode 100644 index 000000000..5067acd29 --- /dev/null +++ b/contrib/gentoo/dev-python/skidl/metadata.xml @@ -0,0 +1,29 @@ + + + + + Dave Vandenbout + dave@vdb.name + + + proxy-maint@gentoo.org + Proxy Maintainers + + + SKiDL is a module that allows you to compactly describe the interconnection of electronic circuits and components using Python. + The resulting Python program performs electrical rules checking for common mistakes and outputs a netlist that serves as input to a PCB layout tool. + + + + + + Dave Vandenbout + dave@vdb.name + + https://github.com/devbisme/skidl/blob/master/HISTORY.rst + https://devbisme.github.io/skidl/#introduction + mailto:dave@vdb.name + devbisme/skidl + skidl + + diff --git a/contrib/gentoo/dev-python/skidl/skidl-2.0.1.ebuild b/contrib/gentoo/dev-python/skidl/skidl-2.0.1.ebuild new file mode 100644 index 000000000..d8a8e3cbb --- /dev/null +++ b/contrib/gentoo/dev-python/skidl/skidl-2.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="SKiDL is a module that allows you to compactly describe the interconnection of electronic circuits and components using Python" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +SRC_URI="https://github.com/devbisme/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +KEYWORDS="~amd64 ~x86" + +LICENSE="MIT" +SLOT="0" +IUSE="spice" + +RDEPEND=" + >=dev-python/sexpdata-1.0.0[${PYTHON_USEDEP}] + >=dev-python/kinparse-1.2.1[${PYTHON_USEDEP}] + >=dev-python/kinet2pcb-1.1.0[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/deprecation[${PYTHON_USEDEP}] + spice? ( >=dev-python/PySpice-1.3.2[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +S=${WORKDIR}/${P} \ No newline at end of file diff --git a/contrib/gentoo/dev-python/skidl/skidl-9999.ebuild b/contrib/gentoo/dev-python/skidl/skidl-9999.ebuild new file mode 100644 index 000000000..e85d16d0f --- /dev/null +++ b/contrib/gentoo/dev-python/skidl/skidl-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="SKiDL is a module that allows you to compactly describe the interconnection of electronic circuits and components using Python" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" + +LICENSE="MIT" +SLOT="0" +IUSE="spice" + +RDEPEND=" + >=dev-python/sexpdata-1.0.0[${PYTHON_USEDEP}] + >=dev-python/kinparse-1.2.1[${PYTHON_USEDEP}] + >=dev-python/kinet2pcb-1.1.0[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/deprecation[${PYTHON_USEDEP}] + spice? ( >=dev-python/PySpice-1.3.2[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +S=${WORKDIR}/${P} \ No newline at end of file From 8f39be642edc80495823aa797f4308eb6e1d7389 Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 01:26:43 +0200 Subject: [PATCH 3/7] Enable test (if exists) --- contrib/gentoo/dev-python/kinet2pcb/Manifest | 4 ++-- contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild | 2 ++ contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild | 2 ++ contrib/gentoo/dev-python/kinparse/Manifest | 6 +++--- contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild | 2 ++ contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild | 2 ++ 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/contrib/gentoo/dev-python/kinet2pcb/Manifest b/contrib/gentoo/dev-python/kinet2pcb/Manifest index 92f83a205..87b1161c8 100644 --- a/contrib/gentoo/dev-python/kinet2pcb/Manifest +++ b/contrib/gentoo/dev-python/kinet2pcb/Manifest @@ -1,4 +1,4 @@ DIST kinet2pcb-1.1.2.gh.tar.gz 178122 BLAKE2B af7e7514d02c49568d7a45b8661b65b376c696db42086319da32c40d7f3009e9fa3f0b589c8fea9380469cdd668746e0e61fa3c7b9f558710c82ddf2aa3890ab SHA512 4557fe20e8ea60c82a0a315e268b56f3862c227ea0fba3a94f854beee94942ec51090f255238d1f6444ca26bf83e7cf87ab924b1da799c07b02330adde8cabe5 -EBUILD kinet2pcb-1.1.2.ebuild 731 BLAKE2B aff39d29198a954db7e05807bfb87690986fa279276062efeac115a8cd5b74cf70db35db009993f39af5e5264449e5bb3f8ab17ca7243050c94328d2c55b59ce SHA512 cd33ab7778d5f189a4d003f844df1cb0bb6de7dbaef567650b86558647b2a32e7da07f6b0ed4223e6e5ac6035adfac8871575fdda5863aede5a58b321a5eddb1 -EBUILD kinet2pcb-9999.ebuild 731 BLAKE2B aff39d29198a954db7e05807bfb87690986fa279276062efeac115a8cd5b74cf70db35db009993f39af5e5264449e5bb3f8ab17ca7243050c94328d2c55b59ce SHA512 cd33ab7778d5f189a4d003f844df1cb0bb6de7dbaef567650b86558647b2a32e7da07f6b0ed4223e6e5ac6035adfac8871575fdda5863aede5a58b321a5eddb1 +EBUILD kinet2pcb-1.1.2.ebuild 778 BLAKE2B 5eaf5f0e4a4e23ebb56cefa40e5d7baaf97efad82b51de772a7fee277afe1e8b791db74395c89a0e554a974816405d78a15d2fb09d6c98ddf35c3b50dfad3c53 SHA512 4ceadfe726eaf1b52d94b8128f4e7969f949cb59bae35677235037bfbf41b2e8fa1c7cb9914eb29943c9a7a43d2620b0ce0d662a88fef2ce7a347cf197749eeb +EBUILD kinet2pcb-9999.ebuild 778 BLAKE2B 5eaf5f0e4a4e23ebb56cefa40e5d7baaf97efad82b51de772a7fee277afe1e8b791db74395c89a0e554a974816405d78a15d2fb09d6c98ddf35c3b50dfad3c53 SHA512 4ceadfe726eaf1b52d94b8128f4e7969f949cb59bae35677235037bfbf41b2e8fa1c7cb9914eb29943c9a7a43d2620b0ce0d662a88fef2ce7a347cf197749eeb MISC metadata.xml 1030 BLAKE2B c2ea4ed564565619c236d8e386947c584edb6a86e90ccc6d1162907a9bd89dd54079be57cd485d48372b719eb85cee7036be2f229223cfc882800018791b303b SHA512 512c58ca4a5e897b55deac605089e2576270a1fb8f03baf1a8b259ecce68d68e0cd83d1a6e1e10300db8e2f557e6207eb28fb0d509559e4efba379d4cca3b055 diff --git a/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild index dad0bfe24..142d9e7f6 100644 --- a/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild +++ b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild @@ -27,4 +27,6 @@ RDEPEND=" dev-python/hierplace[${PYTHON_USEDEP}] " +distutils_enable_tests pytest +S=${WORKDIR}/${P} \ No newline at end of file diff --git a/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild index dad0bfe24..142d9e7f6 100644 --- a/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild +++ b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild @@ -27,4 +27,6 @@ RDEPEND=" dev-python/hierplace[${PYTHON_USEDEP}] " +distutils_enable_tests pytest +S=${WORKDIR}/${P} \ No newline at end of file diff --git a/contrib/gentoo/dev-python/kinparse/Manifest b/contrib/gentoo/dev-python/kinparse/Manifest index 9f0d1ed7e..8a6bb437a 100644 --- a/contrib/gentoo/dev-python/kinparse/Manifest +++ b/contrib/gentoo/dev-python/kinparse/Manifest @@ -1,4 +1,4 @@ DIST kinparse-1.2.3.gh.tar.gz 277963 BLAKE2B 183cb792ff7b346b015c362008daca3b10d056906d05db09261452ae070cbdc21cf63e467e0797d6ac94be389554949459dea9ee3acfac49303a94ccb46ebf98 SHA512 cf9c27b0702876b80191807ecb081100357f79bcfdfffdcf1e252e362e43c62a2b65de6d7b7871bbceac573156f9114820da1cf1f5a20c5b38d80b7a68fdc3e8 -EBUILD kinparse-1.2.3.ebuild 718 BLAKE2B 4e47fbad2263cd60aa442a97810b8ae1b2cf970a0610546bddce17fbea9363486af0c27e67730d5c7414ad2afaeda3f1595c058f42e827fcc803f23665aa6592 SHA512 898636fa291024accd2a9261cb5609be079db8e6f79ab17368041a053d77243639a3f3c73053d507e1d00884538773824afc84926b15ae06724377e95f7b61cc -EBUILD kinparse-9999.ebuild 718 BLAKE2B 4e47fbad2263cd60aa442a97810b8ae1b2cf970a0610546bddce17fbea9363486af0c27e67730d5c7414ad2afaeda3f1595c058f42e827fcc803f23665aa6592 SHA512 898636fa291024accd2a9261cb5609be079db8e6f79ab17368041a053d77243639a3f3c73053d507e1d00884538773824afc84926b15ae06724377e95f7b61cc -MISC metadata.xml 1160 BLAKE2B 5c134aa9fe963e02a861db40bf621a0bd5a1a53d13457e8fa6c61beadb352fea9fa1ef85aa0f6e419ecc6e33b00c460c9eaaa92342349df0b9c176d4578cb629 SHA512 dacea4834e34b22bc87da1c6bd1001eb399b5dd5969c163746b10ca16aa5b3fee8309264df5f666fbebb59c4f24c5c44d109c50e955118fe0241d6652d456717 +EBUILD kinparse-1.2.3.ebuild 766 BLAKE2B fcb43b9d1430f909c4260b001c52af211697697322dbf0e798ce96462d3e7a4dbef44378f6c0c93bcfc1741b3afc53db9900f8692c7b070f4b0b0db5858e7706 SHA512 46e9efb155612bd527850d6ccab31003e50e1af401a642c8c5590ee0b188e5f0fddf19b2bbbdc9898c12dd9ff87ba7b379c187c72778752c2f5f0640ec043e35 +EBUILD kinparse-9999.ebuild 766 BLAKE2B fcb43b9d1430f909c4260b001c52af211697697322dbf0e798ce96462d3e7a4dbef44378f6c0c93bcfc1741b3afc53db9900f8692c7b070f4b0b0db5858e7706 SHA512 46e9efb155612bd527850d6ccab31003e50e1af401a642c8c5590ee0b188e5f0fddf19b2bbbdc9898c12dd9ff87ba7b379c187c72778752c2f5f0640ec043e35 +MISC metadata.xml 1166 BLAKE2B 7dc837ade477f18acbd63929246fa98dd56c6fa7b1a31e5a9d365138fcadf9247c08c93c78925a0047be3a6324df853f6a572ce7769cbc822357c4721f06e3e6 SHA512 95d779701b9cf5c8b225b198a9a8668b268099028161c886ff697ed0154e5fa2f83c4435dd8d57cad417d3e36e5fbf2b400d5df6ec81250a075701a5ccb215ef diff --git a/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild b/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild index cc74d3290..2e86644b9 100644 --- a/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild +++ b/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild @@ -26,4 +26,6 @@ RDEPEND=" >=dev-python/pyparsing-2.1.1[${PYTHON_USEDEP}] " +distutils_enable_tests pytest +S=${WORKDIR}/${P} \ No newline at end of file diff --git a/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild b/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild index cc74d3290..2e86644b9 100644 --- a/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild +++ b/contrib/gentoo/dev-python/kinparse/kinparse-9999.ebuild @@ -26,4 +26,6 @@ RDEPEND=" >=dev-python/pyparsing-2.1.1[${PYTHON_USEDEP}] " +distutils_enable_tests pytest +S=${WORKDIR}/${P} \ No newline at end of file From a9590df3dc642594370753fbbdc0c73c8b218424 Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 01:30:29 +0200 Subject: [PATCH 4/7] Add hierplace --- contrib/gentoo/dev-python/hierplace/Manifest | 4 +++ .../hierplace/hierplace-1.1.0.ebuild | 27 +++++++++++++++ .../hierplace/hierplace-9999.ebuild | 27 +++++++++++++++ .../gentoo/dev-python/hierplace/metadata.xml | 33 +++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 contrib/gentoo/dev-python/hierplace/Manifest create mode 100644 contrib/gentoo/dev-python/hierplace/hierplace-1.1.0.ebuild create mode 100644 contrib/gentoo/dev-python/hierplace/hierplace-9999.ebuild create mode 100644 contrib/gentoo/dev-python/hierplace/metadata.xml diff --git a/contrib/gentoo/dev-python/hierplace/Manifest b/contrib/gentoo/dev-python/hierplace/Manifest new file mode 100644 index 000000000..fb12d2b16 --- /dev/null +++ b/contrib/gentoo/dev-python/hierplace/Manifest @@ -0,0 +1,4 @@ +DIST hierplace-1.1.0.tar.gz 313737 BLAKE2B bd1175d3275825cf214a4f26220caf9ff49f09cc18e2b934bab579a8f82e82bc57eeaa408030733cce535c4ee2996e01975135153174447af6325cfcd427b2e9 SHA512 d00fbe4f03e81d1eae52ba85f49c1a44e5cddb6a1073f4fffbbf9d9a10db0bfe22ad86c052153b0b80a88257c67fa1325e3f557a735e3312680c605855a20f6c +EBUILD hierplace-1.1.0.ebuild 754 BLAKE2B 8b115fe960d8c98698e72c93f8f6657c4b85a75953c7e4f8a0f27241ff57c2c978f559fd2b32837455936512f901f0e41bc63b66a77f71a9a76abaec66b05478 SHA512 74d2aee4790f909031424bf6eda85e2449fa9cf24c05adfeb7812cdf17c9928eb70ea3c8748b9823c316b9e15048917b8a53528883feab2c02da16b159c39c42 +EBUILD hierplace-9999.ebuild 754 BLAKE2B 8b115fe960d8c98698e72c93f8f6657c4b85a75953c7e4f8a0f27241ff57c2c978f559fd2b32837455936512f901f0e41bc63b66a77f71a9a76abaec66b05478 SHA512 74d2aee4790f909031424bf6eda85e2449fa9cf24c05adfeb7812cdf17c9928eb70ea3c8748b9823c316b9e15048917b8a53528883feab2c02da16b159c39c42 +MISC metadata.xml 1243 BLAKE2B 87995245e9dc5e5b35ffeb6136e83436d35ad44d08f86f7de4f013fc68fa85a46d344b395a81d320eff856d06349f5a039b176405b31ebe25a4d7ef47f47268c SHA512 4d3acf0957bba115698a501c90e8624ed18e2a5849ee8512341dbfe9c0595e740f40dae88cf36bc1b3bc4822ed9d930964480733e234f8699bd21af5db15c096 diff --git a/contrib/gentoo/dev-python/hierplace/hierplace-1.1.0.ebuild b/contrib/gentoo/dev-python/hierplace/hierplace-1.1.0.ebuild new file mode 100644 index 000000000..151578b54 --- /dev/null +++ b/contrib/gentoo/dev-python/hierplace/hierplace-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" +else + SRC_URI="https://files.pythonhosted.org/packages/19/01/1d98cd0e18ab5485850f1b30c28ad4e8a768dfe43a2852c2efaf6c369775/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="This PCBNEW plugin arranges the parts into groups that reflect the hierarchy in the design" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +LICENSE="MIT" +SLOT="0" + +distutils_enable_tests pytest + +S=${WORKDIR}/${P} diff --git a/contrib/gentoo/dev-python/hierplace/hierplace-9999.ebuild b/contrib/gentoo/dev-python/hierplace/hierplace-9999.ebuild new file mode 100644 index 000000000..151578b54 --- /dev/null +++ b/contrib/gentoo/dev-python/hierplace/hierplace-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devbisme/${PN}.git" +else + SRC_URI="https://files.pythonhosted.org/packages/19/01/1d98cd0e18ab5485850f1b30c28ad4e8a768dfe43a2852c2efaf6c369775/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="This PCBNEW plugin arranges the parts into groups that reflect the hierarchy in the design" +HOMEPAGE="https://devbisme.github.io/${PN} https://github.com/devbisme/${PN} https://pypi.org/project/${PN}" + +LICENSE="MIT" +SLOT="0" + +distutils_enable_tests pytest + +S=${WORKDIR}/${P} diff --git a/contrib/gentoo/dev-python/hierplace/metadata.xml b/contrib/gentoo/dev-python/hierplace/metadata.xml new file mode 100644 index 000000000..87a8d3891 --- /dev/null +++ b/contrib/gentoo/dev-python/hierplace/metadata.xml @@ -0,0 +1,33 @@ + + + + + Dave Vandenbout + dave@vdb.name + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This PCBNEW plugin arranges the parts into groups that reflect the hierarchy in the design. + + Features: + * Creates an arrangement of the parts that reflects their level in the design hierarchy. + * Will arrange only the parts that have been selected or, if no parts are selected, the entire design. + * Will not move locked parts. + + + + + + Dave Vandenbout + dave@vdb.name + + https://github.com/devbisme/HierPlace/blob/master/HISTORY.rst + https://github.com/devbisme/HierPlace/blob/master/README.rst + mailto:dave@vdb.name + devbisme/hierplace + hierplace + + From 010962266ec04c6516da93f1ba1f278c52609b7b Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 01:59:47 +0200 Subject: [PATCH 5/7] Add PySpice ebuild --- contrib/gentoo/dev-python/PySpice/Manifest | 4 ++ .../dev-python/PySpice/PySpice-1.5.ebuild | 45 +++++++++++++++++++ .../dev-python/PySpice/PySpice-9999.ebuild | 45 +++++++++++++++++++ .../gentoo/dev-python/PySpice/metadata.xml | 33 ++++++++++++++ 4 files changed, 127 insertions(+) create mode 100644 contrib/gentoo/dev-python/PySpice/Manifest create mode 100644 contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild create mode 100644 contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild create mode 100644 contrib/gentoo/dev-python/PySpice/metadata.xml diff --git a/contrib/gentoo/dev-python/PySpice/Manifest b/contrib/gentoo/dev-python/PySpice/Manifest new file mode 100644 index 000000000..9de6c6a36 --- /dev/null +++ b/contrib/gentoo/dev-python/PySpice/Manifest @@ -0,0 +1,4 @@ +DIST PySpice-1.5.gh.tar.gz 883570 BLAKE2B c11c5bddc275e03c233c389b2ab2ead33b43f79ebfc637c58f618677b94014c41def4a2194e9aeeaf1ac58163e3af81f55030ef48984d19d52386ad92271ef0a SHA512 15e41ca4a594c432a62eeac4d571ff5446ac56280e9efecf886c13ddc396810c9e59582e3190b7b64b0226ccbfbeb89f20f8c00ecb3d0596551ea767a0adff1f +EBUILD PySpice-1.5.ebuild 1366 BLAKE2B 2d3ea9179f136199d6ee4e958ac43411ac988645acee2832b8329ef1b0d5d4944ee28798f4db1f655a4257034c743a6fac2be1553fde944fb3ac4c55b31a124a SHA512 571bff44531a288da2ac344f9ce6ad9c52a42da87f7d1f7b2646625812377f94ab7ec13c5f1361cf292aedb472fec33e285d0a646dc0026f05ef6c4879c264b3 +EBUILD PySpice-9999.ebuild 1366 BLAKE2B 2d3ea9179f136199d6ee4e958ac43411ac988645acee2832b8329ef1b0d5d4944ee28798f4db1f655a4257034c743a6fac2be1553fde944fb3ac4c55b31a124a SHA512 571bff44531a288da2ac344f9ce6ad9c52a42da87f7d1f7b2646625812377f94ab7ec13c5f1361cf292aedb472fec33e285d0a646dc0026f05ef6c4879c264b3 +MISC metadata.xml 1280 BLAKE2B 0338d0ee899751e5a05605acaf159ae67a4d0fad4e1c41a8cb60b56fc5b4ac95577a37511083762331d0d98a930a3e84a13c87903119b91e75120ab722e85d82 SHA512 7df8bd49c9bd80f874b4dccf0a69fd7ce3852c322c07d2e94c8d1d0f69e632311ce66124de1b40d520a46bc68dfd4cee1ac2f7920421de41929c902468b3a942 diff --git a/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild b/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild new file mode 100644 index 000000000..6ec4af42b --- /dev/null +++ b/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +# We use patched version instead of upstream - to handle shared library NGspice correctly +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tapegoji/${PN}.git" +else + SRC_URI="https://github.com/tapegoji/PySpice/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="PySpice is a Python module which interfaces Python to the Ngspice and Xyce circuit simulators" +HOMEPAGE="https://pyspice.fabrice-salvaire.fr/ https://github.com/FabriceSalvaire/${PN} https://pypi.org/project/${PN}" + +LICENSE="GPL-3" +SLOT="0" +IUSE="ngspice xyce" + +REQUIRED_USE="|| ( ngspice xyce )" +RDEPEND=" + ngspice? ( sci-electronics/ngspice[shared] ) + xyce? ( sci-electronics/xyce ) + >=dev-python/pyyaml-5.3[${PYTHON_USEDEP}] + >=dev-python/cffi-1.14[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.18[${PYTHON_USEDEP}] + >=dev-python/ply-3.11[${PYTHON_USEDEP}] + >=dev-python/scipy-1.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.23[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +S=${WORKDIR}/${P} + +# TODO: +# Subprocess mode instead of shared - then no need for shared useflag in ngspice \ No newline at end of file diff --git a/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild b/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild new file mode 100644 index 000000000..6ec4af42b --- /dev/null +++ b/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +# We use patched version instead of upstream - to handle shared library NGspice correctly +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tapegoji/${PN}.git" +else + SRC_URI="https://github.com/tapegoji/PySpice/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="PySpice is a Python module which interfaces Python to the Ngspice and Xyce circuit simulators" +HOMEPAGE="https://pyspice.fabrice-salvaire.fr/ https://github.com/FabriceSalvaire/${PN} https://pypi.org/project/${PN}" + +LICENSE="GPL-3" +SLOT="0" +IUSE="ngspice xyce" + +REQUIRED_USE="|| ( ngspice xyce )" +RDEPEND=" + ngspice? ( sci-electronics/ngspice[shared] ) + xyce? ( sci-electronics/xyce ) + >=dev-python/pyyaml-5.3[${PYTHON_USEDEP}] + >=dev-python/cffi-1.14[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.18[${PYTHON_USEDEP}] + >=dev-python/ply-3.11[${PYTHON_USEDEP}] + >=dev-python/scipy-1.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.23[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +S=${WORKDIR}/${P} + +# TODO: +# Subprocess mode instead of shared - then no need for shared useflag in ngspice \ No newline at end of file diff --git a/contrib/gentoo/dev-python/PySpice/metadata.xml b/contrib/gentoo/dev-python/PySpice/metadata.xml new file mode 100644 index 000000000..7b3a3b63d --- /dev/null +++ b/contrib/gentoo/dev-python/PySpice/metadata.xml @@ -0,0 +1,33 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + + + PySpice is a Python module which interface Python to the Ngspice and Xyce circuit simulators. + PySpice implements simulator bindings and provides an object oriented API on top of SPICE, + the simulation output is converted to Numpy arrays for convenience. + + It permits: + * Definition of a circuit, through a netlist, + * Simulation using Ngspice and Xyce, + * Analysis of the output using Numpy and Matplotlib. + + Main features: + * an Ngspice shared library binding using CFFI which support external sources + * (partial) SPICE netlist parser + * Handle units + * Work with Kicad schematic editor + * Documentation generator + + + + + https://pyspice.fabrice-salvaire.fr/releases/v1.5/news.html + https://pyspice.fabrice-salvaire.fr/releases/v1.5 + PySpice-org/PySpice + PySpice + + From 45a5579b93ea906a901b5e207d3c2c4da5a3c1d3 Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 02:10:23 +0200 Subject: [PATCH 6/7] Split ebuild for proper live 9999 ebuild detection --- contrib/gentoo/dev-python/PySpice/Manifest | 4 ++-- contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild | 9 ++------- contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild | 10 ++-------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/contrib/gentoo/dev-python/PySpice/Manifest b/contrib/gentoo/dev-python/PySpice/Manifest index 9de6c6a36..7c6017de3 100644 --- a/contrib/gentoo/dev-python/PySpice/Manifest +++ b/contrib/gentoo/dev-python/PySpice/Manifest @@ -1,4 +1,4 @@ DIST PySpice-1.5.gh.tar.gz 883570 BLAKE2B c11c5bddc275e03c233c389b2ab2ead33b43f79ebfc637c58f618677b94014c41def4a2194e9aeeaf1ac58163e3af81f55030ef48984d19d52386ad92271ef0a SHA512 15e41ca4a594c432a62eeac4d571ff5446ac56280e9efecf886c13ddc396810c9e59582e3190b7b64b0226ccbfbeb89f20f8c00ecb3d0596551ea767a0adff1f -EBUILD PySpice-1.5.ebuild 1366 BLAKE2B 2d3ea9179f136199d6ee4e958ac43411ac988645acee2832b8329ef1b0d5d4944ee28798f4db1f655a4257034c743a6fac2be1553fde944fb3ac4c55b31a124a SHA512 571bff44531a288da2ac344f9ce6ad9c52a42da87f7d1f7b2646625812377f94ab7ec13c5f1361cf292aedb472fec33e285d0a646dc0026f05ef6c4879c264b3 -EBUILD PySpice-9999.ebuild 1366 BLAKE2B 2d3ea9179f136199d6ee4e958ac43411ac988645acee2832b8329ef1b0d5d4944ee28798f4db1f655a4257034c743a6fac2be1553fde944fb3ac4c55b31a124a SHA512 571bff44531a288da2ac344f9ce6ad9c52a42da87f7d1f7b2646625812377f94ab7ec13c5f1361cf292aedb472fec33e285d0a646dc0026f05ef6c4879c264b3 +EBUILD PySpice-1.5.ebuild 1256 BLAKE2B a4d937bd90240c4ae8dba20a3344b2b1257d5d5075047ea03182eeaabd3fe9570f045b49054e94d171204569172bf04d1d3b6d19c444f4c233d99839725a3b98 SHA512 0764708e352d05c847152d7cc86083a1c3796f8371c3eefdbccff6137368d7d1ba90f905133e86d5bec01ad16100f2e4e944e460b0573cdcfdfb2a64917da792 +EBUILD PySpice-9999.ebuild 1198 BLAKE2B 7f9005a3b73f4591e015b2f9e4b81bf765154cd0484633743b0daf96bfca91293b67124ad476f00bda3ce85e0b2d68d9766daefd3fdc133344c47c38153c96dd SHA512 ada1b7976ec7a04130b459dd51f9f1c2decb0e2db34c3ef02fdafb4148e6c056bc3a5fc847c8909cec7f98e56c572400cd8837d65234a3663672b83cfc6b5617 MISC metadata.xml 1280 BLAKE2B 0338d0ee899751e5a05605acaf159ae67a4d0fad4e1c41a8cb60b56fc5b4ac95577a37511083762331d0d98a930a3e84a13c87903119b91e75120ab722e85d82 SHA512 7df8bd49c9bd80f874b4dccf0a69fd7ce3852c322c07d2e94c8d1d0f69e632311ce66124de1b40d520a46bc68dfd4cee1ac2f7920421de41929c902468b3a942 diff --git a/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild b/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild index 6ec4af42b..45fac6ca7 100644 --- a/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild +++ b/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild @@ -9,13 +9,8 @@ PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 # We use patched version instead of upstream - to handle shared library NGspice correctly -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/tapegoji/${PN}.git" -else - SRC_URI="https://github.com/tapegoji/PySpice/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~x86" -fi +SRC_URI="https://github.com/tapegoji/PySpice/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +KEYWORDS="~amd64 ~x86" DESCRIPTION="PySpice is a Python module which interfaces Python to the Ngspice and Xyce circuit simulators" HOMEPAGE="https://pyspice.fabrice-salvaire.fr/ https://github.com/FabriceSalvaire/${PN} https://pypi.org/project/${PN}" diff --git a/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild b/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild index 6ec4af42b..65b159c44 100644 --- a/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild +++ b/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild @@ -6,16 +6,10 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..13} ) -inherit distutils-r1 +inherit distutils-r1 git-r3 # We use patched version instead of upstream - to handle shared library NGspice correctly -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/tapegoji/${PN}.git" -else - SRC_URI="https://github.com/tapegoji/PySpice/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~x86" -fi +EGIT_REPO_URI="https://github.com/tapegoji/${PN}.git" DESCRIPTION="PySpice is a Python module which interfaces Python to the Ngspice and Xyce circuit simulators" HOMEPAGE="https://pyspice.fabrice-salvaire.fr/ https://github.com/FabriceSalvaire/${PN} https://pypi.org/project/${PN}" From e822e8160aafe1a8f71a7261d62a4b8091a35de1 Mon Sep 17 00:00:00 2001 From: Michael Tulupov Date: Thu, 1 May 2025 02:13:27 +0200 Subject: [PATCH 7/7] Fix name in README --- contrib/gentoo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gentoo/README.md b/contrib/gentoo/README.md index 1a228b051..9e2310836 100644 --- a/contrib/gentoo/README.md +++ b/contrib/gentoo/README.md @@ -1,4 +1,4 @@ -emusc and libemusc +SKiDL =============== Gentoo overlay with ebuild for SKiDL and supporting libs