Added / updated several Python packages
This commit is contained in:
@@ -1 +1,5 @@
|
||||
EBUILD kikit-9999.ebuild 1086 BLAKE2B 7c7272bb0a0a95f6b5a73503e17b86b3f3883f5115b28b1835666e0cf4c797d215e7f0bf7d5a9bc6f4b8204ff7963200d874ec7c735b2d2496883084a6a82cb1 SHA512 39ab45fd5d3c556be560cd9a5687c3b889239a8db00a9ee01a07e55cc60afe281d0e6dc24748eca1d93bd90f4fb3ab44406914162a23f4fc6b673bcc169d86ef
|
||||
AUX kikit 207 BLAKE2B 9fac1154a538c2f2b219b4994ee7d4f9e922018d7bf6d8052809e846378882a12e3a96a142bbfa085291fe1543a38f129dfbfb6f5578e9e17a712a1f40cf9e9e SHA512 666d95ffc493dda606f71412bb1be12821d711f71e62f06bb609043a14e1d4e504bbca0dda5c627393ff0bb48371fcd29e10c9e8c778f261de23b0fa582e2c16
|
||||
AUX kikit-info 209 BLAKE2B 6aedee39f304bf0da16ca9072efbb5ac1a6b560f460aa310b7f87e74c4874e50f6c587f5e91a1ed73d7f7678527eee8b0de067c8c3715b10b7a2f114c8acf0a3 SHA512 f8e97bcc27214a6b3f0890a8604ce8b52a9fc35540f6dcd37621eaf59bf575eb9e4091686aae0f4b3bff111b5e5f37ffefa23f42748cc6a0b78589fb7b5f3af2
|
||||
AUX kikit-plugin 211 BLAKE2B 126681a24c8369e8429e30a1a01579697626254f54b876867fdfab21969928f768621d7437648470dbdbd6fcb57e3b05d13888161ec1ac38cb747849f58e91aa SHA512 99d8e905b1b5e9002e2b328febf2cbe5cfc3ca58e7bebaf34d912538028d8313f33e3866f6cfdc89c1059e2252a11e8037631962b8e04dc8f99946eb7034ed09
|
||||
AUX kikit_plugin.py 106 BLAKE2B dfc9e818c59d5b59a6a31d8394b8cb00a3839450f1563ea2124d84935276b26125e9dd078f8e6cdc0f057d9865358cc11694188f3c0fea58e2829dd39c5d881d SHA512 ff8907d3f044384261ad1340c5c234edf5a3cd8cce1bb97753aee3fb6c85c19d0ac0ad187fda5bfc88a850d5812a07fc41f0f8e62cdb8f68aad59974d00a94e0
|
||||
EBUILD kikit-9999.ebuild 1546 BLAKE2B f7e6555fa9bd349659eb278f0631265d71d475d5bee0c0fdbd789d2f4870d7a943b8b9eb28e924ef773d9217bafb79f392d6dcc2554e1fe4226cb14d6767a83b SHA512 dc61ec64917aa841e23861409383a924460205e6a8d835acb69c5e549f210d773b9c72c46e2edda43c086fa13ce940aa260ebe2fb9ee6a93a66f29b65064145a
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3.9
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from kikit.ui import cli
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(cli())
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3.9
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from kikit.info import cli
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(cli())
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3.9
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from kikit.plugin import cli
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(cli())
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
try:
|
||||
from kikit.plugin import panelize
|
||||
panelize.plugin().register()
|
||||
except ImportError:
|
||||
pass
|
||||
@@ -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