Added / updated several Python packages
This commit is contained in:
@@ -2,19 +2,18 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7,8,9,10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
MY_PN="KiKit"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit distutils-r1
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="KiKit is a Python library and CLI tool to automate several tasks in a standard KiCAD workflow"
|
||||
HOMEPAGE="https://github.com/yaqwsx/KiKit"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/yaqwsx/KiKit.git"
|
||||
EGIT_REPO_URI="https://github.com/yaqwsx/${MY_PN}.git"
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
else
|
||||
@@ -24,18 +23,41 @@ fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/markdown2[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pybars3[${PYTHON_USEDEP}]
|
||||
dev-python/solidpython[${PYTHON_USEDEP}]
|
||||
|| ( sci-libs/Shapely[${PYTHON_USEDEP}] sci-libs/shapely[${PYTHON_USEDEP}] )
|
||||
sci-libs/shapely[${PYTHON_USEDEP}]
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="$(python_gen_cond_dep '
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
>=dev-python/commentjson-0.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/markdown2[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pcbdraw[${PYTHON_SINGLE_USEDEP}]
|
||||
dev-python/pcbnewtransition[${PYTHON_SINGLE_USEDEP}]
|
||||
dev-python/pybars3[${PYTHON_USEDEP}]
|
||||
>=dev-python/solidpython-1.1.2[${PYTHON_USEDEP}]
|
||||
sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}]
|
||||
sci-libs/shapely[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/versioneer[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/versioneer[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_domodule ${PN}
|
||||
python_doscript ${FILESDIR}/kikit{,-info,-plugin}
|
||||
|
||||
insinto /usr/share/kicad/scripting
|
||||
doins ${FILESDIR}/kikit_plugin.py
|
||||
dodoc -r doc
|
||||
dodoc -r scripts
|
||||
dodoc LICENCE README.md
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user