1 |
commit: 475e34a1fd166f02421f441c125d63771170e1bc |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 22 19:31:54 2021 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 22 19:32:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e34a1 |
7 |
|
8 |
sci-libs/cartopy: Drop old |
9 |
|
10 |
See also bug# 822819 |
11 |
|
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
14 |
|
15 |
sci-libs/cartopy/Manifest | 1 - |
16 |
sci-libs/cartopy/cartopy-0.18.0.ebuild | 67 ---------------------------------- |
17 |
2 files changed, 68 deletions(-) |
18 |
|
19 |
diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest |
20 |
index 0417f6eb7b58..57508390262e 100644 |
21 |
--- a/sci-libs/cartopy/Manifest |
22 |
+++ b/sci-libs/cartopy/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc SHA512 912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f |
25 |
DIST cartopy-0.19.0.tar.gz 11738107 BLAKE2B 129a32850947e3439505812655b0feb25f33e3b45a909be56a0093cba41acbf777be7e899b528cc910e044fc8844438283eff4d20a1433ab5ea3c58f240efa0f SHA512 5019c752fed18295048cdbe927e28040b61327414262c67c079572969e8ec3abd76f4cb0e6dd1f8ee4cfb88426cbd926ff9a2e934e8d47b8a3180bf748bd7364 |
26 |
|
27 |
diff --git a/sci-libs/cartopy/cartopy-0.18.0.ebuild b/sci-libs/cartopy/cartopy-0.18.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index ffeef0d90707..000000000000 |
30 |
--- a/sci-libs/cartopy/cartopy-0.18.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,67 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{7..9} ) |
39 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
- |
41 |
-inherit distutils-r1 virtualx |
42 |
- |
43 |
-MY_PV=${PV/_beta/b} |
44 |
-MY_P=${PN}-${MY_PV} |
45 |
- |
46 |
-DESCRIPTION="Python package for geospatial data processing and analysis" |
47 |
-HOMEPAGE="https://scitools.org.uk/cartopy" |
48 |
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
49 |
- |
50 |
-LICENSE="LGPL-3" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~amd64 ~x86" |
53 |
-IUSE="test" |
54 |
-RESTRICT="!test? ( test )" |
55 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- ${PYTHON_DEPS} |
59 |
- dev-python/numpy[${PYTHON_USEDEP}] |
60 |
- sci-libs/pyshp[${PYTHON_USEDEP}] |
61 |
- sci-libs/shapely[${PYTHON_USEDEP}] |
62 |
- dev-python/six[${PYTHON_USEDEP}] |
63 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
64 |
- dev-python/scipy[${PYTHON_USEDEP}] |
65 |
- dev-python/pillow[jpeg,${PYTHON_USEDEP}] |
66 |
- sci-libs/gdal[python,${PYTHON_USEDEP}] |
67 |
-" |
68 |
- |
69 |
-DEPEND="${RDEPEND} |
70 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
- dev-python/cython[${PYTHON_USEDEP}] |
72 |
- sci-libs/geos |
73 |
- sci-libs/proj |
74 |
-" |
75 |
- |
76 |
-distutils_enable_tests pytest |
77 |
- |
78 |
-DEPEND+="test? ( |
79 |
- dev-python/filelock[${PYTHON_USEDEP}] |
80 |
- dev-python/mock[${PYTHON_USEDEP}] |
81 |
- dev-python/pytest[${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 |
- # prepare matplotlib backend for test suite |
90 |
- export MPLCONFIGDIR="${T}" |
91 |
- echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die |
92 |
- distutils-r1_python_prepare_all |
93 |
-} |
94 |
- |
95 |
-python_test() { |
96 |
- cd "${BUILD_DIR}" |
97 |
- # drop all tests needing network access |
98 |
- virtx pytest -vv -m "not network and not natural_earth" || die "test failed" |
99 |
-} |