Skip to content

Add Gentoo Linux overlay an ebuilds #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions contrib/gentoo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SKiDL
===============

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 ?
4 changes: 4 additions & 0 deletions contrib/gentoo/dev-python/PySpice/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DIST PySpice-1.5.gh.tar.gz 883570 BLAKE2B c11c5bddc275e03c233c389b2ab2ead33b43f79ebfc637c58f618677b94014c41def4a2194e9aeeaf1ac58163e3af81f55030ef48984d19d52386ad92271ef0a SHA512 15e41ca4a594c432a62eeac4d571ff5446ac56280e9efecf886c13ddc396810c9e59582e3190b7b64b0226ccbfbeb89f20f8c00ecb3d0596551ea767a0adff1f
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
40 changes: 40 additions & 0 deletions contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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
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}"

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
39 changes: 39 additions & 0 deletions contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# 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

# We use patched version instead of upstream - to handle shared library NGspice correctly
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}"

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
33 changes: 33 additions & 0 deletions contrib/gentoo/dev-python/PySpice/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
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
</longdescription>
<longdescription lang="ru">
</longdescription>
<upstream>
<changelog>https://pyspice.fabrice-salvaire.fr/releases/v1.5/news.html</changelog>
<doc lang="en">https://pyspice.fabrice-salvaire.fr/releases/v1.5</doc>
<remote-id type="github">PySpice-org/PySpice</remote-id>
<remote-id type="pypi">PySpice</remote-id>
</upstream>
</pkgmetadata>
4 changes: 4 additions & 0 deletions contrib/gentoo/dev-python/hierplace/Manifest
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions contrib/gentoo/dev-python/hierplace/hierplace-1.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -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}
27 changes: 27 additions & 0 deletions contrib/gentoo/dev-python/hierplace/hierplace-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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}
33 changes: 33 additions & 0 deletions contrib/gentoo/dev-python/hierplace/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Dave Vandenbout</name>
<email>dave@vdb.name</email>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<longdescription lang="ru">
</longdescription>
<upstream>
<maintainer status="active">
<name>Dave Vandenbout</name>
<email>dave@vdb.name</email>
</maintainer>
<changelog>https://github.com/devbisme/HierPlace/blob/master/HISTORY.rst</changelog>
<doc lang="en">https://github.com/devbisme/HierPlace/blob/master/README.rst</doc>
<bugs-to>mailto:dave@vdb.name</bugs-to>
<remote-id type="github">devbisme/hierplace</remote-id>
<remote-id type="pypi">hierplace</remote-id>
</upstream>
</pkgmetadata>
4 changes: 4 additions & 0 deletions contrib/gentoo/dev-python/kinet2pcb/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DIST kinet2pcb-1.1.2.gh.tar.gz 178122 BLAKE2B af7e7514d02c49568d7a45b8661b65b376c696db42086319da32c40d7f3009e9fa3f0b589c8fea9380469cdd668746e0e61fa3c7b9f558710c82ddf2aa3890ab SHA512 4557fe20e8ea60c82a0a315e268b56f3862c227ea0fba3a94f854beee94942ec51090f255238d1f6444ca26bf83e7cf87ab924b1da799c07b02330adde8cabe5
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
32 changes: 32 additions & 0 deletions contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.ebuild
Original file line number Diff line number Diff line change
@@ -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

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}]
"

distutils_enable_tests pytest

S=${WORKDIR}/${P}
32 changes: 32 additions & 0 deletions contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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

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}]
"

distutils_enable_tests pytest

S=${WORKDIR}/${P}
29 changes: 29 additions & 0 deletions contrib/gentoo/dev-python/kinet2pcb/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Dave Vandenbout</name>
<email>dave@vdb.name</email>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
Convert KiCad netlist into a PCBNEW .kicad_pcb file.
Convert KiCad netlist into a PCBNEW .kicad_pcb file.
</longdescription>
<longdescription lang="ru">
</longdescription>
<upstream>
<maintainer status="active">
<name>Dave Vandenbout</name>
<email>dave@vdb.name</email>
</maintainer>
<changelog>https://github.com/devbisme/kinet2pcb/blob/master/HISTORY.rst</changelog>
<doc lang="en">https://devbisme.github.io/kinet2pcb/docs/_build/singlehtml/index.html</doc>
<bugs-to>mailto:dave@vdb.name</bugs-to>
<remote-id type="github">devbisme/kinet2pcb</remote-id>
<remote-id type="pypi">kinet2pcb</remote-id>
</upstream>
</pkgmetadata>
4 changes: 4 additions & 0 deletions contrib/gentoo/dev-python/kinparse/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DIST kinparse-1.2.3.gh.tar.gz 277963 BLAKE2B 183cb792ff7b346b015c362008daca3b10d056906d05db09261452ae070cbdc21cf63e467e0797d6ac94be389554949459dea9ee3acfac49303a94ccb46ebf98 SHA512 cf9c27b0702876b80191807ecb081100357f79bcfdfffdcf1e252e362e43c62a2b65de6d7b7871bbceac573156f9114820da1cf1f5a20c5b38d80b7a68fdc3e8
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
31 changes: 31 additions & 0 deletions contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.ebuild
Original file line number Diff line number Diff line change
@@ -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

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}]
"

distutils_enable_tests pytest

S=${WORKDIR}/${P}
Loading