commit:     d707db016087c78a6a39b8f6607f9304e90361ed
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 23:11:09 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 23:11:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d707db01

sci-chemistry/pymol: Ensure proper prepare phase is run

and don't drop argparse

Thanks-to: Soren Harward
Closes: https://bugs.gentoo.org/757798
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-chemistry/pymol/pymol-2.4.0-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-chemistry/pymol/pymol-2.4.0-r1.ebuild 
b/sci-chemistry/pymol/pymol-2.4.0-r1.ebuild
index 540097824ec..a21a210f478 100644
--- a/sci-chemistry/pymol/pymol-2.4.0-r1.ebuild
+++ b/sci-chemistry/pymol/pymol-2.4.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=no
 
-inherit distutils-r1 desktop optfeature flag-o-matic xdg
+inherit desktop optfeature flag-o-matic xdg distutils-r1
 
 DESCRIPTION="A Python-extensible molecular graphics system"
 HOMEPAGE="https://www.pymol.org/";
@@ -50,7 +50,6 @@ python_prepare_all() {
        sed \
                -e "s:\"/usr:\"${EPREFIX}/usr:g" \
                -e "/ext_comp_args.*+=/s:\[.*\]$:\[\]:g" \
-               -e "/import/s:argparse:argparseX:g" \
                -i setup.py || die
 
        sed \

Reply via email to