dev-python/pyrime - 0.0.7 (guru)

Search

Install

Install this version:

emerge -a =dev-python/pyrime-0.0.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pyrime-0.0.7

Or alternatively:

emerge --autounmask-write -a =dev-python/pyrime-0.0.7

Package Information

Description:
rime for python
Homepage:
https://github.com/Freed-Wu/pyrime https://pypi.org/project/pyrime
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.0.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( python3_{12..13} )
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/autopxd[${PYTHON_USEDEP}]
"
RDEPEND="
	$DEPEND
	prompt-toolkit? (
		dev-python/prompt-toolkit[${PYTHON_USEDEP}]
		dev-python/platformdirs[${PYTHON_USEDEP}]
	)
	ptpython? (
		dev-python/ptpython[${PYTHON_USEDEP}]
		dev-python/platformdirs[${PYTHON_USEDEP}]
	)
"
BDEPEND="
	dev-python/cython[${PYTHON_USEDEP}]
"

PATCHES=(
	"${FILESDIR}/${P}-fix-meson-project.patch"
)

EPYTEST_XDIST=1
distutils_enable_tests pytest

python_test() {
	epytest
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/pyrime | euse -E <flag> -p dev-python/pyrime | euse -D <flag> -p dev-python/pyrime

Global/Standard Flags

prompt-toolkit
Default: Enabled (+)
ptpython
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	app-i18n/librime
	dev-python/autopxd[]

RDEPEND

	
	app-i18n/librime
	dev-python/autopxd[]

	prompt-toolkit? (
		dev-python/prompt-toolkit[]
		dev-python/platformdirs[]
	)
	ptpython? (
		dev-python/ptpython[]
		dev-python/platformdirs[]
	)

BDEPEND

	dev-python/cython[]