[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-03-29 Thread Thomas Beierlein
commit: 91081c55a118249339229acd798d69e655474223
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 29 17:39:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 29 17:45:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91081c55

sci-libs/cartopy: New package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 +
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 sci-libs/cartopy/metadata.xml| 15 +++
 3 files changed, 81 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
new file mode 100644
index 000..b4a3dc8825c
--- /dev/null
+++ b/sci-libs/cartopy/Manifest
@@ -0,0 +1 @@
+DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
new file mode 100644
index 000..01048dc6aca
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}

diff --git a/sci-libs/cartopy/metadata.xml b/sci-libs/cartopy/metadata.xml
new file mode 100644
index 000..5bffb905015
--- /dev/null
+++ b/sci-libs/cartopy/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   tom...@gentoo.org
+   Thomas Beierlein
+   
+   
+   Cartopy is a Python package designed for geospatial data 
processing
+   in order to produce maps and other geospatial data analyses.
+   Key features of cartopy are its object oriented projection 
definitions, 
+   and its ability to transform points, lines, vectors, polygons 
and i
+   images between those projections.
+   
+



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Thomas Beierlein
commit: be004dc155e56999bfbc34beadf96d565f17a171
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec 18 21:20:39 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec 18 21:21:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be004dc1

sci-libs/cartopy: Add python3_9 support and drop 3_6

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Matt Turner
commit: 365dcdeeaf7e0c0942791102048276bccf7a4402
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec 18 23:38:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec 18 23:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365dcdee

Revert "sci-libs/cartopy: Add python3_9 support and drop 3_6"

This reverts commit be004dc155e56999bfbc34beadf96d565f17a171.

This commit broke the tree for sci-visualization/pythonprop.

Signed-off-by: Matt Turner  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..d4fd00b90fc 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: cb53c4c3ef456f29841537b769b1a220621f639d
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:54:31 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb53c4c3

sci-libs/cartopy: Add python3_9 support

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 7396023ceb3..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: a9c5ab250c68161de4354236a31f323f2e583f36
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:52:23 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c5ab25

sci-libs/cartopy: Drop python3_6 support

As package depends on sci-libs/shapely which no longer provides support
for python3_6 we drop it here too.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..7396023ceb3 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-07-08 Thread Thomas Beierlein
commit: a39cdf38b71b038b7ae4de3f26c05f3a45b0f1f9
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Jul  8 17:36:48 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Jul  8 17:37:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39cdf38

sci-libs/cartopy: Version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index b4a3dc8825c..def25f78022 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
+DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
new file mode 100644
index 000..0be07b47077
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-29 Thread Thomas Beierlein
commit: 57333166649c9919657df04486f025867bf95eec
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Aug 29 17:37:51 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Aug 29 17:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57333166

sci-libs/cartopy: Drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 -
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 2 files changed, 66 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index def25f78022..15559100d5e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
-DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
deleted file mode 100644
index 0be07b47077..000
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/Shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-31 Thread Thomas Beierlein
commit: 7a266034b98bc5a933391b5b63dfc9b744d158f1
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Aug 31 15:39:34 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Aug 31 15:40:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a266034

sci-libs/cartopy: Fix missing USE dependency

Closes: https://bugs.gentoo.org/739660
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0be07b47077..0e8e4f590af 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
sci-libs/gdal[python,${PYTHON_USEDEP}]
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-09-07 Thread Thomas Beierlein
commit: b8105556f4d5d66f45746d8574d96f4fd395b826
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Sep  8 05:49:02 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Sep  8 05:51:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8105556

sci-libs/cartopy: Add python 3.8 support

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0e8e4f590af..2fb1a4020f2 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-04-23 Thread Thomas Beierlein
commit: 1b4fd280c17229c6d4cb804cc20e3363e70c7606
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Apr 23 16:17:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Apr 23 16:18:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4fd280

sci-libs/cartopy: Add support for Python3.7

py3.8 has to wait until deps are supporting it.

Closes: https://bugs.gentoo.org/718492
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
index 01048dc6aca..0be07b47077 100644
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-08-15 Thread Thomas Beierlein
commit: 5c049c6bc4dd4e88c6872a372d83f7358b09f0f0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Aug 16 05:31:00 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Aug 16 05:31:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c049c6b

sci-libs/cartopy: add 0.20.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.3.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 4e9c493bc31c..9aa60979e409 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761
+DIST cartopy-0.20.3.tar.gz 10703747 BLAKE2B 
794b0e837893c99bec54423731993a0321f3bd93a01bcc9c1ccfd056d4739d7f4b687c0c05e5e529edd8b350478dc76ccf9f3163061466ee6711949f360f7e7b
 SHA512 
0ac4722ed541d77ac871438b2f4e5252c8ae0ab0551bd62a8ba654e10183bba2f702d70cc7331f1cce488c0a59fe4d24e7009de25d74a563f3b2763a12c504dd

diff --git a/sci-libs/cartopy/cartopy-0.20.3.ebuild 
b/sci-libs/cartopy/cartopy-0.20.3.ebuild
new file mode 100644
index ..8748a3e391ab
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   dev-python/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-09-19 Thread Thomas Beierlein
commit: b0111a5b848016ec22b863072dbf6c53c2220c07
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Sep 19 15:19:01 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Sep 19 15:19:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0111a5b

sci-libs/cartopy: Fix setuptools dep

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

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..ffeef0d9070 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-09 Thread Thomas Beierlein
commit: 98e33d90c1acdccdfb59551f4eb1e1ce800143d0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Oct  9 07:32:09 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Oct  9 07:33:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e33d90

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 15559100d5e..0417f6eb7b5 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
+DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
new file mode 100644
index 000..236d53b0c15
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+"${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-26 Thread Thomas Beierlein
commit: a42d64d0c700b3b78c8f7bb514d0c6e9127f42cb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Dec 26 10:22:33 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Dec 26 10:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42d64d0

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 57508390262e..3bf117380669 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
+DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
new file mode 100644
index ..6ef30eb28e4f
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   >=sci-libs/proj-8
+   dev-python/pyproj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-27 Thread Thomas Beierlein
commit: a24f0cb6b20b81579a484d0ab7330e3e8ff03ea3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Dec 27 16:32:32 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Dec 27 16:32:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24f0cb6

