1 |
commit: b13ff5a8b53cb094cbe70b1639d8d4987aff3936 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Jan 2 14:01:27 2021 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Jan 3 06:43:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b13ff5a8 |
7 |
|
8 |
sci-chemistry/pyquante: version bump, enable sphinx, bump py targets |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
13 |
|
14 |
sci-chemistry/pyquante/pyquante-1.6.3-r1.ebuild | 22 ------------- |
15 |
sci-chemistry/pyquante/pyquante-1.6.4.ebuild | 22 ------------- |
16 |
.../pyquante/pyquante-2.1_p20190721.ebuild | 37 ++++++++++++++++++++++ |
17 |
3 files changed, 37 insertions(+), 44 deletions(-) |
18 |
|
19 |
diff --git a/sci-chemistry/pyquante/pyquante-1.6.3-r1.ebuild b/sci-chemistry/pyquante/pyquante-1.6.3-r1.ebuild |
20 |
deleted file mode 100644 |
21 |
index bf9928ef7..000000000 |
22 |
--- a/sci-chemistry/pyquante/pyquante-1.6.3-r1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,22 +0,0 @@ |
25 |
-# Copyright 1999-2014 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI=5 |
29 |
- |
30 |
-PYTHON_COMPAT=( python2_7 ) |
31 |
- |
32 |
-inherit distutils-r1 |
33 |
- |
34 |
-MY_PN="PyQuante" |
35 |
-MY_P="${MY_PN}-${PV}" |
36 |
- |
37 |
-DESCRIPTION="Quantum chemistry package written in Python" |
38 |
-HOMEPAGE="http://pyquante.sourceforge.net/" |
39 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
40 |
- |
41 |
-SLOT="0" |
42 |
-LICENSE="GPL-2" |
43 |
-KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="" |
45 |
- |
46 |
-S="${WORKDIR}/${MY_P}" |
47 |
|
48 |
diff --git a/sci-chemistry/pyquante/pyquante-1.6.4.ebuild b/sci-chemistry/pyquante/pyquante-1.6.4.ebuild |
49 |
deleted file mode 100644 |
50 |
index bf9928ef7..000000000 |
51 |
--- a/sci-chemistry/pyquante/pyquante-1.6.4.ebuild |
52 |
+++ /dev/null |
53 |
@@ -1,22 +0,0 @@ |
54 |
-# Copyright 1999-2014 Gentoo Foundation |
55 |
-# Distributed under the terms of the GNU General Public License v2 |
56 |
- |
57 |
-EAPI=5 |
58 |
- |
59 |
-PYTHON_COMPAT=( python2_7 ) |
60 |
- |
61 |
-inherit distutils-r1 |
62 |
- |
63 |
-MY_PN="PyQuante" |
64 |
-MY_P="${MY_PN}-${PV}" |
65 |
- |
66 |
-DESCRIPTION="Quantum chemistry package written in Python" |
67 |
-HOMEPAGE="http://pyquante.sourceforge.net/" |
68 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
69 |
- |
70 |
-SLOT="0" |
71 |
-LICENSE="GPL-2" |
72 |
-KEYWORDS="~amd64 ~x86" |
73 |
-IUSE="" |
74 |
- |
75 |
-S="${WORKDIR}/${MY_P}" |
76 |
|
77 |
diff --git a/sci-chemistry/pyquante/pyquante-2.1_p20190721.ebuild b/sci-chemistry/pyquante/pyquante-2.1_p20190721.ebuild |
78 |
new file mode 100644 |
79 |
index 000000000..1eee1d60a |
80 |
--- /dev/null |
81 |
+++ b/sci-chemistry/pyquante/pyquante-2.1_p20190721.ebuild |
82 |
@@ -0,0 +1,37 @@ |
83 |
+# Copyright 1999-2021 Gentoo Authors |
84 |
+# Distributed under the terms of the GNU General Public License v2 |
85 |
+ |
86 |
+EAPI=7 |
87 |
+ |
88 |
+PYTHON_COMPAT=( python3_{7,8} ) # compile failure with py3.9 |
89 |
+ |
90 |
+inherit distutils-r1 |
91 |
+ |
92 |
+COMMIT="6e34cb4480ae7dbd8c5e44d221d8b27584890c83" |
93 |
+ |
94 |
+DESCRIPTION="Quantum chemistry package written in Python" |
95 |
+HOMEPAGE="https://github.com/rpmuller/pyquante2" |
96 |
+SRC_URI="https://github.com/rpmuller/pyquante2/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
97 |
+ |
98 |
+SLOT="0" |
99 |
+LICENSE="BSD" |
100 |
+KEYWORDS="~amd64 ~x86" |
101 |
+ |
102 |
+# Fails to find self, even with --install |
103 |
+RESTRICT="test" |
104 |
+ |
105 |
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" |
106 |
+ |
107 |
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" |
108 |
+ |
109 |
+S="${WORKDIR}/${PN}2-${COMMIT}" |
110 |
+ |
111 |
+distutils_enable_sphinx docs --no-autodoc |
112 |
+distutils_enable_tests --install pytest |
113 |
+ |
114 |
+python_prepare_all() { |
115 |
+ # this has been renamed in newer versions of sphinx |
116 |
+ sed -i -e 's/sphinx.ext.pngmath/sphinx.ext.imgmath/g' docs/conf.py || die |
117 |
+ |
118 |
+ distutils-r1_python_prepare_all |
119 |
+} |