Numerous updates
This commit is contained in:
@@ -3,9 +3,12 @@
|
||||
# $Id$
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit python-single-r1
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PcbDraw"
|
||||
|
||||
DESCRIPTION="Convert your KiCAD board into a nicely looking 2D drawing"
|
||||
HOMEPAGE="https://github.com/yaqwsx/KiKit"
|
||||
@@ -15,12 +18,14 @@ if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/yaqwsx/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
@@ -29,14 +34,14 @@ RDEPEND="$(python_gen_cond_dep '
|
||||
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/mistune-2.0.2[${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/svgpathtools-1.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/wand[${PYTHON_USEDEP}]
|
||||
sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}]
|
||||
')
|
||||
@@ -48,12 +53,12 @@ DEPEND="${RDEPEND}
|
||||
')
|
||||
"
|
||||
|
||||
|
||||
src_compile() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed -
|
||||
python_domodule ${PN}
|
||||
python_doscript ${FILESDIR}/pcbdraw
|
||||
dodoc -r doc
|
||||
|
||||
Reference in New Issue
Block a user