Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 603574 Details for
Bug 705646
sci-visualization/pythonprop, dev-python/basemap: need porting to py3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
basemap-1.1.0.ebuild
basemap-1.1.0.ebuild (text/plain), 2.12 KB, created by
Laslo Hunhold
on 2020-01-17 11:24:05 UTC
(
hide
)
Description:
basemap-1.1.0.ebuild
Filename:
MIME Type:
Creator:
Laslo Hunhold
Created:
2020-01-17 11:24:05 UTC
Size:
2.12 KB
patch
obsolete
># Copyright 1999-2018 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >PYTHON_COMPAT=( python3_{6,7,8} ) > >inherit distutils-r1 flag-o-matic > >DESCRIPTION="matplotlib toolkit to plot map projections" >HOMEPAGE="https://matplotlib.org/basemap/ https://pypi.org/project/basemap/" >SRC_URI="https://github.com/matplotlib/${PN}/archive/v${PV}.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 > append-flags -fno-strict-aliasing >} > >#src_test() { ># distutils_install_for_testing >#} > >python_install() { > # mpl_toolkits namespace provided by dev-python/matplotlib > rm "${BUILD_DIR}/lib/mpl_toolkits/__init__.py" || die > distutils-r1_python_install --skip-build > # --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/* > > # respect FHS > rm -r "${D}$(python_get_sitedir)/mpl_toolkits/basemap/data" || die >} > >python_install_all() { > use examples && local EXAMPLES=( examples/. ) > distutils-r1_python_install_all >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 705646
: 603574 |
603576