mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
38 lines
619 B
Bash
38 lines
619 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
|
|
}
|