Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/basemap/
Date: Thu, 30 Apr 2020 10:14:41
Message-Id: 1588241657.532f70d23e4e9eabf26539ba3feddd7f07033c9a.asturm@gentoo
1 commit: 532f70d23e4e9eabf26539ba3feddd7f07033c9a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 10:12:50 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 10:14:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=532f70d2
7
8 dev-python/basemap: Remove last-rited package
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-python/basemap/Manifest | 1 -
13 dev-python/basemap/basemap-1.0.7-r4.ebuild | 81 ------------------------------
14 dev-python/basemap/metadata.xml | 19 -------
15 profiles/package.mask | 5 --
16 4 files changed, 106 deletions(-)
17
18 diff --git a/dev-python/basemap/Manifest b/dev-python/basemap/Manifest
19 deleted file mode 100644
20 index 2b0177cf887..00000000000
21 --- a/dev-python/basemap/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST basemap-1.0.7.tar.gz 129694711 BLAKE2B ec2159b01711584384d472205f8d3cadd06cfca07202421be534d7778f94000ccc9ae4b8e07a9fd595b7c06c335ec7af7ac2e9d84f7418bb0db1aeab67125559 SHA512 dc8ef8f02127813c9460c6a9c22c593616bbe8ff39f6507abb786d344c710b296bf4f21759b5c1e6fc8ccf3f478d8fb6f546429528575d13f732c4233aaf9c20
25
26 diff --git a/dev-python/basemap/basemap-1.0.7-r4.ebuild b/dev-python/basemap/basemap-1.0.7-r4.ebuild
27 deleted file mode 100644
28 index 0d90a1bf633..00000000000
29 --- a/dev-python/basemap/basemap-1.0.7-r4.ebuild
30 +++ /dev/null
31 @@ -1,81 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -DISTUTILS_SINGLE_IMPL=1
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit distutils-r1 flag-o-matic
41 -
42 -DESCRIPTION="matplotlib toolkit to plot map projections"
43 -HOMEPAGE="https://matplotlib.org/basemap/ https://pypi.org/project/basemap/"
44 -SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
45 -
46 -IUSE="examples test"
47 -SLOT="0"
48 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
49 -LICENSE="MIT GPL-2"
50 -
51 -DEPEND="sci-libs/shapelib
52 - $(python_gen_cond_dep '
53 - || (
54 - >=dev-python/matplotlib-python2-0.98[${PYTHON_MULTI_USEDEP}]
55 - >=dev-python/matplotlib-0.98[${PYTHON_MULTI_USEDEP}]
56 - )
57 - ')
58 - >=sci-libs/geos-3.3.1[python(-),${PYTHON_SINGLE_USEDEP}]"
59 -
60 -RDEPEND="${DEPEND}
61 - $(python_gen_cond_dep '
62 - >=dev-python/pupynere-1.0.8[${PYTHON_MULTI_USEDEP}]
63 - dev-python/httplib2[${PYTHON_MULTI_USEDEP}]
64 - dev-python/dap[${PYTHON_MULTI_USEDEP}]
65 - ')"
66 -
67 -DOCS="FAQ API_CHANGES"
68 -#REQUIRED_USE="test? ( examples )"
69 -# The test phase ought never have been onvoked according to the above.
70 -# The test phase appears to require the package to fist be emerged, which ...
71 -# Until the distutils_install_for_testing func refrains from failing with
72 -# mkdir: cannot create directory ‘/test’: Permission denied
73 -# reluctantly this phase is assigned
74 -RESTRICT="test"
75 -
76 -src_prepare() {
77 - sed -i \
78 - -e "s:/usr:${EPREFIX}/usr:g" \
79 - setup.py || die
80 - # use /usr/share/data
81 - sed -i \
82 - -e "/_datadir.*=.*join/s|\(.*datadir.*=\).*|\1'${EROOT}usr/share/${PN}'|g" \
83 - "${S}"/lib/mpl_toolkits/basemap/*.py || die
84 - distutils-r1_src_prepare
85 - append-flags -fno-strict-aliasing
86 -}
87 -
88 -#src_test() {
89 -# distutils_install_for_testing
90 -#}
91 -
92 -python_install() {
93 - # mpl_toolkits namespace provided by dev-python/matplotlib
94 - rm "${BUILD_DIR}/lib/mpl_toolkits/__init__.py" || die
95 - distutils-r1_python_install --skip-build
96 - # --install-data="${EPREFIX}/usr/share/${PN}" on testing is found not to work;
97 - # setup.py is a mess. Someone care to patch setup.py please proceed; substitute with
98 - insinto /usr/share/basemap/
99 - doins lib/mpl_toolkits/basemap/data/*
100 -
101 - # respect FHS
102 - rm -r "${D}$(python_get_sitedir)/mpl_toolkits/basemap/data" || die
103 -}
104 -
105 -python_install_all() {
106 - if use examples; then
107 - dodoc -r examples
108 - docompress -x /usr/share/doc/${PF}/examples
109 - fi
110 -
111 - distutils-r1_python_install_all
112 -}
113
114 diff --git a/dev-python/basemap/metadata.xml b/dev-python/basemap/metadata.xml
115 deleted file mode 100644
116 index c19fcc08285..00000000000
117 --- a/dev-python/basemap/metadata.xml
118 +++ /dev/null
119 @@ -1,19 +0,0 @@
120 -<?xml version="1.0" encoding="UTF-8"?>
121 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
122 -<pkgmetadata>
123 - <maintainer type="project">
124 - <email>python@g.o</email>
125 - <name>Python</name>
126 - </maintainer>
127 - <maintainer type="project">
128 - <email>sci-geosciences@g.o</email>
129 - <name>Gentoo Geosciences Project</name>
130 - </maintainer>
131 - <longdescription>
132 - basemap is a matplotlib toolkit. It allows to plot data on map
133 - projections (with continental and political boundaries).
134 - </longdescription>
135 - <upstream>
136 - <remote-id type="sourceforge">matplotlib</remote-id>
137 - </upstream>
138 -</pkgmetadata>
139
140 diff --git a/profiles/package.mask b/profiles/package.mask
141 index cbd1505d54d..1bd783a718b 100644
142 --- a/profiles/package.mask
143 +++ b/profiles/package.mask
144 @@ -654,11 +654,6 @@ sys-block/kvpm
145 # as a replacement with a sane upstream.
146 app-antivirus/clamav-unofficial-sigs
147
148 -# Andreas Sturmlechner <asturm@g.o> (2020-03-30)
149 -# Unmaintained revdep on dev-python/pygtk blocking its removal, py2-only
150 -# Bugs #484270 and #705646, masked for removal in 30 days.
151 -dev-python/basemap
152 -
153 # Chí-Thanh Christopher Nguyễn <chithanh@g.o> (2020-03-29)
154 # Old releases gone from upstream, new releases use overly restrictive
155 # license. For ancient scripts and symbols, use media-fonts/quivira instead.