commit:     5f4c776cf50e58b9e175b2473b484293ae1167c9
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Sun Jan 15 17:35:07 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Jan 15 17:35:07 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5f4c776c

dev-python/panel: Trying to use build variable instead of patch

Still won't work..

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/panel/panel-0.14.2.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev-python/panel/panel-0.14.2.ebuild 
b/dev-python/panel/panel-0.14.2.ebuild
index ea5e77d3e..866110947 100644
--- a/dev-python/panel/panel-0.14.2.ebuild
+++ b/dev-python/panel/panel-0.14.2.ebuild
@@ -35,6 +35,9 @@ RDEPEND="${DEPEND}
 
 PATCHES=( "${FILESDIR}/${PN}-0.14.1-disable_lite_build.patch" )
 
+# This does not work, need to patch..
+#export PANEL_LITE_BUILD=1
+
 src_prepare() {
        # Install Jupyter configuration files to "/etc" rather than "/usr/etc".
        sed -i -e 's~"etc/jupyter~"/etc/jupyter~' setup.py || die
@@ -42,6 +45,12 @@ src_prepare() {
        default_src_prepare
 }
 
+# This also does not work, still need patch :(
+#src_compile() {
+#      export PANEL_LITE_BUILD=1
+#      distutils-r1_src_compile
+#}
+
 pkg_postinst() {
        panel_pkg_postinst() {
                PANEL_DIR="$(${EPYTHON} -c 'import os, panel; 
print(os.path.dirname(panel.__file__))')"

Reply via email to