summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826-r1.ebuild (renamed from app-emacs/emacs-ipython-notebook/emacs-ipython-notebook-0.17.1_pre20230826.ebuild)19
1 files 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
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() {