idella4     15/04/11 06:36:48

  Modified:             ChangeLog
  Added:                geopy-1.10.0.ebuild
  Log:
  bump
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.25                 dev-python/geopy/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?rev=1.25&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?rev=1.25&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/ChangeLog?r1=1.24&r2=1.25

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog   8 Mar 2015 23:49:01 -0000       1.24
+++ ChangeLog   11 Apr 2015 06:36:48 -0000      1.25
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/geopy
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v 1.24 
2015/03/08 23:49:01 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/ChangeLog,v 1.25 
2015/04/11 06:36:48 idella4 Exp $
+
+*geopy-1.10.0 (11 Apr 2015)
+
+  11 Apr 2015; Ian Delaney <idel...@gentoo.org> +geopy-1.10.0.ebuild:
+  bump
 
   08 Mar 2015; Pacho Ramos <pa...@gentoo.org> geopy-1.8.1.ebuild:
   x86 stable, bug 540290



1.1                  dev-python/geopy/geopy-1.10.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.10.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/geopy-1.10.0.ebuild?rev=1.1&content-type=text/plain

Index: geopy-1.10.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/geopy-1.10.0.ebuild,v 1.1 
2015/04/11 06:36:48 idella4 Exp $

EAPI=5

PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

DESCRIPTION="A Geocoding Toolbox for Python"
HOMEPAGE="http://www.geopy.org/ https://github.com/geopy/geopy";
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

IUSE="test doc timezone yahoo"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="yahoo? ( >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]
                dev-python/placefinder[${PYTHON_USEDEP}] )
        timezone? ( dev-python/pytz[${PYTHON_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( dev-python/nose[${PYTHON_USEDEP}]
                dev-python/nose-cover3[${PYTHON_USEDEP}]
                dev-python/pylint[${PYTHON_USEDEP}] )
        doc? ( $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
                >=dev-python/python-docs-2.7.6-r1:2.7 )"

REQUIRED_USE="test? ( yahoo timezone )"

python_prepare_all() {
        if use doc; then
                local PYTHON_DOC_ATOM=$(best_version --host-root 
dev-python/python-docs:2.7)
                local 
PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
                local 
PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
                local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
                sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': 
'${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die
        fi

        distutils-r1_python_prepare_all

        # prevent install of test folder to avoid file collisions
        sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i 
setup.py || die
}

python_test() {
        # Ignore rogue class IGNFranceTestCase demanding elements beyond a 
normal testsuite
        # i.e. "You should provide an api key and a username with a password"
        # Cannot decipher how to skip or exclude this 
"context=IGNFranceTestCase"
        # It appears it MAY stem from nose rather than geopy's suite
        nosetests --verbose || die "Tests failed under ${EPYTHON}"
}

python_compile_all() {
        use doc && emake -C docs html
}

python_install_all() {
        use doc && local HTML_DOCS=( docs/_build/html/. )
        distutils-r1_python_install_all
}




Reply via email to