guru/dev-python/pyrime/pyrime-0.0.3.ebuild
Wu, Zhenyu 30174bba83
*/*: fix some QA issues
dev-python/pyrime: add python_test()
app-shells/manpager: disable app-text/manpager
dev-python/pyrime: add use flags
app-misc/tmux-rime: support CFLAGS, CXXFLAGS, LDFLAGS
app-misc/tmux-rime: don't call cc, ld directly

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
2024-11-11 17:42:02 +08:00

38 lines
617 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="rime for python"
HOMEPAGE="
https://github.com/Freed-Wu/pyrime
https://pypi.org/project/pyrime
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="prompt-toolkit ptpython"
DEPEND="
app-i18n/librime
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
RDEPEND="
$DEPEND
prompt-toolkit? ( dev-python/prompt-toolkit )
ptpython? ( dev-python/ptpython )
"
python_test() {
epytest
}