Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cartopy/
Date: Fri, 01 Apr 2022 09:09:26
Message-Id: 1648804142.d22495ce0800c24eab85baf0cec845a1cd1d1982.tomjbe@gentoo
1 commit: d22495ce0800c24eab85baf0cec845a1cd1d1982
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 09:09:02 2022 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 09:09:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22495ce
7
8 sci-libs/cartopy: drop 0.19.0, 0.20.1
9
10 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
11
12 sci-libs/cartopy/Manifest | 1 -
13 sci-libs/cartopy/cartopy-0.19.0.ebuild | 69 ---------------------------------
14 sci-libs/cartopy/cartopy-0.20.1.ebuild | 70 ----------------------------------
15 3 files changed, 140 deletions(-)
16
17 diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
18 index e401f3bb438c..4e9c493bc31c 100644
19 --- a/sci-libs/cartopy/Manifest
20 +++ b/sci-libs/cartopy/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f SHA512 5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364
23 DIST cartopy-0.20.1.tar.gz 10704635 BLAKE2B 29ff571a4dccfe71585d6da4d11730fdb7d1b4bf28e9e16a7e928dc154a1fb74169fb122bf9dd2ebbc8b1a3d2ff4cd4591ec2afaa7eb9728ce1ae8a66facff1c SHA512 fe846fcaa8860f5bee4c478aa8a2125dad19d0d7988d10ee587590834728708f2a015104852d4320ba4d2367b78bad36cbdaa2b48cb6ed5b7b4d4e06a86e20d2
24 DIST cartopy-0.20.2.tar.gz 10703222 BLAKE2B 18763971b33704c526bc98dede60077382de1e6855bd5dcc8901d729b9400eb2a3fdb2e6e2bd9b705ad2d43ab089e4837f12b7dc465429f1cdede21f174f8ef4 SHA512 1208c11a4b6d4b01b7ed7459ced7d79b0b60abc7be0f88562aa0d3826ac6bcebfe51cdf68213fd668353f4c269eb2c10fc2bf15e9db0b4c5802f629b76be3761
25
26 diff --git a/sci-libs/cartopy/cartopy-0.19.0.ebuild b/sci-libs/cartopy/cartopy-0.19.0.ebuild
27 deleted file mode 100644
28 index 613c5da6a598..000000000000
29 --- a/sci-libs/cartopy/cartopy-0.19.0.ebuild
30 +++ /dev/null
31 @@ -1,69 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -
39 -inherit distutils-r1 virtualx
40 -
41 -MY_PV=${PV/_beta/b}
42 -MY_P=${PN}-${MY_PV}
43 -
44 -DESCRIPTION="Python package for geospatial data processing and analysis"
45 -HOMEPAGE="https://scitools.org.uk/cartopy"
46 -SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="LGPL-3"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -IUSE="test"
52 -RESTRICT="!test? ( test )"
53 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 -
55 -RDEPEND="
56 - ${PYTHON_DEPS}
57 - dev-python/numpy[${PYTHON_USEDEP}]
58 - sci-libs/pyshp[${PYTHON_USEDEP}]
59 - sci-libs/shapely[${PYTHON_USEDEP}]
60 - dev-python/six[${PYTHON_USEDEP}]
61 - dev-python/matplotlib[${PYTHON_USEDEP}]
62 - dev-python/scipy[${PYTHON_USEDEP}]
63 - dev-python/pillow[jpeg,${PYTHON_USEDEP}]
64 - sci-libs/gdal[python,${PYTHON_USEDEP}]
65 -"
66 -
67 -DEPEND="${RDEPEND}
68 - dev-python/setuptools[${PYTHON_USEDEP}]
69 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
70 - dev-python/cython[${PYTHON_USEDEP}]
71 - sci-libs/geos
72 - <sci-libs/proj-8
73 -"
74 -
75 -distutils_enable_tests pytest
76 -
77 -DEPEND+="test? (
78 - dev-python/filelock[${PYTHON_USEDEP}]
79 - dev-python/mock[${PYTHON_USEDEP}]
80 - dev-python/pytest[${PYTHON_USEDEP}]
81 - dev-python/flufl-lock[$PYTHON_USEDEP]
82 - )"
83 -
84 -S="${WORKDIR}"/${MY_P}
85 -
86 -python_prepare_all() {
87 - # drop test file requiring network access, which got not covered by markers
88 - rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
89 - rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
90 - # prepare matplotlib backend for test suite
91 - export MPLCONFIGDIR="${T}"
92 - echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
93 - distutils-r1_python_prepare_all
94 -}
95 -
96 -python_test() {
97 - cd "${BUILD_DIR}"
98 - # drop all tests needing network access
99 - virtx pytest -vv -m "not network and not natural_earth" || die "test failed"
100 -}
101
102 diff --git a/sci-libs/cartopy/cartopy-0.20.1.ebuild b/sci-libs/cartopy/cartopy-0.20.1.ebuild
103 deleted file mode 100644
104 index 1fa38c496b97..000000000000
105 --- a/sci-libs/cartopy/cartopy-0.20.1.ebuild
106 +++ /dev/null
107 @@ -1,70 +0,0 @@
108 -# Copyright 1999-2021 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=8
112 -
113 -PYTHON_COMPAT=( python3_{7..10} )
114 -
115 -inherit distutils-r1 virtualx
116 -
117 -MY_PV=${PV/_beta/b}
118 -MY_P=${PN}-${MY_PV}
119 -
120 -DESCRIPTION="Python package for geospatial data processing and analysis"
121 -HOMEPAGE="https://scitools.org.uk/cartopy"
122 -SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
123 -
124 -LICENSE="LGPL-3"
125 -SLOT="0"
126 -KEYWORDS="~amd64 ~x86"
127 -IUSE="test"
128 -RESTRICT="!test? ( test )"
129 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
130 -
131 -RDEPEND="
132 - ${PYTHON_DEPS}
133 - dev-python/numpy[${PYTHON_USEDEP}]
134 - sci-libs/pyshp[${PYTHON_USEDEP}]
135 - sci-libs/shapely[${PYTHON_USEDEP}]
136 - dev-python/six[${PYTHON_USEDEP}]
137 - dev-python/matplotlib[${PYTHON_USEDEP}]
138 - dev-python/scipy[${PYTHON_USEDEP}]
139 - dev-python/pillow[jpeg,${PYTHON_USEDEP}]
140 - sci-libs/gdal[python,${PYTHON_USEDEP}]
141 -"
142 -
143 -DEPEND="${RDEPEND}
144 - dev-python/setuptools[${PYTHON_USEDEP}]
145 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
146 - dev-python/cython[${PYTHON_USEDEP}]
147 - sci-libs/geos
148 - >=sci-libs/proj-8
149 - dev-python/pyproj[${PYTHON_USEDEP}]
150 -"
151 -
152 -distutils_enable_tests pytest
153 -
154 -DEPEND+="test? (
155 - dev-python/filelock[${PYTHON_USEDEP}]
156 - dev-python/mock[${PYTHON_USEDEP}]
157 - dev-python/pytest[${PYTHON_USEDEP}]
158 - dev-python/flufl-lock[$PYTHON_USEDEP]
159 - )"
160 -
161 -S="${WORKDIR}"/${MY_P}
162 -
163 -python_prepare_all() {
164 - # drop test file requiring network access, which got not covered by markers
165 - rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
166 - rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
167 - # prepare matplotlib backend for test suite
168 - export MPLCONFIGDIR="${T}"
169 - echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
170 - distutils-r1_python_prepare_all
171 -}
172 -
173 -python_test() {
174 - cd "${BUILD_DIR}"
175 - # drop all tests needing network access
176 - virtx pytest -vv -m "not network and not natural_earth" || die "test failed"
177 -}