diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-18 00:01:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-18 00:01:42 +0100 |
commit | 075fd1f8cabc5879c6eb42127fb84c3058677fde (patch) | |
tree | 8b761e85416656264e041b1954427a58894b3333 /sci-chemistry/modeller | |
parent | 6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (diff) |
gentoo auto-resync : 18:05:2024 - 00:01:41
Diffstat (limited to 'sci-chemistry/modeller')
-rw-r--r-- | sci-chemistry/modeller/Manifest | 5 | ||||
-rw-r--r-- | sci-chemistry/modeller/files/modeller-10.5-fix-except.patch | 29 | ||||
-rw-r--r-- | sci-chemistry/modeller/modeller-10.5.ebuild (renamed from sci-chemistry/modeller/modeller-9.25.ebuild) | 15 |
3 files changed, 39 insertions, 10 deletions
diff --git a/sci-chemistry/modeller/Manifest b/sci-chemistry/modeller/Manifest index 330cfa72107a..07dd49e6424d 100644 --- a/sci-chemistry/modeller/Manifest +++ b/sci-chemistry/modeller/Manifest @@ -1,3 +1,4 @@ -DIST modeller-9.25.tar.gz 44820658 BLAKE2B b3e8a3cc8cc70689a25bc5ed2eee294d67bef8eea9ed4b64d41aba3a27c0bc428ae58e74d734da0eaab7e4fabb213d098b9ba66b9569557159ac7d4a58244b0a SHA512 93f273aba0ec0f884cde5bbcc24769a09386bfc6bf1744d80001e41924b1a682225ba3c554fb9898ef3bfd1fd8451f9458bb92431b20f2f51b01781e79686c91 -EBUILD modeller-9.25.ebuild 3838 BLAKE2B 43569c6712ed8b26152784fdedadb440014b934517b23d9f0b7d3005313767a81e9ce9de85a8d23f7407ed2d44efab69a8d4fea15739a9e89e6cfd51a2a106b4 SHA512 bb8e488420677dbbf1e8f14ef490896d46378099e7c8b6d3faa3eb44c9dc44ed4dff765ec82ae032f1dcea47b7cedcb7299759bd53bb6e4b090cc2d8eace72c2 +AUX modeller-10.5-fix-except.patch 1494 BLAKE2B 111205f2a20df7e473340ff96d5dfd428a1e1a3edccebcb6ccf51ae9c96be28950bc7433c5ae45165b66e0ce3f8213ea4554f65036dbce783b544fad3035982b SHA512 923be1e727327321930ac9893f041bfa85079da8e1e646e79ea2efdd36581f49498ef05b55a812b06f85bf8bcccd7d5d98c98be2d5ad7a3908313daef5ef5ad6 +DIST modeller-10.5.tar.gz 38272541 BLAKE2B 9c71a9f1e4c34c91852db73ebf86f71cf355217d6889566ff6840dc6874d4906b989a36f3dd642ba4e4d1fe671c1a15753a33e7fabb53adc9182c76fe4fdb6c4 SHA512 666c5367a14084438c96b68ba0779ebd97ca831a4a6538f66e54b63657c8e13b85931c2de8300311f1df7d02907b2ec61f27f95b0704f2c6a313b6baee56febc +EBUILD modeller-10.5.ebuild 3754 BLAKE2B 31ba39d295194c676b52a0999834d1ef7dbd09e62086deda48941ed023345a557dc859e384062d10ebee9dc15b22f10ffdf68c9794bc575f389da3588d0b08c9 SHA512 402464996c584d6b648e0961a77072ba02b7a167a178441f9247b99fce0c92dd6428ae62f330f44f36739d0ef2e16ac6d773e1f4484913dbd4cc058c99f1c4e6 MISC metadata.xml 375 BLAKE2B 949d039d3cd24da52efe20f58e7da07b4371e90ef72f314d076110b4604af1c0b7a77c1241172cf5e0a1c40363a00728d14d6faf30af73d27317f24d5a6c2289 SHA512 52791b3cb6a3998676f23e16346b9c4f447f42de8a58e612eebdf8ebfd34bc724c4994c3accebf00d552187bc80d1c097f73bd02b6fd6874a84441627eb785ca diff --git a/sci-chemistry/modeller/files/modeller-10.5-fix-except.patch b/sci-chemistry/modeller/files/modeller-10.5-fix-except.patch new file mode 100644 index 000000000000..f480a8229bf9 --- /dev/null +++ b/sci-chemistry/modeller/files/modeller-10.5-fix-except.patch @@ -0,0 +1,29 @@ +--- a/modlib/modeller/top_interpreter/__init__.py 2024-03-27 15:52:04.005550025 +0300 ++++ b/modlib/modeller/top_interpreter/__init__.py 2024-03-27 15:54:00.776897686 +0300 +@@ -65,7 +65,7 @@ + if len(line) > 0: + try: + self._parse_top_ini_line(line.split(None, 4), vars) +- except TypeError, detail: # noqa: E999 ++ except (TypeError, detail): # noqa: E999 + mod_log_write("read_top__E> " + str(detail)) + mod_log_write(" top.ini line: " + line) + raise +@@ -115,7 +115,7 @@ + try: + fh = self._open_include_file( + self.variables['include_file']) +- except IOError, detail: ++ except (IOError, detail): + mod_log_write("runlines__E> " + str(detail)) + mod_log_write(" TOP Command line: " + line) + raise +@@ -162,7 +162,7 @@ + indxca = self._run_top_cmd(cmd, indxca, lines, callstack, + subrout) + _modeller.mod_top_post() +- except (IndexError, SyntaxError, TypeError), detail: ++ except (IndexError, SyntaxError, TypeError, detail): + mod_log_write("runlines__E> " + str(detail)) + mod_log_write(" TOP Command line: " + line) + raise diff --git a/sci-chemistry/modeller/modeller-9.25.ebuild b/sci-chemistry/modeller/modeller-10.5.ebuild index 1401279be237..80718ec876c8 100644 --- a/sci-chemistry/modeller/modeller-9.25.ebuild +++ b/sci-chemistry/modeller/modeller-10.5.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{9..10} ) -DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 inherit distutils-r1 @@ -13,14 +14,15 @@ HOMEPAGE="https://salilab.org/modeller/" SRC_URI="https://salilab.org/${PN}/${PV}/${P}.tar.gz" LICENSE="modeller" +SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples" -SLOT="0" RESTRICT="mirror" DEPEND=">=dev-lang/swig-1.3" -RDEPEND="" + +PATCHES=( "${FILESDIR}/${P}-fix-except.patch" ) INPATH="${EPREFIX}"/opt/modeller${ver} @@ -40,8 +42,6 @@ pkg_setup() { python_prepare_all() { sed "s:i386-intel8:${EXECTYPE}:g" -i src/swig/setup.py || die rm -rf modlib/modeller/python_library || die - sed -i '1 i\#!/usr/bin/python' bin/modslave.py || die - 2to3 -w -n modlib/modeller || die distutils-r1_python_prepare_all } @@ -77,7 +77,6 @@ python_install_all() { exeinto ${INPATH}/bin doexe bin/{modscript,mod${PV}_${EXECTYPE}} "${T}"/modpy.sh - python_foreach_impl python_doscript bin/modslave.py dosym ${INPATH}/bin/modscript /opt/bin/mod${PV} dosym ${INPATH}/bin/modpy.sh /opt/bin/modpy.sh |