commit:     222bdce8c76a317773baf06786a18ef3982df01c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 29 11:03:30 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 29 11:08:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222bdce8

app-emacs/emacs-ipython-notebook: drop PYTHON_COMPAT 3_10; minor tweaks

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...acs-ipython-notebook-0.17.1_pre20230826-r1.ebuild} | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git 
a/app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826.ebuild
 
b/app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826-r1.ebuild
similarity index 86%
rename from 
app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826.ebuild
rename to 
app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826-r1.ebuild
index f527e4c4dc03..14ccb084bebd 100644
--- 
a/app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826.ebuild
+++ 
b/app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826-r1.ebuild
@@ -6,21 +6,21 @@
 
 EAPI=8
 
-[[ "${PV}" == *20230826 ]] && COMMIT=998ba22660be2035cd23bed1555e47748c4da8a2
-PYTHON_COMPAT=( python3_{10..13} )
+[[ "${PV}" == *20230826 ]] && COMMIT="998ba22660be2035cd23bed1555e47748c4da8a2"
+PYTHON_COMPAT=( python3_{11..13} )
 
 inherit elisp readme.gentoo-r1 python-single-r1
 
 DESCRIPTION="Jupyter notebook client in Emacs"
 HOMEPAGE="https://github.com/millejoh/emacs-ipython-notebook/";
-SRC_URI="https://github.com/millejoh/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${COMMIT}
+
+SRC_URI="https://github.com/millejoh/${PN}/archive/${COMMIT}.tar.gz
+       -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
@@ -41,7 +41,6 @@ RDEPEND="
 BDEPEND="
        ${RDEPEND}
        test? (
-               app-emacs/ert-runner
                app-emacs/mocker
        )
 "
@@ -56,6 +55,8 @@ DOC_CONTENTS="There may be problems with connecting to 
Jupyter Notebooks
 
 SITEFILE="50${PN}-gentoo.el"
 
+elisp-enable-tests ert-runner test
+
 pkg_setup() {
        #  * ACCESS DENIED:  open_wr: ~/.config/python/jupyter/migrated
        unset JUPYTER_CONFIG_DIR
@@ -65,7 +66,9 @@ pkg_setup() {
 }
 
 src_compile() {
-       BYTECOMPFLAGS="-L lisp" elisp-compile lisp/*.el
+       local -x BYTECOMPFLAGS="-L lisp"
+
+       elisp-compile ./lisp/*.el
 }
 
 src_test() {

Reply via email to