Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/geopy/
Date: Thu, 04 Jan 2018 20:35:06
Message-Id: 1515098083.9e0b65adb1c68130d9024a90c0c14c8416cf0ed1.mgorny@gentoo
1 commit: 9e0b65adb1c68130d9024a90c0c14c8416cf0ed1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 19:58:06 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 20:34:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e0b65ad
7
8 dev-python/geopy: Clean old up
9
10 dev-python/geopy/Manifest | 1 -
11 dev-python/geopy/geopy-1.8.1.ebuild | 59 -------------------------------------
12 2 files changed, 60 deletions(-)
13
14 diff --git a/dev-python/geopy/Manifest b/dev-python/geopy/Manifest
15 index 1a8a16b8779..066dc7b4b46 100644
16 --- a/dev-python/geopy/Manifest
17 +++ b/dev-python/geopy/Manifest
18 @@ -1,2 +1 @@
19 DIST geopy-1.11.0.tar.gz 72035 BLAKE2B 9d0ab7407f629ccc942e55d3529dbcfa792c50046aad7a23801803085f21675ed4bb3b734c430c5f7842a6f1f69d679a5ab9b37e4e60eefd48efa30a11468557 SHA512 b3abbf0ce4ca08eadc03a97876a662bbda1901660ea03329aace30bfb5f8af17c82653273e4d2eab9aca5e817f50768dd742b4865083709e10b8599331d5573b
20 -DIST geopy-1.8.1.tar.gz 67542 BLAKE2B 73d3d8c1b716fe9cde8d8f5af4ef485957afcb595550d3b5b9c773cdcaa89470ca88dedbef4f8b73d6acb227ec1cf96898a43cb08f2ad7eda9adbb2afe093deb SHA512 0df2e67ed35d5cc3f796e3188df3a37d8fa101a4b6feb6b760ea08087ba44c350765a8c1032012b5e762454fa15c520f97d59ff942f07047927ef4872232a57c
21
22 diff --git a/dev-python/geopy/geopy-1.8.1.ebuild b/dev-python/geopy/geopy-1.8.1.ebuild
23 deleted file mode 100644
24 index 43bd2cdb513..00000000000
25 --- a/dev-python/geopy/geopy-1.8.1.ebuild
26 +++ /dev/null
27 @@ -1,59 +0,0 @@
28 -# Copyright 1999-2015 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI=5
32 -
33 -PYTHON_COMPAT=( python{2_7,3_4} )
34 -
35 -inherit distutils-r1
36 -
37 -DESCRIPTION="A Geocoding Toolbox for Python"
38 -HOMEPAGE="http://www.geopy.org/ https://github.com/geopy/geopy"
39 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -IUSE="test doc yahoo"
42 -
43 -LICENSE="MIT"
44 -SLOT="0"
45 -KEYWORDS="amd64 x86"
46 -
47 -RDEPEND="yahoo? ( >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]
48 - dev-python/placefinder[${PYTHON_USEDEP}] )"
49 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
50 - test? ( dev-python/nose[${PYTHON_USEDEP}]
51 - dev-python/nose-cover3[${PYTHON_USEDEP}]
52 - dev-python/pylint[${PYTHON_USEDEP}] )
53 - doc? ( $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' python2_7)
54 - >=dev-python/python-docs-2.7.6-r1:2.7 )"
55 -
56 -python_prepare_all() {
57 - if use doc; then
58 - local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
59 - local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
60 - local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
61 - local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
62 - sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die
63 - fi
64 -
65 - distutils-r1_python_prepare_all
66 -
67 - # prevent install of test folder to avoid file collisions
68 - sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die
69 -}
70 -
71 -python_test() {
72 - # Ignore rogue class IGNFranceTestCase demanding elements beyond a normal testsuite
73 - # i.e. "You should provide an api key and a username with a password"
74 - # Cannot decipher how to skip or exclude this "context=IGNFranceTestCase"
75 - # It appears it MAY stem from nose rather than geopy's suite
76 - nosetests --verbose || die "Tests failed under ${EPYTHON}"
77 -}
78 -
79 -python_compile_all() {
80 - use doc && emake -C docs html
81 -}
82 -
83 -python_install_all() {
84 - use doc && local HTML_DOCS=( docs/_build/html/. )
85 - distutils-r1_python_install_all
86 -}