commit:     319a93dd7c1b57253d978f4491df7dfb6e9d3108
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 15:07:07 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu May 20 15:07:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319a93dd

sci-chemistry/pymol: apbs_tools.py is not created

as apbs package was dropped from the tree

Closes: https://bugs.gentoo.org/790629
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-chemistry/pymol/pymol-2.5.0.ebuild | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/sci-chemistry/pymol/pymol-2.5.0.ebuild 
b/sci-chemistry/pymol/pymol-2.5.0.ebuild
index 6d7ecd4e09c..a7fc5fdc127 100644
--- a/sci-chemistry/pymol/pymol-2.5.0.ebuild
+++ b/sci-chemistry/pymol/pymol-2.5.0.ebuild
@@ -66,12 +66,14 @@ python_install() {
        distutils-r1_python_install \
                --pymol-path="${EPREFIX}/usr/share/pymol"
 
-       sed \
-               -e '1d' \
-               -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" 
\
-               -e 
"/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
-               -e 
"/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
-               -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || 
die
+# File is not created as apbs was dropped from the tree
+# https://bugs.gentoo.org/790629
+#      sed \
+#              -e '1d' \
+#              -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" 
\
+#              -e 
"/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
+#              -e 
"/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
+#              -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || 
die
 }
 
 python_install_all() {
@@ -105,7 +107,7 @@ python_install_all() {
        rm -f "${ED}"/usr/share/${PN}/LICENSE || die
 }
 
-pkg_postinst() {
-       xdg_pkg_postinst
-       optfeature "Electrostatic calculations" sci-chemistry/apbs 
sci-chemistry/pdb2pqr
-}
+#pkg_postinst() {
+#      xdg_pkg_postinst
+#      optfeature "Electrostatic calculations" sci-chemistry/apbs 
sci-chemistry/pdb2pqr
+#}

Reply via email to