summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-01-15 00:11:09 +0100
committerPacho Ramos <pacho@gentoo.org>2021-01-15 00:11:09 +0100
commitd707db016087c78a6a39b8f6607f9304e90361ed (patch)
treebc7630b499ba796d5740071883e4b5715e848c38 /sci-chemistry
parentsys-apps/usbguard: 1.0.0 (diff)
downloadgentoo-d707db016087c78a6a39b8f6607f9304e90361ed.tar.gz
gentoo-d707db016087c78a6a39b8f6607f9304e90361ed.tar.bz2
gentoo-d707db016087c78a6a39b8f6607f9304e90361ed.zip
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@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pymol/pymol-2.4.0-r1.ebuild3
1 files changed, 1 insertions, 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 540097824ec7..a21a210f478f 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 \