public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2017-01-21 16:14 Andreas Sturmlechner
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Sturmlechner @ 2017-01-21 16:14 UTC (permalink / raw
  To: gentoo-commits

commit:     6db8b38bcd8a53838a7a8b078a33dfd2cee0b65e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 13:26:10 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 16:12:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db8b38b

dev-python/basemap: Update Homepage

Sourceforge link does not work anymore.

Package-Manager: portage-2.3.0

 dev-python/basemap/basemap-1.0.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r1.ebuild b/dev-python/basemap/basemap-1.0.7-r1.ebuild
index 1ce0f53..56d164f 100644
--- a/dev-python/basemap/basemap-1.0.7-r1.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="matplotlib toolkit to plot map projections"
-HOMEPAGE="http://matplotlib.sourceforge.net/basemap/doc/html/ https://pypi.python.org/pypi/basemap"
+HOMEPAGE="http://matplotlib.org/basemap/ https://pypi.python.org/pypi/basemap"
 SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
 
 IUSE="examples test"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2018-02-17 13:07 Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2018-02-17 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     dfa62786a8d8ad5afa22339d73f918d681104502
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 12:58:00 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 13:07:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa62786

dev-python/basemap: Strip mpltoolkits/__init__.py correctly

Closes: https://bugs.gentoo.org/647850

 dev-python/basemap/basemap-1.0.7-r2.ebuild | 72 ++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

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 00000000000..3b90867698e
--- /dev/null
+++ b/dev-python/basemap/basemap-1.0.7-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="http://matplotlib.org/basemap/ https://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
+	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
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2018-03-13 19:52 Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2018-03-13 19:52 UTC (permalink / raw
  To: gentoo-commits

commit:     ec750dd63dddb0f9eabe85afeff7c615001507a8
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Mar 13 19:20:03 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 13 19:52:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec750dd6

dev-python/basemap: use HTTPS

 dev-python/basemap/basemap-1.0.7-r1.ebuild | 4 ++--
 dev-python/basemap/basemap-1.0.7-r2.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r1.ebuild b/dev-python/basemap/basemap-1.0.7-r1.ebuild
index 4c9f746eb7c..76c9e0b13be 100644
--- a/dev-python/basemap/basemap-1.0.7-r1.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="matplotlib toolkit to plot map projections"
-HOMEPAGE="http://matplotlib.org/basemap/ https://pypi.python.org/pypi/basemap"
+HOMEPAGE="https://matplotlib.org/basemap/ https://pypi.python.org/pypi/basemap"
 SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
 
 IUSE="examples test"

diff --git a/dev-python/basemap/basemap-1.0.7-r2.ebuild b/dev-python/basemap/basemap-1.0.7-r2.ebuild
index 3b90867698e..141f8ca4c39 100644
--- a/dev-python/basemap/basemap-1.0.7-r2.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r2.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="matplotlib toolkit to plot map projections"
-HOMEPAGE="http://matplotlib.org/basemap/ https://pypi.python.org/pypi/basemap"
+HOMEPAGE="https://matplotlib.org/basemap/ https://pypi.python.org/pypi/basemap"
 SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
 
 IUSE="examples test"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2020-01-28 20:40 Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2020-01-28 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     4bcb51d4290e22e8470cfd4bbc3a733229b81f61
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 20:15:46 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 20:40:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bcb51d4

dev-python/basemap: Permit matplotlib-python2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/basemap/basemap-1.0.7-r1.ebuild | 7 +++++--
 dev-python/basemap/basemap-1.0.7-r2.ebuild | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r1.ebuild b/dev-python/basemap/basemap-1.0.7-r1.ebuild
index 71e1f054806..9a801ce2828 100644
--- a/dev-python/basemap/basemap-1.0.7-r1.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,10 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 LICENSE="MIT GPL-2"
 
 CDEPEND="sci-libs/shapelib
-	>=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
+	|| (
+		>=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}

diff --git a/dev-python/basemap/basemap-1.0.7-r2.ebuild b/dev-python/basemap/basemap-1.0.7-r2.ebuild
index 6c21c113bf7..83b25e1d199 100644
--- a/dev-python/basemap/basemap-1.0.7-r2.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,10 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 LICENSE="MIT GPL-2"
 
 CDEPEND="sci-libs/shapelib
-	>=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
+	|| (
+		>=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}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2020-01-28 21:30 Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2020-01-28 21:30 UTC (permalink / raw
  To: gentoo-commits

commit:     e12af6bfb8e8ff6573134fa84ac20c0d9bb54411
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 21:28:43 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 21:30:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12af6bf

dev-python/basemap: Revbump post dep change

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/basemap/{basemap-1.0.7-r2.ebuild => basemap-1.0.7-r3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r2.ebuild b/dev-python/basemap/basemap-1.0.7-r3.ebuild
similarity index 100%
rename from dev-python/basemap/basemap-1.0.7-r2.ebuild
rename to dev-python/basemap/basemap-1.0.7-r3.ebuild


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2020-01-30 22:50 Andreas Sturmlechner
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Sturmlechner @ 2020-01-30 22:50 UTC (permalink / raw
  To: gentoo-commits

commit:     4e46d918a1aa2bdadc67bc5381ee7b3380e02da8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 30 22:42:27 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 22:47:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e46d918

dev-python/basemap: Fix MissingUseDepDefault

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/basemap/basemap-1.0.7-r1.ebuild | 2 +-
 dev-python/basemap/basemap-1.0.7-r3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r1.ebuild b/dev-python/basemap/basemap-1.0.7-r1.ebuild
index 9a801ce2828..21c1f248697 100644
--- a/dev-python/basemap/basemap-1.0.7-r1.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r1.ebuild
@@ -21,7 +21,7 @@ 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}]"
+	>=sci-libs/geos-3.3.1[python(-),${PYTHON_USEDEP}]"
 
 DEPEND="${CDEPEND}
 	dev-python/setuptools[${PYTHON_USEDEP}]"

diff --git a/dev-python/basemap/basemap-1.0.7-r3.ebuild b/dev-python/basemap/basemap-1.0.7-r3.ebuild
index 83b25e1d199..97bcfc3f839 100644
--- a/dev-python/basemap/basemap-1.0.7-r3.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r3.ebuild
@@ -21,7 +21,7 @@ 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}]"
+	>=sci-libs/geos-3.3.1[python(-),${PYTHON_USEDEP}]"
 
 DEPEND="${CDEPEND}
 	dev-python/setuptools[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2020-02-09 15:54 Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2020-02-09 15:54 UTC (permalink / raw
  To: gentoo-commits

commit:     ab0afda12a94a22da7afdfb42bcd6f2f6c0742f8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 11:26:34 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 15:54:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab0afda1

dev-python/basemap: Switch to python-single-r1

basemap needs to be single-r1 since its dependency sci-libs/geos is.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...map-1.0.7-r1.ebuild => basemap-1.0.7-r2.ebuild} | 28 ++++++++++++----------
 ...map-1.0.7-r3.ebuild => basemap-1.0.7-r4.ebuild} | 28 ++++++++++++----------
 2 files changed, 30 insertions(+), 26 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r1.ebuild b/dev-python/basemap/basemap-1.0.7-r2.ebuild
similarity index 79%
rename from dev-python/basemap/basemap-1.0.7-r1.ebuild
rename to dev-python/basemap/basemap-1.0.7-r2.ebuild
index 21c1f248697..f6f47617922 100644
--- a/dev-python/basemap/basemap-1.0.7-r1.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=5
 
+DISTUTILS_SINGLE_IMPL=1
 PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1 flag-o-matic
@@ -16,20 +17,21 @@ 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="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}]"
 
-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}]"
+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 )"

