mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
Minor QA fixes to ebuild included and added py3_13 with test suite pass. Closes: https://bugs.gentoo.org/952191 Signed-off-by: Ian Jordan <immoloism@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41832 Closes: https://github.com/gentoo/gentoo/pull/41832 Signed-off-by: Sam James <sam@gentoo.org>
45 lines
1012 B
Bash
45 lines
1012 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
inherit distutils-r1 edo
|
|
|
|
COMMIT="14118ad2e4d0da2e955fd9069b8772408307618b"
|
|
DESCRIPTION="An implementation of Vim in Python"
|
|
HOMEPAGE="https://pypi.org/project/pyvim/ https://github.com/prompt-toolkit/pyvim"
|
|
SRC_URI="https://github.com/prompt-toolkit/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv x86"
|
|
|
|
RDEPEND="
|
|
dev-python/docopt[${PYTHON_USEDEP}]
|
|
dev-python/prompt-toolkit[${PYTHON_USEDEP}]
|
|
dev-python/pyflakes[${PYTHON_USEDEP}]
|
|
dev-python/pygments[${PYTHON_USEDEP}]
|
|
dev-python/six[${PYTHON_USEDEP}]
|
|
dev-python/wcwidth[${PYTHON_USEDEP}]
|
|
"
|
|
IDEPEND="
|
|
app-eselect/eselect-vi
|
|
"
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
eselect_vi_update() {
|
|
edob eselect vi update --if-unset
|
|
}
|
|
|
|
pkg_postinst() {
|
|
eselect_vi_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
eselect_vi_update
|
|
}
|