1 |
commit: 57333166649c9919657df04486f025867bf95eec |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 17:37:51 2020 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 17:38:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57333166 |
7 |
|
8 |
sci-libs/cartopy: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
12 |
|
13 |
sci-libs/cartopy/Manifest | 1 - |
14 |
sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild | 65 ---------------------------- |
15 |
2 files changed, 66 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest |
18 |
index def25f78022..15559100d5e 100644 |
19 |
--- a/sci-libs/cartopy/Manifest |
20 |
+++ b/sci-libs/cartopy/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST cartopy-0.18.0.tar.gz 14191937 BLAKE2B bb10791ef2534dad404cc492e378161a4a078813b09d6e2c16d0d465c7dcfbaa7f24d3818cfe0f1f46e7683bdf2e00440640534835ce064492d5321489e355bc SHA512 912d5ab57c96b9e6c51b3ad26f94d77e495eb9c3a8fb8a68bdd957c11b1bc8a3ddc97e76e0d8a5ec9afca9302b01fe5753f4208ec3829df8741ee0ebbaafe30f |
23 |
-DIST cartopy-0.18.0_beta1.tar.gz 14215372 BLAKE2B 5bb1e98f18fdf57c0459202bfe77d4e4a476a3008e2f21a77cf643711cc3c438626915c31ee48886e980466f952985503987e3ed571295e2beb6c12754b382c4 SHA512 95d3bd87e57bea89eb2c25d6a709285ba59fb0f994abc3b37faf29b272b73647d0bc8979a25b1480f48bb55c957f4183ac3c3ad49b830ce686e931227c797abe |
24 |
|
25 |
diff --git a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild b/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 0be07b47077..00000000000 |
28 |
--- a/sci-libs/cartopy/cartopy-0.18.0_beta1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,65 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{6,7} ) |
37 |
-inherit distutils-r1 virtualx |
38 |
- |
39 |
-MY_PV=${PV/_beta/b} |
40 |
-MY_P=${PN}-${MY_PV} |
41 |
- |
42 |
-DESCRIPTION="Python package for geospatial data processing and analysis" |
43 |
-HOMEPAGE="https://scitools.org.uk/cartopy" |
44 |
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-3" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~x86" |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- ${PYTHON_DEPS} |
55 |
- dev-python/numpy[${PYTHON_USEDEP}] |
56 |
- sci-libs/pyshp[${PYTHON_USEDEP}] |
57 |
- sci-libs/Shapely[${PYTHON_USEDEP}] |
58 |
- dev-python/six[${PYTHON_USEDEP}] |
59 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
60 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
61 |
- dev-python/pillow[${PYTHON_USEDEP}] |
62 |
- sci-libs/gdal[python,${PYTHON_USEDEP}] |
63 |
-" |
64 |
- |
65 |
-DEPEND="${RDEPEND} |
66 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
- dev-python/cython[${PYTHON_USEDEP}] |
68 |
- sci-libs/geos |
69 |
- sci-libs/proj |
70 |
-" |
71 |
- |
72 |
-distutils_enable_tests pytest |
73 |
- |
74 |
-DEPEND+="test? ( |
75 |
- dev-python/filelock[${PYTHON_USEDEP}] |
76 |
- dev-python/mock[${PYTHON_USEDEP}] |
77 |
- dev-python/pytest[${PYTHON_USEDEP}] |
78 |
- )" |
79 |
- |
80 |
-S="${WORKDIR}"/${MY_P} |
81 |
- |
82 |
-python_prepare_all() { |
83 |
- # drop test file requiring network access, which got not covered by markers |
84 |
- rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die |
85 |
- # prepare matplotlib backend for test suite |
86 |
- export MPLCONFIGDIR="${T}" |
87 |
- echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die |
88 |
- distutils-r1_python_prepare_all |
89 |
-} |
90 |
- |
91 |
-python_test() { |
92 |
- cd "${BUILD_DIR}" |
93 |
- # drop all tests needing network access |
94 |
- virtx pytest -vv -m "not network and not natural_earth" || die "test failed" |
95 |
-} |