From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- dev-python/basemap/Manifest | 4 +- dev-python/basemap/basemap-1.0.7-r1.ebuild | 75 ----------------------------- dev-python/basemap/basemap-1.0.7-r2.ebuild | 77 ++++++++++++++++++++++++++++++ dev-python/basemap/basemap-1.0.7-r3.ebuild | 75 ----------------------------- dev-python/basemap/basemap-1.0.7-r4.ebuild | 77 ++++++++++++++++++++++++++++++ 5 files changed, 156 insertions(+), 152 deletions(-) delete mode 100644 dev-python/basemap/basemap-1.0.7-r1.ebuild create mode 100644 dev-python/basemap/basemap-1.0.7-r2.ebuild delete mode 100644 dev-python/basemap/basemap-1.0.7-r3.ebuild create mode 100644 dev-python/basemap/basemap-1.0.7-r4.ebuild (limited to 'dev-python/basemap') diff --git a/dev-python/basemap/Manifest b/dev-python/basemap/Manifest index 132b57eca9b6..3317b6d15d4e 100644 --- a/dev-python/basemap/Manifest +++ b/dev-python/basemap/Manifest @@ -1,4 +1,4 @@ DIST basemap-1.0.7.tar.gz 129694711 BLAKE2B ec2159b01711584384d472205f8d3cadd06cfca07202421be534d7778f94000ccc9ae4b8e07a9fd595b7c06c335ec7af7ac2e9d84f7418bb0db1aeab67125559 SHA512 dc8ef8f02127813c9460c6a9c22c593616bbe8ff39f6507abb786d344c710b296bf4f21759b5c1e6fc8ccf3f478d8fb6f546429528575d13f732c4233aaf9c20 -EBUILD basemap-1.0.7-r1.ebuild 2176 BLAKE2B 2cb1c2e71db6b8c4e0f4e606c39a34cbc3dd988b8732965110f8043b1ffa49b1e95203a9a86bff5d6b3b4f32d543c71182e24ade79d1b6111d74af975f809170 SHA512 c2c86d652f8452a53bc09bb28fffaa9b7f554dbeb9819316178d5e0cc2eecf1ec8044dadd84a1e991faafab5253984a8e988ef35fc1d18c91aa5bb22aa20c02b -EBUILD basemap-1.0.7-r3.ebuild 2215 BLAKE2B db19c5d88b2a4f56a9c35dc29e17b6b0147540aaca63581c37601ba0b9d52922dc60c4d6ef88eda75c2199622238725f66d0a9a6c502a04aaebb1eb70bc0e8ff SHA512 8735d3f4152915c8c6847b5c73d0acaf663efe989e66578cdc4ed517dc0d242b3b280120e98c0869cef6d9fae5b1e28d55d2f68bc79e0a686c2f794d59295dea +EBUILD basemap-1.0.7-r2.ebuild 2238 BLAKE2B d0dcd4e6bd14377ff0f99297597859cdeb01d288fe3c9c54c53003f7af5af868092dc9a71e81da1fffa2106e7ca6f21ebc4d8243efa76c50ad089f9229306ddc SHA512 e4116a8bf9bb88ebdef68be187b7339fadec9ebda3f130a834b147083ce64ce2f4a03184d7d9ad8a3d2e94548749f95a60a328e72e831733aed76e41289c39c5 +EBUILD basemap-1.0.7-r4.ebuild 2277 BLAKE2B 2e9217616ab07867a4e533bc01d58c3ae45f1a408c10f1433a76cba8c69d3bdc7e992ff04bcc55449d647a34e9ec52e4e469b2ad926a7336bb9162ef7a0431bd SHA512 254d75e375e006f061ff646efcadf015b35651597ebf0fd326f118563325cb7cbefef0d6a7c9819a7ae519e437f1b9258f4e1ba7672f7d9ee4b41d6744ec9c80 MISC metadata.xml 613 BLAKE2B 899d7032acf24b4d5a03efe56d537172d6b10105a71636afbaa63762f4669afb7116cceec9e1be1ef7c8ed23f03d9066b2ace57876770bc49450020e57121cae SHA512 f00ec05a0bf306703627b8a4846a20dcc4503646df4c38ae75f360c452e4e824db537cde0f93d037840583f3c245453387a665ca9ebf5356be45be84588893ee diff --git a/dev-python/basemap/basemap-1.0.7-r1.ebuild b/dev-python/basemap/basemap-1.0.7-r1.ebuild deleted file mode 100644 index 21c1f248697e..000000000000 --- a/dev-python/basemap/basemap-1.0.7-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -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="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-python2-0.98[${PYTHON_USEDEP}] - >=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() { - 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 -} diff --git a/dev-python/basemap/basemap-1.0.7-r2.ebuild b/dev-python/basemap/basemap-1.0.7-r2.ebuild new file mode 100644 index 000000000000..f6f476179223 --- /dev/null +++ b/dev-python/basemap/basemap-1.0.7-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python2_7 ) + +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="mirror://sourceforge/matplotlib/${P}.tar.gz" + +IUSE="examples test" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +LICENSE="MIT GPL-2" + +DEPEND="sci-libs/shapelib + $(python_gen_cond_dep ' + || ( + >=dev-python/matplotlib-python2-0.98[${PYTHON_MULTI_USEDEP}] + >=dev-python/matplotlib-0.98[${PYTHON_MULTI_USEDEP}] + ) + ') + >=sci-libs/geos-3.3.1[python(-),${PYTHON_SINGLE_USEDEP}]" + +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/pupynere-1.0.8[${PYTHON_MULTI_USEDEP}] + dev-python/httplib2[${PYTHON_MULTI_USEDEP}] + dev-python/dap[${PYTHON_MULTI_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() { + 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 +} diff --git a/dev-python/basemap/basemap-1.0.7-r3.ebuild b/dev-python/basemap/basemap-1.0.7-r3.ebuild deleted file mode 100644 index 97bcfc3f839b..000000000000 --- a/dev-python/basemap/basemap-1.0.7-r3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -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="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-python2-0.98[${PYTHON_USEDEP}] - >=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 -} diff --git a/dev-python/basemap/basemap-1.0.7-r4.ebuild b/dev-python/basemap/basemap-1.0.7-r4.ebuild new file mode 100644 index 000000000000..38c0bfb4645e --- /dev/null +++ b/dev-python/basemap/basemap-1.0.7-r4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python2_7 ) + +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="mirror://sourceforge/matplotlib/${P}.tar.gz" + +IUSE="examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="MIT GPL-2" + +DEPEND="sci-libs/shapelib + $(python_gen_cond_dep ' + || ( + >=dev-python/matplotlib-python2-0.98[${PYTHON_MULTI_USEDEP}] + >=dev-python/matplotlib-0.98[${PYTHON_MULTI_USEDEP}] + ) + ') + >=sci-libs/geos-3.3.1[python(-),${PYTHON_SINGLE_USEDEP}]" + +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/pupynere-1.0.8[${PYTHON_MULTI_USEDEP}] + dev-python/httplib2[${PYTHON_MULTI_USEDEP}] + dev-python/dap[${PYTHON_MULTI_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 +} -- cgit v1.2.3