From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/basemap: ChangeLog basemap-1.0.1.ebuild basemap-0.99.4.ebuild |
Date: | Thu, 24 Feb 2011 00:56:45 |
Message-Id: | 20110224005630.578CD20054@flycatcher.gentoo.org |
1 | bicatali 11/02/24 00:56:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: basemap-1.0.1.ebuild |
5 | Removed: basemap-0.99.4.ebuild |
6 | Log: |
7 | Version bump |
8 | |
9 | (Portage version: 2.1.9.40/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.20 dev-python/basemap/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/ChangeLog?rev=1.20&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/ChangeLog?rev=1.20&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/ChangeLog?r1=1.19&r2=1.20 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v |
21 | retrieving revision 1.19 |
22 | retrieving revision 1.20 |
23 | diff -u -r1.19 -r1.20 |
24 | --- ChangeLog 12 Jul 2010 10:17:17 -0000 1.19 |
25 | +++ ChangeLog 24 Feb 2011 00:56:30 -0000 1.20 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for dev-python/basemap |
28 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.19 2010/07/12 10:17:17 arfrever Exp $ |
30 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.20 2011/02/24 00:56:30 bicatali Exp $ |
32 | + |
33 | +*basemap-1.0.1 (24 Feb 2011) |
34 | + |
35 | + 24 Feb 2011; Sébastien Fabbro <bicatali@g.o> -basemap-0.99.4.ebuild, |
36 | + +basemap-1.0.1.ebuild: |
37 | + Version bump |
38 | |
39 | 12 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
40 | basemap-1.0.ebuild: |
41 | |
42 | |
43 | |
44 | 1.1 dev-python/basemap/basemap-1.0.1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/basemap-1.0.1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/basemap/basemap-1.0.1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: basemap-1.0.1.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2011 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-1.0.1.ebuild,v 1.1 2011/02/24 00:56:30 bicatali Exp $ |
54 | |
55 | EAPI=3 |
56 | PYTHON_DEPEND="2" |
57 | SUPPORT_PYTHON_ABIS="1" |
58 | RESTRICT_PYTHON_ABIS="3.*" |
59 | |
60 | inherit eutils distutils |
61 | |
62 | DESCRIPTION="matplotlib toolkit to plot map projections" |
63 | HOMEPAGE="http://matplotlib.sourceforge.net/basemap/doc/html/ http://pypi.python.org/pypi/basemap" |
64 | SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz" |
65 | |
66 | IUSE="examples" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86" |
69 | LICENSE="MIT GPL-2" |
70 | |
71 | CDEPEND="sci-libs/shapelib |
72 | >=dev-python/matplotlib-0.98 |
73 | >=sci-libs/geos-3.1.1" |
74 | |
75 | DEPEND="${CDEPEND} |
76 | dev-python/setuptools" |
77 | |
78 | RDEPEND="${CDEPEND} |
79 | >=dev-python/pupynere-1.0.8 |
80 | dev-python/dap" |
81 | |
82 | DOCS="FAQ API_CHANGES" |
83 | |
84 | src_prepare() { |
85 | # use system libraries |
86 | epatch "${FILESDIR}"/${PN}-0.99.3-syslib.patch |
87 | epatch "${FILESDIR}"/${PN}-0.99.3-datadir.patch |
88 | rm -f lib/mpl_toolkits/basemap/pupynere.py || die |
89 | } |
90 | |
91 | src_install() { |
92 | distutils_src_install --install-data="${EPREFIX}/usr/share/${PN}" |
93 | |
94 | if use examples; then |
95 | insinto /usr/share/doc/${PF} |
96 | doins -r examples || die |
97 | fi |
98 | |
99 | # respect FHS |
100 | mv "${ED}$(python_get_sitedir -f)/mpl_toolkits/basemap/data" "${ED}usr/share/basemap" |
101 | |
102 | cleaning() { |
103 | # clean up collision with matplotlib |
104 | rm -f "${ED}$(python_get_sitedir)/mpl_toolkits/__init__.py" |
105 | # respect FHS |
106 | rm -fr "${ED}$(python_get_sitedir)/mpl_toolkits/basemap/data" |
107 | } |
108 | python_execute_function -q cleaning |
109 | } |