1 |
commit: be3a8dac241780c87b9872e398fa6e116995b909 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 01:43:10 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 01:50:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3a8dac |
7 |
|
8 |
sci-astronomy/pyephem: Remove old (py3.6) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sci-astronomy/pyephem/Manifest | 1 - |
13 |
sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild | 48 ------------------------- |
14 |
2 files changed, 49 deletions(-) |
15 |
|
16 |
diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest |
17 |
index 57f82a81b8d..9329cd69646 100644 |
18 |
--- a/sci-astronomy/pyephem/Manifest |
19 |
+++ b/sci-astronomy/pyephem/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pyephem-3.7.6.0.tar.gz 739561 BLAKE2B a8129632514940e6d786dcc50d2dd0bd1fff2b76b9d59f88820c93cce3400f9b15c4f7418bc778ee5ad60a8909a970aaea5df62c5192fcb71f822b97abc0dc4f SHA512 c3013ef943c0e1e2c30bba6f72912efb100b4c8c45904b7d6d7ba73d8b741564793a6e538117eb88abb824c93c874e2c955de734418ebd2370888718a149c9a8 |
22 |
DIST pyephem-3.7.7.1.tar.gz 1622306 BLAKE2B aefdd7b7e4471140f1c2b5c065f663dfb1095d8d8325e23d4b5b9c683ff7a91020151429a992ad78be897ab738d9bc207afa337b7806fb244d6d6c8a1c680b7f SHA512 ae0d9562f33ee25065b33ea3d4b24a74e32259bebb07edf37deacaa77e6d24b3a7a49e4602393b45a3c7cfc7d8088f038e68e96ec3576a796b5486fc2946ac5a |
23 |
|
24 |
diff --git a/sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild b/sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index ac5f38c6854..00000000000 |
27 |
--- a/sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,48 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_6 ) |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="Astronomical routines for the python programming language" |
39 |
-HOMEPAGE="https://rhodesmill.org/pyephem/" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="LGPL-3" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" |
45 |
-IUSE="doc test" |
46 |
- |
47 |
-DEPEND="doc? ( dev-python/sphinx )" |
48 |
-RDEPEND="" |
49 |
- |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-src_prepare() { |
53 |
- # don't install rst files by dfefault |
54 |
- sed -i -e "s:'doc/\*\.rst',::" setup.py || die |
55 |
- distutils-r1_src_prepare |
56 |
-} |
57 |
- |
58 |
-src_compile() { |
59 |
- distutils-r1_src_compile |
60 |
- if use doc; then |
61 |
- PYTHONPATH=. emake -C ephem/doc html |
62 |
- fi |
63 |
-} |
64 |
- |
65 |
-python_test() { |
66 |
- PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" unit2 discover -s ephem |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- use doc && HTML_DOCS=( ephem/doc/_build/html/. ) |
71 |
- distutils-r1_src_install |
72 |
- |
73 |
- delete_tests() { |
74 |
- rm -r "${D}$(python_get_sitedir)/ephem/tests" || die |
75 |
- } |
76 |
- python_foreach_impl delete_tests |
77 |
-} |