dev-python/xpybutil: disable py3.8, py3.9

Also added PYTHON_USEDEP to RDEPEND.

Signed-off-by: Devrin Talen <devrin@fastmail.com>
This commit is contained in:
Devrin Talen 2024-09-13 15:17:50 -04:00
parent 6ea7d4532a
commit e123e951c0
No known key found for this signature in database
GPG Key ID: 025F5689B51DC3D0

View File

@ -4,7 +4,7 @@
EAPI=8 EAPI=8
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..13} ) PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 inherit distutils-r1
DESCRIPTION="Abstraction layer for xpyb" DESCRIPTION="Abstraction layer for xpyb"
@ -16,6 +16,8 @@ LICENSE="WTFPL"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
RDEPEND=">=dev-python/xcffib-1.5.0[${PYTHON_USEDEP}]"
python_prepare_all() { python_prepare_all() {
sed -i -e "s:share/doc/xpybutil:share/doc/xpybutil-${PV}:" setup.py || die sed -i -e "s:share/doc/xpybutil:share/doc/xpybutil-${PV}:" setup.py || die
distutils-r1_python_prepare_all distutils-r1_python_prepare_all