commit:     e8c14f917f1a7c6443be60bc55c735f96883e495
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 06:43:04 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 06:43:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c14f91

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 <sam <AT> gentoo.org>

 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 490525cd0be..d4393702f09 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

Reply via email to