Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/pymol/
Date: Fri, 08 Apr 2022 09:54:25
Message-Id: 1649411526.7ed232b26caa687abd38b7079d9f4e19a86a3bc3.alexxy@gentoo
1 commit: 7ed232b26caa687abd38b7079d9f4e19a86a3bc3
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 8 09:52:06 2022 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 09:52:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed232b2
7
8 sci-chemistry/pymol: enable py3.10
9
10 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
11
12 sci-chemistry/pymol/pymol-2.5.0.ebuild | 20 +++-----------------
13 1 file changed, 3 insertions(+), 17 deletions(-)
14
15 diff --git a/sci-chemistry/pymol/pymol-2.5.0.ebuild b/sci-chemistry/pymol/pymol-2.5.0.ebuild
16 index a7fc5fdc127c..93464f4a28be 100644
17 --- a/sci-chemistry/pymol/pymol-2.5.0.ebuild
18 +++ b/sci-chemistry/pymol/pymol-2.5.0.ebuild
19 @@ -1,12 +1,12 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25
26 -PYTHON_COMPAT=( python3_{7..9} )
27 +PYTHON_COMPAT=( python3_{7..10} )
28 DISTUTILS_USE_SETUPTOOLS=no
29
30 -inherit desktop optfeature flag-o-matic xdg distutils-r1
31 +inherit desktop flag-o-matic xdg distutils-r1
32
33 DESCRIPTION="A Python-extensible molecular graphics system"
34 HOMEPAGE="https://www.pymol.org/"
35 @@ -65,15 +65,6 @@ python_prepare_all() {
36 python_install() {
37 distutils-r1_python_install \
38 --pymol-path="${EPREFIX}/usr/share/pymol"
39 -
40 -# File is not created as apbs was dropped from the tree
41 -# https://bugs.gentoo.org/790629
42 -# sed \
43 -# -e '1d' \
44 -# -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" \
45 -# -e "/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
46 -# -e "/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
47 -# -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || die
48 }
49
50 python_install_all() {
51 @@ -106,8 +97,3 @@ python_install_all() {
52
53 rm -f "${ED}"/usr/share/${PN}/LICENSE || die
54 }
55 -
56 -#pkg_postinst() {
57 -# xdg_pkg_postinst
58 -# optfeature "Electrostatic calculations" sci-chemistry/apbs sci-chemistry/pdb2pqr
59 -#}