Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/geopy: geopy-1.1.5.ebuild geopy-1.3.0.ebuild ChangeLog
Date: Thu, 02 Oct 2014 15:40:08
Message-Id: 20141002154004.088526C5A@oystercatcher.gentoo.org
1 idella4 14/10/02 15:40:04
2
3 Modified: geopy-1.1.5.ebuild ChangeLog
4 Added: geopy-1.3.0.ebuild
5 Log:
6 bump; add IUSE doc, doc deps and doc build, refine test phase
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.2 dev-python/geopy/geopy-1.1.5.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.1.5.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.1.5.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.1.5.ebuild?r1=1.1&r2=1.2
16
17 Index: geopy-1.1.5.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/geopy/geopy-1.1.5.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- geopy-1.1.5.ebuild 19 Sep 2014 00:56:36 -0000 1.1
24 +++ geopy-1.1.5.ebuild 2 Oct 2014 15:40:03 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/geopy-1.1.5.ebuild,v 1.1 2014/09/19 00:56:36 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/geopy-1.1.5.ebuild,v 1.2 2014/10/02 15:40:03 idella4 Exp $
30
31 EAPI=5
32
33 @@ -25,10 +25,6 @@
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36
37 -# Usual; required for testsuite
38 -DISTUTILS_IN_SOURCE_BUILD=1
39 -
40 python_test() {
41 - # intermittent fails or errors caused by an apparent race condition. suite is fine
42 - nosetests --processes=-1 || die "Tests failed under ${EPYTHON}"
43 + nosetests || die "Tests failed under ${EPYTHON}"
44 }
45
46
47
48 1.14 dev-python/geopy/ChangeLog
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?rev=1.14&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?rev=1.14&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?r1=1.13&r2=1.14
53
54 Index: ChangeLog
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v
57 retrieving revision 1.13
58 retrieving revision 1.14
59 diff -u -r1.13 -r1.14
60 --- ChangeLog 19 Sep 2014 00:56:36 -0000 1.13
61 +++ ChangeLog 2 Oct 2014 15:40:03 -0000 1.14
62 @@ -1,6 +1,12 @@
63 # ChangeLog for dev-python/geopy
64 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v 1.13 2014/09/19 00:56:36 idella4 Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v 1.14 2014/10/02 15:40:03 idella4 Exp $
67 +
68 +*geopy-1.3.0 (02 Oct 2014)
69 +
70 + 02 Oct 2014; Ian Delaney <idella4@g.o> +geopy-1.3.0.ebuild,
71 + geopy-1.1.5.ebuild:
72 + bump; add IUSE doc, doc deps and doc build, refine test phase
73
74 *geopy-1.1.5 (19 Sep 2014)
75
76
77
78
79 1.1 dev-python/geopy/geopy-1.3.0.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.3.0.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.3.0.ebuild?rev=1.1&content-type=text/plain
83
84 Index: geopy-1.3.0.ebuild
85 ===================================================================
86 # Copyright 1999-2014 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/geopy-1.3.0.ebuild,v 1.1 2014/10/02 15:40:03 idella4 Exp $
89
90 EAPI=5
91
92 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
93
94 inherit distutils-r1
95
96 DESCRIPTION="A Geocoding Toolbox for Python"
97 HOMEPAGE="http://www.geopy.org/ https://github.com/geopy/geopy"
98 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
99
100 IUSE="test doc yahoo"
101
102 LICENSE="MIT"
103 SLOT="0"
104 KEYWORDS="~amd64 ~x86"
105
106 RDEPEND="yahoo? ( >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]
107 dev-python/placefinder[${PYTHON_USEDEP}] )"
108 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
109 test? ( dev-python/nose[${PYTHON_USEDEP}]
110 dev-python/nose-cover3[${PYTHON_USEDEP}]
111 dev-python/pylint[${PYTHON_USEDEP}] )
112 doc? ( $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' python2_7)
113 >=dev-python/python-docs-2.7.6-r1:2.7 )"
114
115 python_prepare_all() {
116 if use doc; then
117 local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
118 local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
119 local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
120 local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
121 sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die
122 fi
123 distutils-r1_python_prepare_all
124 }
125
126 python_test() {
127 # intermittent fails or errors caused by an apparent race condition. suite is fine
128 # The setting --processes=-1 invokes this flaw
129 nosetests || die "Tests failed under ${EPYTHON}"
130 }
131
132 python_compile_all() {
133 use doc && emake -C docs html
134 }
135
136 python_install_all() {
137 use doc && local HTML_DOCS=( docs/_build/html/. )
138 distutils-r1_python_install_all
139 }