From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: pyephem-3.7.5.2.ebuild ChangeLog |
Date: | Tue, 28 Jan 2014 18:06:02 |
Message-Id: | 20140128180557.D72352004C@flycatcher.gentoo.org |
1 | bicatali 14/01/28 18:05:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pyephem-3.7.5.2.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 | |
10 | Revision Changes Path |
11 | 1.22 sci-astronomy/pyephem/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.22&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.22&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.21&r2=1.22 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v |
20 | retrieving revision 1.21 |
21 | retrieving revision 1.22 |
22 | diff -u -r1.21 -r1.22 |
23 | --- ChangeLog 5 Sep 2013 19:44:45 -0000 1.21 |
24 | +++ ChangeLog 28 Jan 2014 18:05:57 -0000 1.22 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-astronomy/pyephem |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.21 2013/09/05 19:44:45 mgorny Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.22 2014/01/28 18:05:57 bicatali Exp $ |
31 | + |
32 | +*pyephem-3.7.5.2 (28 Jan 2014) |
33 | + |
34 | + 28 Jan 2014; Sébastien Fabbro <bicatali@g.o> +pyephem-3.7.5.2.ebuild: |
35 | + Version bump |
36 | |
37 | 05 Sep 2013; Michał Górny <mgorny@g.o> pyephem-3.7.5.1.ebuild: |
38 | Clean up PYTHON_COMPAT from old implementations. |
39 | |
40 | |
41 | |
42 | 1.1 sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pyephem-3.7.5.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.5.2.ebuild,v 1.1 2014/01/28 18:05:57 bicatali Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | PYTHON_COMPAT=( python{2_6,2_7} ) |
56 | |
57 | inherit distutils-r1 |
58 | |
59 | DESCRIPTION="Astronomical routines for the python programming language" |
60 | HOMEPAGE="http://rhodesmill.org/pyephem/" |
61 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 | |
63 | LICENSE="LGPL-3" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
66 | IUSE="doc test" |
67 | |
68 | DEPEND=" |
69 | doc? ( dev-python/sphinx ) |
70 | test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )" |
71 | RDEPEND="" |
72 | |
73 | src_prepare() { |
74 | # don't install rst files |
75 | sed -i -e "s:'doc/\*\.rst',::" setup.py || die |
76 | distutils-r1_src_prepare |
77 | } |
78 | |
79 | src_compile() { |
80 | distutils-r1_src_compile |
81 | if use doc; then |
82 | PYTHONPATH=. emake -C src/ephem/doc html |
83 | fi |
84 | } |
85 | |
86 | python_test() { |
87 | if [[ ${PYTHON_ABI} == "2.7" ]]; then |
88 | PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \ |
89 | ${EPYTHON} -m unittest discover -s src/ephem |
90 | else |
91 | PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \ |
92 | unit2 discover -s src/ephem |
93 | fi |
94 | } |
95 | |
96 | src_install() { |
97 | distutils-r1_src_install |
98 | use doc && dohtml -r src/ephem/doc/_build/html/* |
99 | |
100 | delete_tests() { |
101 | rm -r "${D}$(python_get_sitedir)/ephem/tests" || die |
102 | } |
103 | python_foreach_impl delete_tests |
104 | } |