commit: 887168d554cadc6f1bb47c9799a06133a50f2784
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 13:15:14 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 22 13:15:14 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=887168d5
dev-python/panel: drop 0.11.0, 0.14.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/panel/panel-0.11.0.ebuild | 61 ------------------------------------
dev-python/panel/panel-0.14.1.ebuild | 55 --------------------------------
2 files changed, 116 deletions(-)
diff --git a/dev-python/panel/panel-0.11.0.ebuild
b/dev-python/panel/panel-0.11.0.ebuild
deleted file mode 100644
index 072c763ad..000000000
--- a/dev-python/panel/panel-0.11.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..10} )
-
-# Panel imports from "distutils" at runtime.
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="High-level app and dashboarding solution for Python"
-HOMEPAGE="https://panel.holoviz.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# "setup.py" imports from Bokeh to rebuild Node.js packages, but we patch that
-# away below. Our patched Panel thus requires Bokeh only at runtime.
-DEPEND="
- >=dev-python/param-1.10.0[${PYTHON_USEDEP}]
- >=dev-python/pyct-0.4.4[${PYTHON_USEDEP}]
-"
-RDEPEND="${DEPEND}
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
- >=dev-python/bokeh-2.3.0[${PYTHON_USEDEP}]
- >=dev-python/pyviz_comms-0.7.4[${PYTHON_USEDEP}]
- >=net-libs/nodejs-15.11.0
-"
-
-src_prepare() {
- # Install Jupyter configuration files to "/etc" rather than "/usr/etc".
- sed -i -e 's~"etc/jupyter~"/etc/jupyter~' setup.py || die
-
- # Prevent Panel from violating network sandboxing. By default,
"setup.py"
- # invokes "npm" to rebuild Node.js packages bundled with Panel when
these
- # packages were built by Panel developers with a different version of
Bokeh
- # than that installed on the local system. Since disabling this
- # functionality invites backend and frontend complications, we encourage
- # server administrators to manually perform this functionality below.
- sed -i -e '/^\s*_build_paneljs()$/d' setup.py || die
-
- default_src_prepare
-}
-
-pkg_postinst() {
- panel_pkg_postinst() {
- PANEL_DIR="$(${EPYTHON} -c 'import os, panel;
print(os.path.dirname(panel.__file__))')"
- elog "Node.js packages bundled with Panel under ${EPYTHON} may
be"
- elog "desynchronized from Bokeh and require manual rebuilding
with:"
- elog " sudo ${EPYTHON} -m panel build \"${PANEL_DIR}\""
- elog
- }
-
- python_foreach_impl panel_pkg_postinst
-}
diff --git a/dev-python/panel/panel-0.14.1.ebuild
b/dev-python/panel/panel-0.14.1.ebuild
deleted file mode 100644
index aa535f46f..000000000
--- a/dev-python/panel/panel-0.14.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..10} )
-
-# Panel imports from "distutils" at runtime.
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="High-level app and dashboarding solution for Python"
-HOMEPAGE="https://panel.holoviz.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# "setup.py" imports from Bokeh to rebuild Node.js packages, but we patch that
-# away below. Our patched Panel thus requires Bokeh only at runtime.
-DEPEND="
- >=dev-python/param-1.10.0[${PYTHON_USEDEP}]
- >=dev-python/pyct-0.4.4[${PYTHON_USEDEP}]
-"
-RDEPEND="${DEPEND}
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
- >=dev-python/bokeh-2.3.0[${PYTHON_USEDEP}]
- >=dev-python/pyviz_comms-0.7.4[${PYTHON_USEDEP}]
- >=net-libs/nodejs-15.11.0
-"
-
-PATCHES=( "${FILESDIR}/${P}-disable_lite_build.patch" )
-
-src_prepare() {
- # Install Jupyter configuration files to "/etc" rather than "/usr/etc".
- sed -i -e 's~"etc/jupyter~"/etc/jupyter~' setup.py || die
-
- default_src_prepare
-}
-
-pkg_postinst() {
- panel_pkg_postinst() {
- PANEL_DIR="$(${EPYTHON} -c 'import os, panel;
print(os.path.dirname(panel.__file__))')"
- elog "Node.js packages bundled with Panel under ${EPYTHON} may
be"
- elog "desynchronized from Bokeh and require manual rebuilding
with:"
- elog " sudo ${EPYTHON} -m panel build \"${PANEL_DIR}\""
- elog
- }
-
- python_foreach_impl panel_pkg_postinst
-}