1 |
idella4 14/10/04 03:02:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: geopy-1.3.0-r1.ebuild |
5 |
Log: |
6 |
revbump; purge test folder from installed folders to avoid file collisions, fixes Bug #524348 by H. Jarausch |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 dev-python/geopy/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- ChangeLog 2 Oct 2014 15:40:03 -0000 1.14 |
24 |
+++ ChangeLog 4 Oct 2014 03:02:29 -0000 1.15 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/geopy |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v 1.14 2014/10/02 15:40:03 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v 1.15 2014/10/04 03:02:29 idella4 Exp $ |
30 |
+ |
31 |
+*geopy-1.3.0-r1 (04 Oct 2014) |
32 |
+ |
33 |
+ 04 Oct 2014; Ian Delaney <idella4@g.o> +geopy-1.3.0-r1.ebuild: |
34 |
+ revbump; purge test folder from installed folders to avoid file collisions, |
35 |
+ fixes Bug #524348 by H. Jarausch |
36 |
|
37 |
*geopy-1.3.0 (02 Oct 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/geopy/geopy-1.3.0-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.3.0-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: geopy-1.3.0-r1.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/dev-python/geopy/geopy-1.3.0-r1.ebuild,v 1.1 2014/10/04 03:02:29 idella4 Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
56 |
|
57 |
inherit distutils-r1 |
58 |
|
59 |
DESCRIPTION="A Geocoding Toolbox for Python" |
60 |
HOMEPAGE="http://www.geopy.org/ https://github.com/geopy/geopy" |
61 |
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
62 |
|
63 |
IUSE="test doc yahoo" |
64 |
|
65 |
LICENSE="MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
|
69 |
RDEPEND="yahoo? ( >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}] |
70 |
dev-python/placefinder[${PYTHON_USEDEP}] )" |
71 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
test? ( dev-python/nose[${PYTHON_USEDEP}] |
73 |
dev-python/nose-cover3[${PYTHON_USEDEP}] |
74 |
dev-python/pylint[${PYTHON_USEDEP}] ) |
75 |
doc? ( $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' python2_7) |
76 |
>=dev-python/python-docs-2.7.6-r1:2.7 )" |
77 |
|
78 |
python_prepare_all() { |
79 |
if use doc; then |
80 |
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) |
81 |
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" |
82 |
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" |
83 |
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" |
84 |
sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die |
85 |
fi |
86 |
|
87 |
distutils-r1_python_prepare_all |
88 |
|
89 |
# purge test folder to avoid file collisions |
90 |
sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die |
91 |
} |
92 |
|
93 |
python_test() { |
94 |
# intermittent fails or errors caused by an apparent race condition. suite is fine |
95 |
# The setting --processes=-1 invokes this flaw |
96 |
nosetests || die "Tests failed under ${EPYTHON}" |
97 |
} |
98 |
|
99 |
python_compile_all() { |
100 |
use doc && emake -C docs html |
101 |
} |
102 |
|
103 |
python_install_all() { |
104 |
use doc && local HTML_DOCS=( docs/_build/html/. ) |
105 |
distutils-r1_python_install_all |
106 |
} |