idella4 15/02/15 09:19:53 Modified: ChangeLog Added: basemap-1.0.7-r1.ebuild Removed: basemap-1.0.7.ebuild Log: revbump; convert -> distutils-r1, restrict test phase (see comments), rm old (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.35 dev-python/basemap/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/ChangeLog?rev=1.35&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/ChangeLog?rev=1.35&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/ChangeLog?r1=1.34&r2=1.35 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- ChangeLog 2 Feb 2015 14:48:08 -0000 1.34 +++ ChangeLog 15 Feb 2015 09:19:53 -0000 1.35 @@ -1,6 +1,12 @@ # ChangeLog for dev-python/basemap # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.34 2015/02/02 14:48:08 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.35 2015/02/15 09:19:53 idella4 Exp $ + +*basemap-1.0.7-r1 (15 Feb 2015) + + 15 Feb 2015; Ian Delaney <[email protected]> +basemap-1.0.7-r1.ebuild, + -basemap-1.0.7.ebuild: + revbump; convert -> distutils-r1, restrict test phase (see comments), rm old 02 Feb 2015; Manuel Rüger <[email protected]> -basemap-1.0.6.ebuild: Remove old. 1.1 dev-python/basemap/basemap-1.0.7-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/basemap-1.0.7-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/basemap-1.0.7-r1.ebuild?rev=1.1&content-type=text/plain Index: basemap-1.0.7-r1.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-1.0.7-r1.ebuild,v 1.1 2015/02/15 09:19:53 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="matplotlib toolkit to plot map projections" HOMEPAGE="http://matplotlib.sourceforge.net/basemap/doc/html/ http://pypi.python.org/pypi/basemap" SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz" IUSE="examples test" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" LICENSE="MIT GPL-2" CDEPEND="sci-libs/shapelib >=dev-python/matplotlib-0.98[${PYTHON_USEDEP}] >=sci-libs/geos-3.3.1[python,${PYTHON_USEDEP}]" DEPEND="${CDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="${CDEPEND} >=dev-python/pupynere-1.0.8[${PYTHON_USEDEP}] dev-python/httplib2[${PYTHON_USEDEP}] dev-python/dap[${PYTHON_USEDEP}]" DOCS="FAQ API_CHANGES" #REQUIRED_USE="test? ( examples )" # The test phase ought never have been onvoked according to the above. # The test phase appears to require the package to fist be emerged, which ... # Until the distutils_install_for_testing func refrains from failing with # mkdir: cannot create directory ‘/test’: Permission denied # reluctantly this phase is assigned RESTRICT="test" src_prepare() { sed -i \ -e "s:/usr:${EPREFIX}/usr:g" \ setup.py || die # use /usr/share/data sed -i \ -e "/_datadir.*=.*join/s|\(.*datadir.*=\).*|\1'${EROOT}usr/share/${PN}'|g" \ "${S}"/lib/mpl_toolkits/basemap/*.py || die distutils-r1_src_prepare } #src_test() { # distutils_install_for_testing #} python_install() { distutils-r1_python_install # --install-data="${EPREFIX}/usr/share/${PN}" on testing is found not to work; # setup.py is a mess. Someone care to patch setup.py please proceed; substitute with insinto usr/share/basemap/ doins lib/mpl_toolkits/basemap/data/* # clean up collision with matplotlib rm -f "${D}$(python_get_sitedir)/mpl_toolkits/__init__.py" # respect FHS rm -fr "${D}$(python_get_sitedir)/mpl_toolkits/basemap/data" } python_install_all() { use examples && local EXAMPLES=( examples/. ) distutils-r1_python_install_all }
