Diff nanovna-saver-0.5.4 with a nanovna-saver-0.6.2
/usr/portage/net-wireless/nanovna-saver/nanovna-saver-0.6.2.ebuild 2023-10-09 14:52:34.784368484 +0300 | ||
---|---|---|
17 | 17 |
EGIT_REPO_URI="https://github.com/mihtjel/nanovna-saver.git" |
18 | 18 |
else |
19 | 19 |
SRC_URI="https://github.com/mihtjel/nanovna-saver/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
20 |
KEYWORDS="amd64 x86" |
|
20 |
KEYWORDS="~amd64" |
|
21 |
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" |
|
21 | 22 |
fi |
22 | 23 |
IUSE="" |
23 | 24 | |
... | ... | |
25 | 26 |
RDEPEND="${DEPEND} |
26 | 27 |
dev-python/cython[${PYTHON_USEDEP}] |
27 | 28 |
dev-python/pyserial[${PYTHON_USEDEP}] |
28 |
dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] |
|
29 |
dev-python/PyQt6[${PYTHON_USEDEP},gui,widgets] |
|
29 | 30 |
dev-python/numpy[${PYTHON_USEDEP}] |
30 | 31 |
dev-python/scipy[${PYTHON_USEDEP}]" |
31 |
BDEPEND="" |
|
32 |
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" |
|
32 | 33 | |
33 | 34 |
distutils_enable_tests pytest |
34 | 35 | |
35 |
src_prepare() { |
|
36 |
sed -i -e "s/48.png/48/" \ |
|
37 |
-e "s/TerminalOptions=/#TerminalOptions=/" \ |
|
38 |
-e "s/Path=/#Path=/" NanoVNASaver.desktop || die |
|
39 |
sed -i "/nanovnasaver/d" setup.py || die |
|
40 |
eapply_user |
|
41 |
} |
|
42 | ||
43 | 36 |
python_install() { |
44 | 37 |
distutils-r1_python_install |
45 | 38 |
} |