sci-libs/cartopy: Fix missing $PYTHON_USEDEP

Closes: https://bugs.gentoo.org/830016
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
index 6ef30eb28e4f..1fa38c496b97 100644
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos
>=sci-libs/proj-8
-   dev-python/pyproj
+   dev-python/pyproj[${PYTHON_USEDEP}]
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-28 Thread Thomas Beierlein
commit: 8b7bc0969af3a6b9b5f0cc23c1bd6b4136c3d637
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 28 12:05:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 28 12:05:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bc096

sci-libs/cartopy: Move some DEPENDS to RDEPENDS

See also: https://bugs.gentoo.org/830016

Tnx Sam for pointing it out.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1-r1.ebuild | 70 +++
 1 file changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
new file mode 100644
index ..d1c4f0d5d167
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-04-01 Thread Thomas Beierlein
commit: d22495ce0800c24eab85baf0cec845a1cd1d1982
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Apr  1 09:09:02 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Apr  1 09:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22495ce

sci-libs/cartopy: drop 0.19.0, 0.20.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 -
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 --
 3 files changed, 140 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index e401f3bb438c..4e9c493bc31c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,3 +1,2 @@
-DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
deleted file mode 100644
index 613c5da6a598..
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-"${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
deleted file mode 100644
index 1fa38c496b97..
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   >=sci-libs/proj-8
-   dev-python/pyproj[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-  

[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-03-27 Thread Thomas Beierlein
commit: 2b6f5572eebaf357e41ac99d3f10e68c4f608c55
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 27 12:29:52 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 27 12:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f5572

sci-libs/cartopy: add 0.20.2

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 3bf117380669..e401f3bb438c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
+DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.20.2.ebuild 
b/sci-libs/cartopy/cartopy-0.20.2.ebuild
new file mode 100644
index ..10493288f17e
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-11-22 Thread Thomas Beierlein
commit: 475e34a1fd166f02421f441c125d63771170e1bc
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Nov 22 19:31:54 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Nov 22 19:32:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e34a1

sci-libs/cartopy: Drop old

See also bug# 822819

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 0417f6eb7b58..57508390262e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
-DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
deleted file mode 100644
index ffeef0d90707..
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-10 Thread Thomas Beierlein
commit: 356a1c1ea4529e3b9ddbfed23ca2469a4326fe11
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Oct 10 17:05:35 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Oct 10 17:06:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356a1c1e

sci-libs/cartopy: Fix wrong dependency positioning

Closes: https://bugs.gentoo.org/817293
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
index 236d53b0c15..613c5da6a59 100644
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos


[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-08-15 Thread Thomas Beierlein
commit: 5c049c6bc4dd4e88c6872a372d83f7358b09f0f0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Aug 16 05:31:00 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Aug 16 05:31:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c049c6b

sci-libs/cartopy: add 0.20.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.3.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 4e9c493bc31c..9aa60979e409 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761
+DIST cartopy-0.20.3.tar.gz 10703747 BLAKE2B 
794b0e837893c99bec54423731993a0321f3bd93a01bcc9c1ccfd056d4739d7f4b687c0c05e5e529edd8b350478dc76ccf9f3163061466ee6711949f360f7e7b
 SHA512 
0ac4722ed541d77ac871438b2f4e5252c8ae0ab0551bd62a8ba654e10183bba2f702d70cc7331f1cce488c0a59fe4d24e7009de25d74a563f3b2763a12c504dd

diff --git a/sci-libs/cartopy/cartopy-0.20.3.ebuild 
b/sci-libs/cartopy/cartopy-0.20.3.ebuild
new file mode 100644
index ..8748a3e391ab
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   dev-python/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-08-15 Thread Thomas Beierlein
commit: 5c049c6bc4dd4e88c6872a372d83f7358b09f0f0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Aug 16 05:31:00 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Aug 16 05:31:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c049c6b

sci-libs/cartopy: add 0.20.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.3.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 4e9c493bc31c..9aa60979e409 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761
+DIST cartopy-0.20.3.tar.gz 10703747 BLAKE2B 
794b0e837893c99bec54423731993a0321f3bd93a01bcc9c1ccfd056d4739d7f4b687c0c05e5e529edd8b350478dc76ccf9f3163061466ee6711949f360f7e7b
 SHA512 
0ac4722ed541d77ac871438b2f4e5252c8ae0ab0551bd62a8ba654e10183bba2f702d70cc7331f1cce488c0a59fe4d24e7009de25d74a563f3b2763a12c504dd

diff --git a/sci-libs/cartopy/cartopy-0.20.3.ebuild 
b/sci-libs/cartopy/cartopy-0.20.3.ebuild
new file mode 100644
index ..8748a3e391ab
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   dev-python/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-09-19 Thread Thomas Beierlein
commit: b0111a5b848016ec22b863072dbf6c53c2220c07
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Sep 19 15:19:01 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Sep 19 15:19:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0111a5b

sci-libs/cartopy: Fix setuptools dep

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

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..ffeef0d9070 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-09 Thread Thomas Beierlein
commit: 98e33d90c1acdccdfb59551f4eb1e1ce800143d0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Oct  9 07:32:09 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Oct  9 07:33:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e33d90

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 15559100d5e..0417f6eb7b5 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
+DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
new file mode 100644
index 000..236d53b0c15
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+"${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-26 Thread Thomas Beierlein
commit: a42d64d0c700b3b78c8f7bb514d0c6e9127f42cb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Dec 26 10:22:33 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Dec 26 10:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42d64d0

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 57508390262e..3bf117380669 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
+DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
new file mode 100644
index ..6ef30eb28e4f
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   >=sci-libs/proj-8
+   dev-python/pyproj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-27 Thread Thomas Beierlein
commit: a24f0cb6b20b81579a484d0ab7330e3e8ff03ea3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Dec 27 16:32:32 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Dec 27 16:32:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24f0cb6

sci-libs/cartopy: Fix missing $PYTHON_USEDEP

Closes: https://bugs.gentoo.org/830016
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
index 6ef30eb28e4f..1fa38c496b97 100644
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos
>=sci-libs/proj-8
-   dev-python/pyproj
+   dev-python/pyproj[${PYTHON_USEDEP}]
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-28 Thread Thomas Beierlein
commit: 8b7bc0969af3a6b9b5f0cc23c1bd6b4136c3d637
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 28 12:05:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 28 12:05:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bc096

sci-libs/cartopy: Move some DEPENDS to RDEPENDS

See also: https://bugs.gentoo.org/830016

Tnx Sam for pointing it out.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1-r1.ebuild | 70 +++
 1 file changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
new file mode 100644
index ..d1c4f0d5d167
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-11-22 Thread Thomas Beierlein
commit: 475e34a1fd166f02421f441c125d63771170e1bc
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Nov 22 19:31:54 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Nov 22 19:32:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e34a1

sci-libs/cartopy: Drop old

See also bug# 822819

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 0417f6eb7b58..57508390262e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
-DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
deleted file mode 100644
index ffeef0d90707..
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Thomas Beierlein
commit: be004dc155e56999bfbc34beadf96d565f17a171
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec 18 21:20:39 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec 18 21:21:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be004dc1

sci-libs/cartopy: Add python3_9 support and drop 3_6

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Matt Turner
commit: 365dcdeeaf7e0c0942791102048276bccf7a4402
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec 18 23:38:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec 18 23:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365dcdee

Revert "sci-libs/cartopy: Add python3_9 support and drop 3_6"

This reverts commit be004dc155e56999bfbc34beadf96d565f17a171.

This commit broke the tree for sci-visualization/pythonprop.

Signed-off-by: Matt Turner  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..d4fd00b90fc 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: cb53c4c3ef456f29841537b769b1a220621f639d
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:54:31 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb53c4c3

sci-libs/cartopy: Add python3_9 support

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 7396023ceb3..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: a9c5ab250c68161de4354236a31f323f2e583f36
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:52:23 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c5ab25

sci-libs/cartopy: Drop python3_6 support

As package depends on sci-libs/shapely which no longer provides support
for python3_6 we drop it here too.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..7396023ceb3 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-04-01 Thread Thomas Beierlein
commit: d22495ce0800c24eab85baf0cec845a1cd1d1982
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Apr  1 09:09:02 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Apr  1 09:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22495ce

sci-libs/cartopy: drop 0.19.0, 0.20.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 -
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 --
 3 files changed, 140 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index e401f3bb438c..4e9c493bc31c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,3 +1,2 @@
-DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
deleted file mode 100644
index 613c5da6a598..
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-"${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
deleted file mode 100644
index 1fa38c496b97..
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   >=sci-libs/proj-8
-   dev-python/pyproj[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-  

[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-03-27 Thread Thomas Beierlein
commit: 2b6f5572eebaf357e41ac99d3f10e68c4f608c55
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 27 12:29:52 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 27 12:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f5572

sci-libs/cartopy: add 0.20.2

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 3bf117380669..e401f3bb438c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
+DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.20.2.ebuild 
b/sci-libs/cartopy/cartopy-0.20.2.ebuild
new file mode 100644
index ..10493288f17e
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-10 Thread Thomas Beierlein
commit: 356a1c1ea4529e3b9ddbfed23ca2469a4326fe11
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Oct 10 17:05:35 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Oct 10 17:06:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356a1c1e

sci-libs/cartopy: Fix wrong dependency positioning

Closes: https://bugs.gentoo.org/817293
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
index 236d53b0c15..613c5da6a59 100644
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos


[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-07-08 Thread Thomas Beierlein
commit: a39cdf38b71b038b7ae4de3f26c05f3a45b0f1f9
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Jul  8 17:36:48 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Jul  8 17:37:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39cdf38

sci-libs/cartopy: Version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index b4a3dc8825c..def25f78022 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
+DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
new file mode 100644
index 000..0be07b47077
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Thomas Beierlein
commit: be004dc155e56999bfbc34beadf96d565f17a171
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec 18 21:20:39 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec 18 21:21:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be004dc1

sci-libs/cartopy: Add python3_9 support and drop 3_6

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Matt Turner
commit: 365dcdeeaf7e0c0942791102048276bccf7a4402
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec 18 23:38:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec 18 23:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365dcdee

Revert "sci-libs/cartopy: Add python3_9 support and drop 3_6"

This reverts commit be004dc155e56999bfbc34beadf96d565f17a171.

This commit broke the tree for sci-visualization/pythonprop.

Signed-off-by: Matt Turner  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..d4fd00b90fc 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: cb53c4c3ef456f29841537b769b1a220621f639d
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:54:31 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb53c4c3

sci-libs/cartopy: Add python3_9 support

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 7396023ceb3..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: a9c5ab250c68161de4354236a31f323f2e583f36
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:52:23 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c5ab25

sci-libs/cartopy: Drop python3_6 support

As package depends on sci-libs/shapely which no longer provides support
for python3_6 we drop it here too.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..7396023ceb3 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-09 Thread Thomas Beierlein
commit: 98e33d90c1acdccdfb59551f4eb1e1ce800143d0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Oct  9 07:32:09 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Oct  9 07:33:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e33d90

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 15559100d5e..0417f6eb7b5 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
+DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
new file mode 100644
index 000..236d53b0c15
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+"${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-10 Thread Thomas Beierlein
commit: 356a1c1ea4529e3b9ddbfed23ca2469a4326fe11
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Oct 10 17:05:35 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Oct 10 17:06:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356a1c1e

sci-libs/cartopy: Fix wrong dependency positioning

Closes: https://bugs.gentoo.org/817293
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
index 236d53b0c15..613c5da6a59 100644
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos


[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-09-19 Thread Thomas Beierlein
commit: b0111a5b848016ec22b863072dbf6c53c2220c07
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Sep 19 15:19:01 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Sep 19 15:19:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0111a5b

sci-libs/cartopy: Fix setuptools dep

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

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..ffeef0d9070 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-03-27 Thread Thomas Beierlein
commit: 2b6f5572eebaf357e41ac99d3f10e68c4f608c55
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 27 12:29:52 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 27 12:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f5572

sci-libs/cartopy: add 0.20.2

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 3bf117380669..e401f3bb438c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
+DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.20.2.ebuild 
b/sci-libs/cartopy/cartopy-0.20.2.ebuild
new file mode 100644
index ..10493288f17e
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-04-01 Thread Thomas Beierlein
commit: d22495ce0800c24eab85baf0cec845a1cd1d1982
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Apr  1 09:09:02 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Apr  1 09:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22495ce

sci-libs/cartopy: drop 0.19.0, 0.20.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 -
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 --
 3 files changed, 140 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index e401f3bb438c..4e9c493bc31c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,3 +1,2 @@
-DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
deleted file mode 100644
index 613c5da6a598..
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-"${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
deleted file mode 100644
index 1fa38c496b97..
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   >=sci-libs/proj-8
-   dev-python/pyproj[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-  

[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-26 Thread Thomas Beierlein
commit: a42d64d0c700b3b78c8f7bb514d0c6e9127f42cb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Dec 26 10:22:33 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Dec 26 10:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42d64d0

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 57508390262e..3bf117380669 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
+DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
new file mode 100644
index ..6ef30eb28e4f
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   >=sci-libs/proj-8
+   dev-python/pyproj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-27 Thread Thomas Beierlein
commit: a24f0cb6b20b81579a484d0ab7330e3e8ff03ea3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Dec 27 16:32:32 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Dec 27 16:32:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24f0cb6

sci-libs/cartopy: Fix missing $PYTHON_USEDEP

Closes: https://bugs.gentoo.org/830016
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
index 6ef30eb28e4f..1fa38c496b97 100644
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos
>=sci-libs/proj-8
-   dev-python/pyproj
+   dev-python/pyproj[${PYTHON_USEDEP}]
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-28 Thread Thomas Beierlein
commit: 8b7bc0969af3a6b9b5f0cc23c1bd6b4136c3d637
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 28 12:05:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 28 12:05:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bc096

sci-libs/cartopy: Move some DEPENDS to RDEPENDS

See also: https://bugs.gentoo.org/830016

Tnx Sam for pointing it out.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1-r1.ebuild | 70 +++
 1 file changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
new file mode 100644
index ..d1c4f0d5d167
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-11-22 Thread Thomas Beierlein
commit: 475e34a1fd166f02421f441c125d63771170e1bc
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Nov 22 19:31:54 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Nov 22 19:32:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e34a1

sci-libs/cartopy: Drop old

See also bug# 822819

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 0417f6eb7b58..57508390262e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
-DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
deleted file mode 100644
index ffeef0d90707..
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-09-07 Thread Thomas Beierlein
commit: b8105556f4d5d66f45746d8574d96f4fd395b826
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Sep  8 05:49:02 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Sep  8 05:51:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8105556

sci-libs/cartopy: Add python 3.8 support

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0e8e4f590af..2fb1a4020f2 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-31 Thread Thomas Beierlein
commit: 7a266034b98bc5a933391b5b63dfc9b744d158f1
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Aug 31 15:39:34 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Aug 31 15:40:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a266034

sci-libs/cartopy: Fix missing USE dependency

Closes: https://bugs.gentoo.org/739660
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0be07b47077..0e8e4f590af 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
sci-libs/gdal[python,${PYTHON_USEDEP}]
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-29 Thread Thomas Beierlein
commit: 57333166649c9919657df04486f025867bf95eec
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Aug 29 17:37:51 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Aug 29 17:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57333166

sci-libs/cartopy: Drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 -
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 2 files changed, 66 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index def25f78022..15559100d5e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
-DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
deleted file mode 100644
index 0be07b47077..000
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/Shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-04-23 Thread Thomas Beierlein
commit: 1b4fd280c17229c6d4cb804cc20e3363e70c7606
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Apr 23 16:17:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Apr 23 16:18:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4fd280

sci-libs/cartopy: Add support for Python3.7

py3.8 has to wait until deps are supporting it.

Closes: https://bugs.gentoo.org/718492
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
index 01048dc6aca..0be07b47077 100644
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-03-29 Thread Thomas Beierlein
commit: 91081c55a118249339229acd798d69e655474223
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 29 17:39:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 29 17:45:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91081c55

sci-libs/cartopy: New package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 +
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 sci-libs/cartopy/metadata.xml| 15 +++
 3 files changed, 81 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
new file mode 100644
index 000..b4a3dc8825c
--- /dev/null
+++ b/sci-libs/cartopy/Manifest
@@ -0,0 +1 @@
+DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
new file mode 100644
index 000..01048dc6aca
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}

diff --git a/sci-libs/cartopy/metadata.xml b/sci-libs/cartopy/metadata.xml
new file mode 100644
index 000..5bffb905015
--- /dev/null
+++ b/sci-libs/cartopy/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   tom...@gentoo.org
+   Thomas Beierlein
+   
+   
+   Cartopy is a Python package designed for geospatial data 
processing
+   in order to produce maps and other geospatial data analyses.
+   Key features of cartopy are its object oriented projection 
definitions, 
+   and its ability to transform points, lines, vectors, polygons 
and i
+   images between those projections.
+   
+



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-04-23 Thread Thomas Beierlein
commit: 1b4fd280c17229c6d4cb804cc20e3363e70c7606
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Apr 23 16:17:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Apr 23 16:18:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4fd280

sci-libs/cartopy: Add support for Python3.7

py3.8 has to wait until deps are supporting it.

Closes: https://bugs.gentoo.org/718492
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
index 01048dc6aca..0be07b47077 100644
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-03-29 Thread Thomas Beierlein
commit: 91081c55a118249339229acd798d69e655474223
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 29 17:39:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 29 17:45:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91081c55

sci-libs/cartopy: New package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 +
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 sci-libs/cartopy/metadata.xml| 15 +++
 3 files changed, 81 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
new file mode 100644
index 000..b4a3dc8825c
--- /dev/null
+++ b/sci-libs/cartopy/Manifest
@@ -0,0 +1 @@
+DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
new file mode 100644
index 000..01048dc6aca
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}

diff --git a/sci-libs/cartopy/metadata.xml b/sci-libs/cartopy/metadata.xml
new file mode 100644
index 000..5bffb905015
--- /dev/null
+++ b/sci-libs/cartopy/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   tom...@gentoo.org
+   Thomas Beierlein
+   
+   
+   Cartopy is a Python package designed for geospatial data 
processing
+   in order to produce maps and other geospatial data analyses.
+   Key features of cartopy are its object oriented projection 
definitions, 
+   and its ability to transform points, lines, vectors, polygons 
and i
+   images between those projections.
+   
+



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-07-08 Thread Thomas Beierlein
commit: a39cdf38b71b038b7ae4de3f26c05f3a45b0f1f9
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Jul  8 17:36:48 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Jul  8 17:37:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39cdf38

sci-libs/cartopy: Version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index b4a3dc8825c..def25f78022 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
+DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
new file mode 100644
index 000..0be07b47077
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-29 Thread Thomas Beierlein
commit: 57333166649c9919657df04486f025867bf95eec
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Aug 29 17:37:51 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Aug 29 17:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57333166

sci-libs/cartopy: Drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 -
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 2 files changed, 66 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index def25f78022..15559100d5e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
-DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
deleted file mode 100644
index 0be07b47077..000
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/Shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-31 Thread Thomas Beierlein
commit: 7a266034b98bc5a933391b5b63dfc9b744d158f1
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Aug 31 15:39:34 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Aug 31 15:40:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a266034

sci-libs/cartopy: Fix missing USE dependency

Closes: https://bugs.gentoo.org/739660
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0be07b47077..0e8e4f590af 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
sci-libs/gdal[python,${PYTHON_USEDEP}]
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-09-07 Thread Thomas Beierlein
commit: b8105556f4d5d66f45746d8574d96f4fd395b826
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Sep  8 05:49:02 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Sep  8 05:51:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8105556

sci-libs/cartopy: Add python 3.8 support

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0e8e4f590af..2fb1a4020f2 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-09-19 Thread Thomas Beierlein
commit: b0111a5b848016ec22b863072dbf6c53c2220c07
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Sep 19 15:19:01 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Sep 19 15:19:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0111a5b

sci-libs/cartopy: Fix setuptools dep

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

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..ffeef0d9070 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-09 Thread Thomas Beierlein
commit: 98e33d90c1acdccdfb59551f4eb1e1ce800143d0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Oct  9 07:32:09 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Oct  9 07:33:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e33d90

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 15559100d5e..0417f6eb7b5 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
+DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
new file mode 100644
index 000..236d53b0c15
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+"${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-10 Thread Thomas Beierlein
commit: 356a1c1ea4529e3b9ddbfed23ca2469a4326fe11
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Oct 10 17:05:35 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Oct 10 17:06:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356a1c1e

sci-libs/cartopy: Fix wrong dependency positioning

Closes: https://bugs.gentoo.org/817293
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
index 236d53b0c15..613c5da6a59 100644
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos


[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-03-27 Thread Thomas Beierlein
commit: 2b6f5572eebaf357e41ac99d3f10e68c4f608c55
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 27 12:29:52 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 27 12:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f5572

sci-libs/cartopy: add 0.20.2

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 3bf117380669..e401f3bb438c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
+DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.20.2.ebuild 
b/sci-libs/cartopy/cartopy-0.20.2.ebuild
new file mode 100644
index ..10493288f17e
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-03-29 Thread Thomas Beierlein
commit: 91081c55a118249339229acd798d69e655474223
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 29 17:39:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 29 17:45:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91081c55

sci-libs/cartopy: New package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 +
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 sci-libs/cartopy/metadata.xml| 15 +++
 3 files changed, 81 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
new file mode 100644
index 000..b4a3dc8825c
--- /dev/null
+++ b/sci-libs/cartopy/Manifest
@@ -0,0 +1 @@
+DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
new file mode 100644
index 000..01048dc6aca
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}

diff --git a/sci-libs/cartopy/metadata.xml b/sci-libs/cartopy/metadata.xml
new file mode 100644
index 000..5bffb905015
--- /dev/null
+++ b/sci-libs/cartopy/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   tom...@gentoo.org
+   Thomas Beierlein
+   
+   
+   Cartopy is a Python package designed for geospatial data 
processing
+   in order to produce maps and other geospatial data analyses.
+   Key features of cartopy are its object oriented projection 
definitions, 
+   and its ability to transform points, lines, vectors, polygons 
and i
+   images between those projections.
+   
+



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Thomas Beierlein
commit: be004dc155e56999bfbc34beadf96d565f17a171
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec 18 21:20:39 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec 18 21:21:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be004dc1

sci-libs/cartopy: Add python3_9 support and drop 3_6

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Matt Turner
commit: 365dcdeeaf7e0c0942791102048276bccf7a4402
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec 18 23:38:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec 18 23:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365dcdee

Revert "sci-libs/cartopy: Add python3_9 support and drop 3_6"

This reverts commit be004dc155e56999bfbc34beadf96d565f17a171.

This commit broke the tree for sci-visualization/pythonprop.

Signed-off-by: Matt Turner  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..d4fd00b90fc 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: cb53c4c3ef456f29841537b769b1a220621f639d
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:54:31 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb53c4c3

sci-libs/cartopy: Add python3_9 support

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 7396023ceb3..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: a9c5ab250c68161de4354236a31f323f2e583f36
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:52:23 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c5ab25

sci-libs/cartopy: Drop python3_6 support

As package depends on sci-libs/shapely which no longer provides support
for python3_6 we drop it here too.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..7396023ceb3 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-26 Thread Thomas Beierlein
commit: a42d64d0c700b3b78c8f7bb514d0c6e9127f42cb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Dec 26 10:22:33 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Dec 26 10:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42d64d0

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 57508390262e..3bf117380669 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
+DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
new file mode 100644
index ..6ef30eb28e4f
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   >=sci-libs/proj-8
+   dev-python/pyproj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-27 Thread Thomas Beierlein
commit: a24f0cb6b20b81579a484d0ab7330e3e8ff03ea3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Dec 27 16:32:32 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Dec 27 16:32:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24f0cb6

sci-libs/cartopy: Fix missing $PYTHON_USEDEP

Closes: https://bugs.gentoo.org/830016
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
index 6ef30eb28e4f..1fa38c496b97 100644
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos
>=sci-libs/proj-8
-   dev-python/pyproj
+   dev-python/pyproj[${PYTHON_USEDEP}]
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-28 Thread Thomas Beierlein
commit: 8b7bc0969af3a6b9b5f0cc23c1bd6b4136c3d637
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 28 12:05:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 28 12:05:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bc096

sci-libs/cartopy: Move some DEPENDS to RDEPENDS

See also: https://bugs.gentoo.org/830016

Tnx Sam for pointing it out.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1-r1.ebuild | 70 +++
 1 file changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
new file mode 100644
index ..d1c4f0d5d167
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-11-22 Thread Thomas Beierlein
commit: 475e34a1fd166f02421f441c125d63771170e1bc
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Nov 22 19:31:54 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Nov 22 19:32:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e34a1

sci-libs/cartopy: Drop old

See also bug# 822819

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 0417f6eb7b58..57508390262e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
-DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
deleted file mode 100644
index ffeef0d90707..
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-07-08 Thread Thomas Beierlein
commit: a39cdf38b71b038b7ae4de3f26c05f3a45b0f1f9
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Jul  8 17:36:48 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Jul  8 17:37:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39cdf38

sci-libs/cartopy: Version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index b4a3dc8825c..def25f78022 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
+DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
new file mode 100644
index 000..0be07b47077
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-04-23 Thread Thomas Beierlein
commit: 1b4fd280c17229c6d4cb804cc20e3363e70c7606
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Apr 23 16:17:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Apr 23 16:18:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4fd280

sci-libs/cartopy: Add support for Python3.7

py3.8 has to wait until deps are supporting it.

Closes: https://bugs.gentoo.org/718492
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
index 01048dc6aca..0be07b47077 100644
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-29 Thread Thomas Beierlein
commit: 57333166649c9919657df04486f025867bf95eec
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Aug 29 17:37:51 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Aug 29 17:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57333166

sci-libs/cartopy: Drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 -
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 2 files changed, 66 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index def25f78022..15559100d5e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
-DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
deleted file mode 100644
index 0be07b47077..000
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/Shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-08-31 Thread Thomas Beierlein
commit: 7a266034b98bc5a933391b5b63dfc9b744d158f1
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Aug 31 15:39:34 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Aug 31 15:40:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a266034

sci-libs/cartopy: Fix missing USE dependency

Closes: https://bugs.gentoo.org/739660
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0be07b47077..0e8e4f590af 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
sci-libs/gdal[python,${PYTHON_USEDEP}]
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-09-07 Thread Thomas Beierlein
commit: b8105556f4d5d66f45746d8574d96f4fd395b826
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Sep  8 05:49:02 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Sep  8 05:51:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8105556

sci-libs/cartopy: Add python 3.8 support

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 0e8e4f590af..2fb1a4020f2 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-26 Thread Thomas Beierlein
commit: a42d64d0c700b3b78c8f7bb514d0c6e9127f42cb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Dec 26 10:22:33 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Dec 26 10:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42d64d0

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 57508390262e..3bf117380669 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
+DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
new file mode 100644
index ..6ef30eb28e4f
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   >=sci-libs/proj-8
+   dev-python/pyproj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-27 Thread Thomas Beierlein
commit: a24f0cb6b20b81579a484d0ab7330e3e8ff03ea3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Dec 27 16:32:32 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Dec 27 16:32:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24f0cb6

sci-libs/cartopy: Fix missing $PYTHON_USEDEP

Closes: https://bugs.gentoo.org/830016
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
index 6ef30eb28e4f..1fa38c496b97 100644
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos
>=sci-libs/proj-8
-   dev-python/pyproj
+   dev-python/pyproj[${PYTHON_USEDEP}]
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-28 Thread Thomas Beierlein
commit: 8b7bc0969af3a6b9b5f0cc23c1bd6b4136c3d637
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 28 12:05:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 28 12:05:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bc096

sci-libs/cartopy: Move some DEPENDS to RDEPENDS

See also: https://bugs.gentoo.org/830016

Tnx Sam for pointing it out.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1-r1.ebuild | 70 +++
 1 file changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
new file mode 100644
index ..d1c4f0d5d167
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-04-01 Thread Thomas Beierlein
commit: d22495ce0800c24eab85baf0cec845a1cd1d1982
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Apr  1 09:09:02 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Apr  1 09:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22495ce

sci-libs/cartopy: drop 0.19.0, 0.20.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 -
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 --
 3 files changed, 140 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index e401f3bb438c..4e9c493bc31c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,3 +1,2 @@
-DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
deleted file mode 100644
index 613c5da6a598..
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-"${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
deleted file mode 100644
index 1fa38c496b97..
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   >=sci-libs/proj-8
-   dev-python/pyproj[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-  

[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-03-27 Thread Thomas Beierlein
commit: 2b6f5572eebaf357e41ac99d3f10e68c4f608c55
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 27 12:29:52 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 27 12:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f5572

sci-libs/cartopy: add 0.20.2

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 3bf117380669..e401f3bb438c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
+DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.20.2.ebuild 
b/sci-libs/cartopy/cartopy-0.20.2.ebuild
new file mode 100644
index ..10493288f17e
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-08-15 Thread Thomas Beierlein
commit: 5c049c6bc4dd4e88c6872a372d83f7358b09f0f0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Aug 16 05:31:00 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Aug 16 05:31:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c049c6b

sci-libs/cartopy: add 0.20.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.3.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 4e9c493bc31c..9aa60979e409 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761
+DIST cartopy-0.20.3.tar.gz 10703747 BLAKE2B 
794b0e837893c99bec54423731993a0321f3bd93a01bcc9c1ccfd056d4739d7f4b687c0c05e5e529edd8b350478dc76ccf9f3163061466ee6711949f360f7e7b
 SHA512 
0ac4722ed541d77ac871438b2f4e5252c8ae0ab0551bd62a8ba654e10183bba2f702d70cc7331f1cce488c0a59fe4d24e7009de25d74a563f3b2763a12c504dd

diff --git a/sci-libs/cartopy/cartopy-0.20.3.ebuild 
b/sci-libs/cartopy/cartopy-0.20.3.ebuild
new file mode 100644
index ..8748a3e391ab
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   dev-python/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-08-15 Thread Thomas Beierlein
commit: 5c049c6bc4dd4e88c6872a372d83f7358b09f0f0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Aug 16 05:31:00 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Aug 16 05:31:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c049c6b

sci-libs/cartopy: add 0.20.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.3.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 4e9c493bc31c..9aa60979e409 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761
+DIST cartopy-0.20.3.tar.gz 10703747 BLAKE2B 
794b0e837893c99bec54423731993a0321f3bd93a01bcc9c1ccfd056d4739d7f4b687c0c05e5e529edd8b350478dc76ccf9f3163061466ee6711949f360f7e7b
 SHA512 
0ac4722ed541d77ac871438b2f4e5252c8ae0ab0551bd62a8ba654e10183bba2f702d70cc7331f1cce488c0a59fe4d24e7009de25d74a563f3b2763a12c504dd

diff --git a/sci-libs/cartopy/cartopy-0.20.3.ebuild 
b/sci-libs/cartopy/cartopy-0.20.3.ebuild
new file mode 100644
index ..8748a3e391ab
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   dev-python/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Thomas Beierlein
commit: be004dc155e56999bfbc34beadf96d565f17a171
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec 18 21:20:39 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec 18 21:21:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be004dc1

sci-libs/cartopy: Add python3_9 support and drop 3_6

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-18 Thread Matt Turner
commit: 365dcdeeaf7e0c0942791102048276bccf7a4402
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec 18 23:38:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec 18 23:38:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365dcdee

Revert "sci-libs/cartopy: Add python3_9 support and drop 3_6"

This reverts commit be004dc155e56999bfbc34beadf96d565f17a171.

This commit broke the tree for sci-visualization/pythonprop.

Signed-off-by: Matt Turner  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..d4fd00b90fc 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: cb53c4c3ef456f29841537b769b1a220621f639d
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:54:31 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb53c4c3

sci-libs/cartopy: Add python3_9 support

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index 7396023ceb3..fbbee50514c 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-12-19 Thread Thomas Beierlein
commit: a9c5ab250c68161de4354236a31f323f2e583f36
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec 19 14:52:23 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec 19 14:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c5ab25

sci-libs/cartopy: Drop python3_6 support

As package depends on sci-libs/shapely which no longer provides support
for python3_6 we drop it here too.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index d4fd00b90fc..7396023ceb3 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-09-19 Thread Thomas Beierlein
commit: b0111a5b848016ec22b863072dbf6c53c2220c07
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Sep 19 15:19:01 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Sep 19 15:19:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0111a5b

sci-libs/cartopy: Fix setuptools dep

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

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
index fbbee50514c..ffeef0d9070 100644
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-10-09 Thread Thomas Beierlein
commit: 98e33d90c1acdccdfb59551f4eb1e1ce800143d0
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Oct  9 07:32:09 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Oct  9 07:33:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e33d90

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 15559100d5e..0417f6eb7b5 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
+DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
new file mode 100644
index 000..236d53b0c15
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.19.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+"${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-26 Thread Thomas Beierlein
commit: a42d64d0c700b3b78c8f7bb514d0c6e9127f42cb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Dec 26 10:22:33 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Dec 26 10:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42d64d0

sci-libs/cartopy: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 57508390262e..3bf117380669 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
+DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
new file mode 100644
index ..6ef30eb28e4f
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   >=sci-libs/proj-8
+   dev-python/pyproj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-27 Thread Thomas Beierlein
commit: a24f0cb6b20b81579a484d0ab7330e3e8ff03ea3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Dec 27 16:32:32 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Dec 27 16:32:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24f0cb6

sci-libs/cartopy: Fix missing $PYTHON_USEDEP

Closes: https://bugs.gentoo.org/830016
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
index 6ef30eb28e4f..1fa38c496b97 100644
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.20.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
sci-libs/geos
>=sci-libs/proj-8
-   dev-python/pyproj
+   dev-python/pyproj[${PYTHON_USEDEP}]
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-12-28 Thread Thomas Beierlein
commit: 8b7bc0969af3a6b9b5f0cc23c1bd6b4136c3d637
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 28 12:05:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 28 12:05:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bc096

sci-libs/cartopy: Move some DEPENDS to RDEPENDS

See also: https://bugs.gentoo.org/830016

Tnx Sam for pointing it out.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.20.1-r1.ebuild | 70 +++
 1 file changed, 70 insertions(+)

diff --git a/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
new file mode 100644
index ..d1c4f0d5d167
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2021-11-22 Thread Thomas Beierlein
commit: 475e34a1fd166f02421f441c125d63771170e1bc
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Nov 22 19:31:54 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Nov 22 19:32:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e34a1

sci-libs/cartopy: Drop old

See also bug# 822819

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 0417f6eb7b58..57508390262e 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1 @@
-DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
deleted file mode 100644
index ffeef0d90707..
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   sci-libs/proj
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-
-S="${WORKDIR}"/${MY_P}
-
-python_prepare_all() {
-   # drop test file requiring network access, which got not covered by 
markers
-   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
-   # prepare matplotlib backend for test suite
-   export MPLCONFIGDIR="${T}"
-   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-04-01 Thread Thomas Beierlein
commit: d22495ce0800c24eab85baf0cec845a1cd1d1982
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Apr  1 09:09:02 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Apr  1 09:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22495ce

sci-libs/cartopy: drop 0.19.0, 0.20.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 -
 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 -
 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 --
 3 files changed, 140 deletions(-)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index e401f3bb438c..4e9c493bc31c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,3 +1,2 @@
-DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild 
b/sci-libs/cartopy/cartopy-0.19.0.ebuild
deleted file mode 100644
index 613c5da6a598..
--- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-"${MPLCONFIGDIR}"/matplotlibrc || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   cd "${BUILD_DIR}"
-   # drop all tests needing network access
-   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
-}

diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild 
b/sci-libs/cartopy/cartopy-0.20.1.ebuild
deleted file mode 100644
index 1fa38c496b97..
--- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Python package for geospatial data processing and analysis"
-HOMEPAGE="https://scitools.org.uk/cartopy";
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-libs/pyshp[${PYTHON_USEDEP}]
-   sci-libs/shapely[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
-   sci-libs/gdal[python,${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   sci-libs/geos
-   >=sci-libs/proj-8
-   dev-python/pyproj[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-DEPEND+="test? (
-   dev-python/filelock[${PYTHON_USEDEP}]
-  

[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2022-03-27 Thread Thomas Beierlein
commit: 2b6f5572eebaf357e41ac99d3f10e68c4f608c55
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 27 12:29:52 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 27 12:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6f5572

sci-libs/cartopy: add 0.20.2

Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.20.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 3bf117380669..e401f3bb438c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,2 +1,3 @@
 DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 
129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f
 SHA512 
5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 
29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c
 SHA512 
fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
+DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 
18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4
 SHA512 
1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761

diff --git a/sci-libs/cartopy/cartopy-0.20.2.ebuild 
b/sci-libs/cartopy/cartopy-0.20.2.ebuild
new file mode 100644
index ..10493288f17e
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sci-libs/geos
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[jpeg,${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+   dev-python/pyproj[${PYTHON_USEDEP}]
+   >=sci-libs/proj-8
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/flufl-lock[$PYTHON_USEDEP]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-03-29 Thread Thomas Beierlein
commit: 91081c55a118249339229acd798d69e655474223
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Mar 29 17:39:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Mar 29 17:45:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91081c55

sci-libs/cartopy: New package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest|  1 +
 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 
 sci-libs/cartopy/metadata.xml| 15 +++
 3 files changed, 81 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
new file mode 100644
index 000..b4a3dc8825c
--- /dev/null
+++ b/sci-libs/cartopy/Manifest
@@ -0,0 +1 @@
+DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
new file mode 100644
index 000..01048dc6aca
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}

diff --git a/sci-libs/cartopy/metadata.xml b/sci-libs/cartopy/metadata.xml
new file mode 100644
index 000..5bffb905015
--- /dev/null
+++ b/sci-libs/cartopy/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   tom...@gentoo.org
+   Thomas Beierlein
+   
+   
+   Cartopy is a Python package designed for geospatial data 
processing
+   in order to produce maps and other geospatial data analyses.
+   Key features of cartopy are its object oriented projection 
definitions, 
+   and its ability to transform points, lines, vectors, polygons 
and i
+   images between those projections.
+   
+



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-07-08 Thread Thomas Beierlein
commit: a39cdf38b71b038b7ae4de3f26c05f3a45b0f1f9
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Jul  8 17:36:48 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Jul  8 17:37:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39cdf38

sci-libs/cartopy: Version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/Manifest  |  1 +
 sci-libs/cartopy/cartopy-0.18.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index b4a3dc8825c..def25f78022 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1 +1,2 @@
+DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B 
bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc
 SHA512 
912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f
 DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 
5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4
 SHA512 
95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe

diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0.ebuild
new file mode 100644
index 000..0be07b47077
--- /dev/null
+++ b/sci-libs/cartopy/cartopy-0.18.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+inherit distutils-r1 virtualx
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python package for geospatial data processing and analysis"
+HOMEPAGE="https://scitools.org.uk/cartopy";
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   sci-libs/pyshp[${PYTHON_USEDEP}]
+   sci-libs/Shapely[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
+   sci-libs/gdal[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/proj
+"
+
+distutils_enable_tests pytest
+
+DEPEND+="test? (
+   dev-python/filelock[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+   # drop test file requiring network access, which got not covered by 
markers
+   rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
+   # prepare matplotlib backend for test suite
+   export MPLCONFIGDIR="${T}"
+   echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}"
+   # drop all tests needing network access
+   virtx pytest -vv -m "not network and not natural_earth" || die "test 
failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/

2020-04-23 Thread Thomas Beierlein
commit: 1b4fd280c17229c6d4cb804cc20e3363e70c7606
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Apr 23 16:17:33 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Apr 23 16:18:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4fd280

sci-libs/cartopy: Add support for Python3.7

py3.8 has to wait until deps are supporting it.

Closes: https://bugs.gentoo.org/718492
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Beierlein  gentoo.org>

 sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild 
b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
index 01048dc6aca..0be07b47077 100644
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
+++ b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit distutils-r1 virtualx
 
 MY_PV=${PV/_beta/b}



  1   2   >