From e8c14f917f1a7c6443be60bc55c735f96883e495 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 4 Mar 2021 06:43:04 +0000 Subject: [PATCH] app-emacs/pymacs: fix MisplacedEclassVar We should set variables before inheriting eclasses in case they take action at source-time. Signed-off-by: Sam James --- app-emacs/pymacs/pymacs-0.26-r2.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild b/app-emacs/pymacs/pymacs-0.26-r2.ebuild index 490525cd0be6..d4393702f094 100644 --- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild +++ b/app-emacs/pymacs/pymacs-0.26-r2.ebuild @@ -2,8 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8} ) +DISTUTILS_IN_SOURCE_BUILD=1 +DISTUTILS_USE_SETUPTOOLS="no" inherit elisp distutils-r1 DESCRIPTION="A tool that allows both-side communication beetween Python and Emacs Lisp" @@ -21,8 +23,7 @@ BDEPEND="doc? ( )" S="${WORKDIR}/${P^}" -DISTUTILS_IN_SOURCE_BUILD=1 -DISTUTILS_USE_SETUPTOOLS="no" + SITEFILE="50${PN}-gentoo.el" # called by distutils-r1 for every python implementation