1 |
commit: 11787a4915a7899c414a3ab0f4b487e8aac4c1a5 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 24 23:42:23 2016 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 24 23:42:50 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11787a49 |
7 |
|
8 |
sci-astronomy/pyephem: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
sci-astronomy/pyephem/Manifest | 3 +- |
13 |
sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild | 55 ---------------------- |
14 |
...ephem-3.7.5.1.ebuild => pyephem-3.7.6.0.ebuild} | 19 ++++---- |
15 |
3 files changed, 10 insertions(+), 67 deletions(-) |
16 |
|
17 |
diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest |
18 |
index c9690cf..27931ed 100644 |
19 |
--- a/sci-astronomy/pyephem/Manifest |
20 |
+++ b/sci-astronomy/pyephem/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST pyephem-3.7.5.1.tar.gz 703441 SHA256 f24f8fc23c493fb842b44defc539762351a1d46b85f3d4f5043a002066afb50d SHA512 e26baec13c150350bbb84a28a1572c770642fe9a149a7036b2d6f0a4db8bdefaa7c762c1d24a7bb0607a7ed39684c081a1622ef395fd7590d22d80a3d3e68286 WHIRLPOOL 98cb525e6acc15e479e23bea83b753b1b2859f97338f666e1e2be5f7a0829868abbec8856c3417fd2361f30d488dc038e1e65883b1113e8c022b80e33fd1f75b |
23 |
-DIST pyephem-3.7.5.2.tar.gz 705497 SHA256 3a0f33defbc1d48d196e62f71fc70e1e36095b7864eff3fb553e36dee3df20a1 SHA512 50ec88ee19072168672113c399e96f348feb5c6a5b4362bdcda7de5d079bb7e594c6858047cee53dd9cba9104e85dff9a44ff8981ab434f4ca162662d2a3bddd WHIRLPOOL f603ad3460d6d6348396d3dd946965b4e7a87594a879549d48ff5ead8431a4723e8ab61f216ad686cd539f09cbcc1b334359188f35f80879484cd19d509fbf82 |
24 |
DIST pyephem-3.7.5.3.tar.gz 735112 SHA256 cb0d7950d108aa5cbb1eb6e558086e98230de03ee1ede017a71701257b67eceb SHA512 a61b6a19c35c10ee9d4eba72cb0e6b9446076a3943be58dfd5e084bc9ab09dc70f2ee335ba5f0ef9d9d4d34a461bf4b9ddd57dae50d2e8a8f565d411e47f2908 WHIRLPOOL be28698df6214e769d03e74a67b353679a753723420e6a289b347b42c466c11253df9764f9e4e0fdda0424f4b62363b54fa58b520f45d480aae3a5883a84deae |
25 |
+DIST pyephem-3.7.6.0.tar.gz 739561 SHA256 143146da32a07a4cf9725b5656ba095d24978c22a0363414203e72c39bae52bd SHA512 c3013ef943c0e1e2c30bba6f72912efb100b4c8c45904b7d6d7ba73d8b741564793a6e538117eb88abb824c93c874e2c955de734418ebd2370888718a149c9a8 WHIRLPOOL de8b8a4c86004adb2400a52f22514e5a25752d8e31fe7adbdffd08efa598d8d8c72726398f0ea49dfe3dcc6372c83d2586043ed987be3492c697c2818a2616e8 |
26 |
|
27 |
diff --git a/sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild b/sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 45b6ebb..0000000 |
30 |
--- a/sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,55 +0,0 @@ |
33 |
-# Copyright 1999-2015 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
-# $Id$ |
36 |
- |
37 |
-EAPI=5 |
38 |
- |
39 |
-PYTHON_COMPAT=( python2_7 ) |
40 |
- |
41 |
-inherit distutils-r1 |
42 |
- |
43 |
-DESCRIPTION="Astronomical routines for the python programming language" |
44 |
-HOMEPAGE="http://rhodesmill.org/pyephem/" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="LGPL-3" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
50 |
-IUSE="doc test" |
51 |
- |
52 |
-DEPEND=" |
53 |
- doc? ( dev-python/sphinx )" |
54 |
-RDEPEND="" |
55 |
- |
56 |
-src_prepare() { |
57 |
- # don't install rst files |
58 |
- sed -i -e "s:'doc/\*\.rst',::" setup.py || die |
59 |
- distutils-r1_src_prepare |
60 |
-} |
61 |
- |
62 |
-src_compile() { |
63 |
- distutils-r1_src_compile |
64 |
- if use doc; then |
65 |
- PYTHONPATH=. emake -C src/ephem/doc html |
66 |
- fi |
67 |
-} |
68 |
- |
69 |
-python_test() { |
70 |
- if [[ ${PYTHON_ABI} == "2.7" ]]; then |
71 |
- PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \ |
72 |
- ${EPYTHON} -m unittest discover -s src/ephem |
73 |
- else |
74 |
- PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \ |
75 |
- unit2 discover -s src/ephem |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- distutils-r1_src_install |
81 |
- use doc && dohtml -r src/ephem/doc/_build/html/* |
82 |
- |
83 |
- delete_tests() { |
84 |
- rm -r "${D}$(python_get_sitedir)/ephem/tests" || die |
85 |
- } |
86 |
- python_foreach_impl delete_tests |
87 |
-} |
88 |
|
89 |
diff --git a/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild b/sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild |
90 |
similarity index 72% |
91 |
rename from sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild |
92 |
rename to sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild |
93 |
index 45b6ebb..b9fe6e8 100644 |
94 |
--- a/sci-astronomy/pyephem/pyephem-3.7.5.1.ebuild |
95 |
+++ b/sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild |
96 |
@@ -1,10 +1,10 @@ |
97 |
-# Copyright 1999-2015 Gentoo Foundation |
98 |
+# Copyright 1999-2016 Gentoo Foundation |
99 |
# Distributed under the terms of the GNU General Public License v2 |
100 |
# $Id$ |
101 |
|
102 |
-EAPI=5 |
103 |
+EAPI=6 |
104 |
|
105 |
-PYTHON_COMPAT=( python2_7 ) |
106 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
107 |
|
108 |
inherit distutils-r1 |
109 |
|
110 |
@@ -17,12 +17,11 @@ SLOT="0" |
111 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
112 |
IUSE="doc test" |
113 |
|
114 |
-DEPEND=" |
115 |
- doc? ( dev-python/sphinx )" |
116 |
+DEPEND="doc? ( dev-python/sphinx )" |
117 |
RDEPEND="" |
118 |
|
119 |
src_prepare() { |
120 |
- # don't install rst files |
121 |
+ # don't install rst files by dfefault |
122 |
sed -i -e "s:'doc/\*\.rst',::" setup.py || die |
123 |
distutils-r1_src_prepare |
124 |
} |
125 |
@@ -30,23 +29,23 @@ src_prepare() { |
126 |
src_compile() { |
127 |
distutils-r1_src_compile |
128 |
if use doc; then |
129 |
- PYTHONPATH=. emake -C src/ephem/doc html |
130 |
+ PYTHONPATH=. emake -C ephem/doc html |
131 |
fi |
132 |
} |
133 |
|
134 |
python_test() { |
135 |
if [[ ${PYTHON_ABI} == "2.7" ]]; then |
136 |
PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \ |
137 |
- ${EPYTHON} -m unittest discover -s src/ephem |
138 |
+ ${EPYTHON} -m unittest discover -s ephem |
139 |
else |
140 |
PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \ |
141 |
- unit2 discover -s src/ephem |
142 |
+ unit2 discover -s ephem |
143 |
fi |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
+ use doc && HTML_DOCS=( ephem/doc/_build/html/. ) |
148 |
distutils-r1_src_install |
149 |
- use doc && dohtml -r src/ephem/doc/_build/html/* |
150 |
|
151 |
delete_tests() { |
152 |
rm -r "${D}$(python_get_sitedir)/ephem/tests" || die |