From ed03aa5877874406454c8ca58aec6489302cce19 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 30 Jan 2024 17:33:32 +0100 Subject: dev-python/jupyterlab-pygments: Unpack when PKGBUMPING MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild b/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild index c65f97d65077..f29e5a551aaa 100644 --- a/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild +++ b/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,6 +24,12 @@ RDEPEND=" dev-python/pygments[${PYTHON_USEDEP}] " +src_unpack() { + if [[ ${PKGBUMPING} == ${PVR} ]]; then + unzip "${DISTDIR}/${A}" || die + fi +} + python_compile() { distutils_wheel_install "${BUILD_DIR}/install" \ "${DISTDIR}/$(pypi_wheel_name)" -- cgit v1.2.3-65-gdbad