diff --git a/dev-python/basemap/basemap-1.0.7-r3.ebuild b/dev-python/basemap/basemap-1.0.7-r4.ebuild
similarity index 79%
rename from dev-python/basemap/basemap-1.0.7-r3.ebuild
rename to dev-python/basemap/basemap-1.0.7-r4.ebuild
index 97bcfc3f839..38c0bfb4645 100644
--- a/dev-python/basemap/basemap-1.0.7-r3.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r4.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=5
 
+DISTUTILS_SINGLE_IMPL=1
 PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1 flag-o-matic
@@ -16,20 +17,21 @@ 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="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}]"
 
-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}]"
+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 )"


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/
@ 2020-03-26 13:49 Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2020-03-26 13:49 UTC (permalink / raw
  To: gentoo-commits

commit:     6f5a7a790a6abce97711b836e8ae33813daa24bc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 26 13:38:17 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 13:38:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5a7a79

dev-python/basemap: Remove redundant versions

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/basemap/basemap-1.0.7-r2.ebuild | 81 ------------------------------
 1 file changed, 81 deletions(-)

diff --git a/dev-python/basemap/basemap-1.0.7-r2.ebuild b/dev-python/basemap/basemap-1.0.7-r2.ebuild
deleted file mode 100644
index c724c56e44f..00000000000
--- a/dev-python/basemap/basemap-1.0.7-r2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# 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() {
-	if use examples; then
-		dodoc -r examples
-		docompress -x /usr/share/doc/${PF}/examples
-	fi
-
-	distutils-r1_python_install_all
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-26 13:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-28 21:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/basemap/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2020-03-26 13:49 Michał Górny
2020-02-09 15:54 Michał Górny
2020-01-30 22:50 Andreas Sturmlechner
2020-01-28 20:40 Michał Górny
2018-03-13 19:52 Michał Górny
2018-02-17 13:07 Michał Górny
2017-01-21 16:14 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox