Added / updated several Python packages

This commit is contained in:
layman
2022-05-03 22:31:22 +02:00
parent 204b775ced
commit 48e60747d9
24 changed files with 376 additions and 17 deletions
+2
View File
@@ -0,0 +1,2 @@
AUX pcbdraw 209 BLAKE2B 85ce50272fbd2d2aa7547ca7b24ab1e4aa719896e23701b9a515e546aee4495c45d3e55d08a46c4e3f595c54f1c10b3d562d489ca4a3396039866abaab34793b SHA512 6d6922430c39aadcd160fed4f665f897a5bfdaf013d1094f37f4fad3b4f30a118b62da39c563b7e239559cfdd034d8f98dfdcdfbdc0cff84da9ea4dab9afb92d
EBUILD pcbdraw-9999.ebuild 1512 BLAKE2B a1828b003584ca89ba85237d7ce027c4e461d214fd0b22e4fb3b6fa28a76187fb67193ccec83d28aaec9af4c65b37bafffadcd82270ffa3b1bf81912d9bf1aa6 SHA512 ca7db499db69522ccf94de5972a151ba40e6a073d11297ba1485d2f23a7801b1c1e4b2f903e848b9545086f56d82b5652ddce8f4cbd3522e63e7f328e3e9ff6a
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/python3.9
# -*- coding: utf-8 -*-
import re
import sys
from pcbdraw.ui import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())
+61
View File
@@ -0,0 +1,61 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1
DESCRIPTION="Convert your KiCAD board into a nicely looking 2D drawing"
HOMEPAGE="https://github.com/yaqwsx/KiKit"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/yaqwsx/${PN}.git"
KEYWORDS=""
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="$(python_gen_cond_dep '
dev-python/click[${PYTHON_USEDEP}]
dev-python/engineering-notation[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/markdown2[${PYTHON_USEDEP}]
~dev-python/mistune-0.8.4[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pcbnewtransition[${PYTHON_SINGLE_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pybars3[${PYTHON_USEDEP}]
dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
~dev-python/svgpathtools-1.4.1[${PYTHON_USEDEP}]
dev-python/wand[${PYTHON_USEDEP}]
sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}]
')
"
DEPEND="${RDEPEND}
$(python_gen_cond_dep '
dev-python/versioneer[${PYTHON_USEDEP}]
')
"
src_compile() {
true;
}
src_install() {
python_domodule ${PN}
python_doscript ${FILESDIR}/pcbdraw
dodoc -r doc
dodoc LICENSE README.md
}