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

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-04-29 13:03:30 +02:00
parent 4a274f17f0
commit 222bdce8c7

View File

@@ -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() {