mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-python/pyrime: add 0.0.7, drop 0.0.4
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
39
dev-python/pyrime/pyrime-0.0.7.ebuild
Normal file
39
dev-python/pyrime/pyrime-0.0.7.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/autopxd[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
RDEPEND="
|
||||
$DEPEND
|
||||
prompt-toolkit? ( dev-python/prompt-toolkit[${PYTHON_USEDEP}] )
|
||||
ptpython? ( dev-python/ptpython[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user