diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-07 19:16:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-07 19:16:24 +0000 |
| commit | 90a0f7161f278b682a9d9e9f416b09758a1fe43d (patch) | |
| tree | bf39fa5d2b301390b36fba64520205200bd87779 /dev-python/kicad-python/kicad-python-0.5.0.ebuild | |
| parent | f9d0675741ad162abaaa7eac1da4c2f2cd4a07a8 (diff) | |
| download | baldeagleos-repo-90a0f7161f278b682a9d9e9f416b09758a1fe43d.tar.gz baldeagleos-repo-90a0f7161f278b682a9d9e9f416b09758a1fe43d.tar.xz baldeagleos-repo-90a0f7161f278b682a9d9e9f416b09758a1fe43d.zip | |
Adding metadata
Diffstat (limited to 'dev-python/kicad-python/kicad-python-0.5.0.ebuild')
| -rw-r--r-- | dev-python/kicad-python/kicad-python-0.5.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/kicad-python/kicad-python-0.5.0.ebuild b/dev-python/kicad-python/kicad-python-0.5.0.ebuild new file mode 100644 index 000000000000..98cdac326f5d --- /dev/null +++ b/dev-python/kicad-python/kicad-python-0.5.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..14} ) +inherit distutils-r1 pypi + +DESCRIPTION="KiCad API Python Bindings for interacting with running KiCad sessions" +HOMEPAGE="https://gitlab.com/kicad/code/kicad-python https://pypi.org/project/kicad-python" + +LICENSE="MIT" +SLOT=0 +KEYWORDS="~amd64" + +# Tests not included in PyPI sdist +RESTRICT="test" + +RDEPEND=" + >=dev-python/protobuf-5.29[${PYTHON_USEDEP}] + <dev-python/protobuf-6[${PYTHON_USEDEP}] + >=dev-python/pynng-0.8.0[${PYTHON_USEDEP}] + <dev-python/pynng-0.9.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] + ' python3_{10..12}) +" +BDEPEND="${RDEPEND}" + +src_prepare() { + # Remove build script config from pyproject.toml + # The sdist already contains pre-generated protobuf files + sed -i '/\[tool.poetry.build\]/,/^$/d' pyproject.toml || die + rm -f setup.py build.py || die + distutils-r1_src_prepare +} |
