# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR="NINE"
PYTHON_COMPAT=( python3_{13..15} )
inherit perl-module python-single-r1

DESCRIPTION="Write Perl subs and classes in Python"

LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-perl/Inline
	virtual/perl-Data-Dumper
	virtual/perl-Digest-MD5
	virtual/perl-File-Spec
	${PYTHON_DEPS}
"
DEPEND="${RDEPEND}"

src_configure()
{
	export INLINE_PYTHON_EXECUTABLE="${EPYTHON}"
	perl-module_src_configure
}