diff --git a/contrib/gentoo/README.md b/contrib/gentoo/README.md new file mode 100644 index 00000000..9e231083 --- /dev/null +++ b/contrib/gentoo/README.md @@ -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 ? diff --git a/contrib/gentoo/dev-python/PySpice/Manifest b/contrib/gentoo/dev-python/PySpice/Manifest new file mode 100644 index 00000000..7c6017de --- /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 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 new file mode 100644 index 00000000..45fac6ca --- /dev/null +++ b/contrib/gentoo/dev-python/PySpice/PySpice-1.5.ebuild @@ -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 \ 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 00000000..65b159c4 --- /dev/null +++ b/contrib/gentoo/dev-python/PySpice/PySpice-9999.ebuild @@ -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 \ 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 00000000..7b3a3b63 --- /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 + + diff --git a/contrib/gentoo/dev-python/hierplace/Manifest b/contrib/gentoo/dev-python/hierplace/Manifest new file mode 100644 index 00000000..fb12d2b1 --- /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 00000000..151578b5 --- /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 00000000..151578b5 --- /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 00000000..87a8d389 --- /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 + + diff --git a/contrib/gentoo/dev-python/kinet2pcb/Manifest b/contrib/gentoo/dev-python/kinet2pcb/Manifest new file mode 100644 index 00000000..87b1161c --- /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 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 new file mode 100644 index 00000000..142d9e7f --- /dev/null +++ b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-1.1.2.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 + +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} \ 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 new file mode 100644 index 00000000..142d9e7f --- /dev/null +++ b/contrib/gentoo/dev-python/kinet2pcb/kinet2pcb-9999.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 + +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} \ No newline at end of file diff --git a/contrib/gentoo/dev-python/kinet2pcb/metadata.xml b/contrib/gentoo/dev-python/kinet2pcb/metadata.xml new file mode 100644 index 00000000..d4199703 --- /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 00000000..8a6bb437 --- /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 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 new file mode 100644 index 00000000..2e86644b --- /dev/null +++ b/contrib/gentoo/dev-python/kinparse/kinparse-1.2.3.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 + +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} \ 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 new file mode 100644 index 00000000..2e86644b --- /dev/null +++ b/contrib/gentoo/dev-python/kinparse/kinparse-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 + +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} \ No newline at end of file diff --git a/contrib/gentoo/dev-python/kinparse/metadata.xml b/contrib/gentoo/dev-python/kinparse/metadata.xml new file mode 100644 index 00000000..832a01fb --- /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 00000000..ef293f68 --- /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 00000000..5067acd2 --- /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 00000000..d8a8e3cb --- /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 00000000..e85d16d0 --- /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 diff --git a/contrib/gentoo/metadata/layout.conf b/contrib/gentoo/metadata/layout.conf new file mode 100644 index 00000000..fded7261 --- /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 00000000..2628b244 --- /dev/null +++ b/contrib/gentoo/profiles/repo_name @@ -0,0 +1 @@ +skidl