1 |
commit: 75c1e5775adf387c9f56c5eb37f5c4114b6cef46 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 11:53:15 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 11:53:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c1e577 |
7 |
|
8 |
sci-chemistry/propka: add 3.4.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/832251 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
sci-chemistry/propka/Manifest | 1 + |
14 |
sci-chemistry/propka/metadata.xml | 1 + |
15 |
sci-chemistry/propka/propka-3.4.0.ebuild | 28 ++++++++++++++++++++++++++++ |
16 |
3 files changed, 30 insertions(+) |
17 |
|
18 |
diff --git a/sci-chemistry/propka/Manifest b/sci-chemistry/propka/Manifest |
19 |
index 4141de909047..3ed3d129ddbf 100644 |
20 |
--- a/sci-chemistry/propka/Manifest |
21 |
+++ b/sci-chemistry/propka/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST propka-3.2.0.tar.gz 73746 BLAKE2B f79e493d5a195b81dc5d11cc21b9ab16c8d1fa48f15f7e23e2b2936dfb8634fdb00c7838b8dbdb4a68726dab0f16e54522ad71d71b3273ac93c03a737ae06f04 SHA512 98f2240b28b33bab94cdbe9392062bb7f6b87e75b94c2af91e178f874a74d210601161ebc835c4d751b89d37b32348fdfb096e28cbf8e9237b3f472d3fb6b4fc |
24 |
+DIST propka-3.4.0.gh.tar.gz 363641 BLAKE2B 87f495ba69028593cf3ebf98ed33da0944f7a3833f2d08cae4f0a0b5cbe2f3a67e9812685b896a7d89c88ba25653861f135dbac53dc6df7af426a290bacb3d22 SHA512 2ce431c66374d0692acb7504661caa870ab6460ace3a6478f88c1d46a7bfcd82c748bf153a1ce2ea6d1611bc4bbf2351c4f5149f4578e5f8a9f9ec8385298fe9 |
25 |
|
26 |
diff --git a/sci-chemistry/propka/metadata.xml b/sci-chemistry/propka/metadata.xml |
27 |
index 03810a218076..5153791d2361 100644 |
28 |
--- a/sci-chemistry/propka/metadata.xml |
29 |
+++ b/sci-chemistry/propka/metadata.xml |
30 |
@@ -9,4 +9,5 @@ |
31 |
<remote-id type="pypi">propka</remote-id> |
32 |
<remote-id type="github">jensengroup/propka</remote-id> |
33 |
</upstream> |
34 |
+ <stabilize-allarches/> |
35 |
</pkgmetadata> |
36 |
|
37 |
diff --git a/sci-chemistry/propka/propka-3.4.0.ebuild b/sci-chemistry/propka/propka-3.4.0.ebuild |
38 |
new file mode 100644 |
39 |
index 000000000000..81b20fbee2e0 |
40 |
--- /dev/null |
41 |
+++ b/sci-chemistry/propka/propka-3.4.0.ebuild |
42 |
@@ -0,0 +1,28 @@ |
43 |
+# Copyright 1999-2022 Gentoo Authors |
44 |
+# Distributed under the terms of the GNU General Public License v2 |
45 |
+ |
46 |
+EAPI=8 |
47 |
+ |
48 |
+PYTHON_COMPAT=( python3_{9..11} ) |
49 |
+DISTUTILS_USE_PEP517=setuptools |
50 |
+ |
51 |
+inherit distutils-r1 |
52 |
+ |
53 |
+DESCRIPTION="pKa-value prediction of ionizable groups in protein and protein-ligand complexes" |
54 |
+HOMEPAGE="https://github.com/jensengroup/propka" |
55 |
+SRC_URI="https://github.com/jensengroup/propka/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
56 |
+ |
57 |
+SLOT="0" |
58 |
+LICENSE="LGPL-2.1" |
59 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
60 |
+ |
61 |
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+python_prepare_all() { |
66 |
+ # Do not install the tests |
67 |
+ sed -e "/exclude/s:scripts:\', \'tests:g" \ |
68 |
+ -i setup.py || die |
69 |
+ distutils-r1_python_prepare_all |
70 |
+} |