tkurbad-overlay/dev-python/pcbnewtransition/pcbnewtransition-0.3.4.ebuild

50 lines
930 B
Bash
Raw Permalink Normal View History

2023-04-22 17:47:17 +02:00
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
2023-07-03 11:36:29 +02:00
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_SINGLE_IMPL=1
2023-04-22 17:47:17 +02:00
2023-07-03 11:36:29 +02:00
PYPI_PN="pcbnewTransition"
MY_P="${PYPI_PN}-${PV}"
2023-04-22 17:47:17 +02:00
2023-07-03 11:36:29 +02:00
inherit distutils-r1
2023-04-22 17:47:17 +02:00
DESCRIPTION="Library that allows you to support both, KiCAD 5 and KiCAD 6 in your plugins"
HOMEPAGE="https://github.com/yaqwsx/KiKit"
if [[ ${PV} == "9999" ]] ; then
2023-07-03 11:36:29 +02:00
EGIT_REPO_URI="https://github.com/yaqwsx/${PYPI_PN}.git"
2023-04-22 17:47:17 +02:00
KEYWORDS=""
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
2023-07-03 11:36:29 +02:00
inherit pypi
SRC_URI="$(pypi_sdist_url --no-normalize)"
2023-04-22 17:47:17 +02:00
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=""
DEPEND="${RDEPEND}
$(python_gen_cond_dep '
dev-python/versioneer[${PYTHON_USEDEP}]
')
"
2023-07-03 11:36:29 +02:00
S="${WORKDIR}/${MY_P}"
2023-04-22 17:47:17 +02:00
src_compile() {
true;
}
src_install() {
2023-07-03 11:36:29 +02:00
python_domodule ${PYPI_PN}
2023-04-22 17:47:17 +02:00
dodoc README.md
}