mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-07 00:05:47 +03:00
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:
@@ -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() {
|
||||
Reference in New Issue
Block a user