diff --git a/dev-libs/libvhdi/libvhdi-20221124.ebuild b/dev-libs/libvhdi/libvhdi-20221124.ebuild
index 2d4d67244..b18010e1f 100644
--- a/dev-libs/libvhdi/libvhdi-20221124.ebuild
+++ b/dev-libs/libvhdi/libvhdi-20221124.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the Virtual Hard Disk (VHD) image format"
@@ -12,19 +12,19 @@ HOMEPAGE="https://github.com/libyal/libvhdi"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvhdi/releases/download/${MY_PV}/libvhdi-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs"
-REQUIRED_USE="static? ( static-libs )"
+REQUIRED_USE="static? ( static-libs )
+ ${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
-
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
diff --git a/dev-libs/libvhdi/metadata.xml b/dev-libs/libvhdi/metadata.xml
index df6bd2204..5c5356004 100644
--- a/dev-libs/libvhdi/metadata.xml
+++ b/dev-libs/libvhdi/metadata.xml
@@ -12,4 +12,7 @@
+
+ libyal/libvhdi
+