diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-12-15 11:41:12 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-12-15 11:41:12 +0000 |
commit | 27820aedf831b960d40395d368014120b606ab40 (patch) | |
tree | a5c422d3977fcb3dddb1aa3c991b7c6fd6595471 | |
parent | Version bump. (diff) | |
download | historical-27820aedf831b960d40395d368014120b606ab40.tar.gz historical-27820aedf831b960d40395d368014120b606ab40.tar.bz2 historical-27820aedf831b960d40395d368014120b606ab40.zip |
Version bump
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.25-gentoo-r7 x86_64
-rw-r--r-- | dev-python/matplotlib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/matplotlib/Manifest | 11 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-0.98.5.ebuild | 119 |
3 files changed, 133 insertions, 5 deletions
diff --git a/dev-python/matplotlib/ChangeLog b/dev-python/matplotlib/ChangeLog index a5629796137c..df670070db82 100644 --- a/dev-python/matplotlib/ChangeLog +++ b/dev-python/matplotlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/matplotlib # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/ChangeLog,v 1.52 2008/12/11 19:28:24 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/ChangeLog,v 1.53 2008/12/15 11:41:12 bicatali Exp $ + +*matplotlib-0.98.5 (15 Dec 2008) + + 15 Dec 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + +matplotlib-0.98.5.ebuild: + Version bump *matplotlib-0.98.4 (11 Dec 2008) diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index 4dbe4b1ef8c1..a8fd0998d803 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -6,19 +6,22 @@ DIST matplotlib-0.91.2.tar.gz 6457944 RMD160 dfffd6d4925d96ccffdc45e5da4e8426d24 DIST matplotlib-0.91.4.tar.gz 4098254 RMD160 39f19915cd4627c3fb8af46ae40d94478b2700f3 SHA1 8975dbaada2a578c6ae07bb484b31730d2e0f7c8 SHA256 cd4bf6ae4f95348a7dba3cddf289c951dfe7391bbcc65fdcc46094c21a0edef7 DIST matplotlib-0.98.3.tar.gz 5287541 RMD160 960356e1822aec9f196f60337730c0bc6d3531d6 SHA1 9d3ded193cdbebf7d02aaf48372359eb3621a3eb SHA256 4ac17ea9c551ebd5aacc4fe235daffdfba4bf255deb947e4ddbfd82e8eb5390f DIST matplotlib-0.98.4.tar.gz 9406439 RMD160 cd0a8be26296eb30fb7e0ab506c8145228152a84 SHA1 68f99ff3e9a68a1ed94f4c275ef231c1ac84e96f SHA256 149a656f0824b24981e1ffc0cdabcb6e4a40c88477fd91548d068587a1658f13 +DIST matplotlib-0.98.5.tar.gz 9414926 RMD160 7a5bb9367e5d9398c1a869f92b7839ce4a2edcaa SHA1 b494ccceba1d9f7ab531dca80446f81a52e6430e SHA256 cad7b91e24199d3a09da9618e44f2a28897aba257de74eda9d1e1ad08879292d DIST users_guide_0.91.2svn.pdf 3154057 RMD160 ce09b3470221852c36e9a7611f5a138b270c377e SHA1 9e87ce31c3e93a4323cb76868bb96e8d350d9942 SHA256 b53a56fee48eb52302a1a29ef5f2aabacb62868c36d2a5912dfc5860bc991ba1 DIST users_guide_0.98.3.pdf 3154057 RMD160 ce09b3470221852c36e9a7611f5a138b270c377e SHA1 9e87ce31c3e93a4323cb76868bb96e8d350d9942 SHA256 b53a56fee48eb52302a1a29ef5f2aabacb62868c36d2a5912dfc5860bc991ba1 DIST users_guide_0.98.4.pdf 10654316 RMD160 8de6ffd75a72b2ba484a07f1e6b9222c5dbbb749 SHA1 1aaaa605ccc1321cb1df4dd039ec12bcf5118bf4 SHA256 48dde045de4e4a0c9689e81d79af657d7aaa845aceeac06b83ef60bbee5030b3 +DIST users_guide_0.98.5.pdf 9800498 RMD160 fd0c6e0b1927f2eedf93fa56ce87e0f21f162136 SHA1 d028665d5ed48ba70b6a2f1bf4b55710829e6416 SHA256 9827a48551c3667bde3403aef34b6c289e674ade346af6ead09a8a95758cf846 EBUILD matplotlib-0.91.2.ebuild 3242 RMD160 acf139fe0fdea107a98c53241090ac5dfee813b0 SHA1 0d31edc94b0bf59aa1d1f7401cad7eb89b2da7c0 SHA256 6baeb575c511381626009889e1e740a16b83bfd15b11437100e1c4f02069bb5c EBUILD matplotlib-0.91.4.ebuild 3266 RMD160 359278283166254daf40007539d70a013e52f245 SHA1 8b34906dc62a4a1f001d57ea5b6133bc1bf3b8dc SHA256 a70038af83e8eea4f8c72fd4054d764512f6189534266ac7f18996e7da4542f5 EBUILD matplotlib-0.98.3.ebuild 3252 RMD160 ca446d355932477e7f393e1860c82859c1689718 SHA1 57b242821251e6d5d49cc60fdcb49ca41ff84850 SHA256 b6b09499f6e56044f3b3823a51afe1f89a4cf23fd9681bd8c7b884a941e511b4 EBUILD matplotlib-0.98.4.ebuild 3207 RMD160 8479865ad4b6083174d31e3780eab12e5588a424 SHA1 4730f64b9827f630a932500859577d7dda9650c5 SHA256 63bac7ec60c57c2a6ef6306c9fa5f2a0843fa294644514b425fe06673bc69e27 -MISC ChangeLog 10358 RMD160 c527dca2d4ccd5145fbf65d9366304dbcf394177 SHA1 5220ea2c706ea6a832ecb84b0e50b79978debec3 SHA256 44f3ed01e27ee6182264b8da899a9532321d8ebe142ace85999ede3634693cb1 +EBUILD matplotlib-0.98.5.ebuild 3207 RMD160 07ae453a2c54375ec31c90f97e78355da873dca5 SHA1 152bdb2e6fe1425c96b3c28fa2b054c53f031fff SHA256 27a57b6f6bac531a13a68cfb43225196c2ecb5dc47c70470bd69b6f52bd8dc90 +MISC ChangeLog 10492 RMD160 7fd80a8a11936e129f1f1f519a4a44d4a3499284 SHA1 f8026e78c3dbab80bbf23d238d9c20c2f06151f7 SHA256 247654cd174c8f77dcdbd8c0801ccf898e70ae0387d78408579df71b3fb7041b MISC metadata.xml 444 RMD160 cb8f621a40a15e3502f39427d1bc6f444d18db50 SHA1 b7bfc90fa1c27164482a298c9dcd83d4582c5df8 SHA256 d5f68bb842f76dca541f06e792eedd22b3367e7b05552f766686029cafd18e6b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAklBaeEACgkQ1ycZbhPLE2AmRgCfb+rHCcEDtDQYJY+f3WWSrxES -7aUAoICV570sNSngz7/PB95gHePJd+TI -=Qobo +iEYEARECAAYFAklGQmgACgkQ1ycZbhPLE2CL+gCgjx8Idnmq8TQ76d/9Qwsei2M/ +8xsAoIW8aTLJA0Kdxq1ePrB//mfefjpI +=kUTN -----END PGP SIGNATURE----- diff --git a/dev-python/matplotlib/matplotlib-0.98.5.ebuild b/dev-python/matplotlib/matplotlib-0.98.5.ebuild new file mode 100644 index 000000000000..180ea3f3db9a --- /dev/null +++ b/dev-python/matplotlib/matplotlib-0.98.5.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-0.98.5.ebuild,v 1.1 2008/12/15 11:41:12 bicatali Exp $ + +WX_GTK_VER=2.8 +EAPI=2 +inherit eutils distutils wxwidgets + +PDOC="users_guide_${PV}" + +DESCRIPTION="Pure python plotting library with matlab like syntax" +HOMEPAGE="http://matplotlib.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + doc? ( http://matplotlib.sourceforge.net/Matplotlib.pdf -> ${PDOC}.pdf )" + +IUSE="cairo doc examples fltk gtk latex qt3 qt4 tk wxwindows" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="PYTHON BSD stix bakoma" + +DEPEND=">=dev-python/numpy-1.1 + >=media-libs/freetype-2 + media-libs/libpng + dev-python/pytz + dev-python/python-dateutil + gtk? ( dev-python/pygtk ) + tk? ( dev-lang/python[tk] ) + wxwindows? ( dev-python/wxpython:2.8 )" + +RDEPEND="${DEPEND} + || ( media-fonts/ttf-bitstream-vera media-fonts/dejavu ) + latex? ( virtual/latex-base + virtual/ghostscript + app-text/dvipng + app-text/poppler ) + cairo? ( dev-python/pycairo ) + fltk? ( dev-python/pyfltk ) + qt3? ( dev-python/PyQt ) + qt4? ( dev-python/PyQt4 )" + +DOCS="INTERACTIVE" + +use_setup() { + local uword="${2}" + [ -z "${2}" ] && uword="${1}" + if use ${1}; then + echo "${uword} = True" + echo "${uword}agg = True" + else + echo "${uword} = False" + echo "${uword}agg = False" + fi +} + +src_prepare() { + # create setup.cfg (see setup.cfg.template for any changes) + cat > setup.cfg <<-EOF + [provide_packages] + pytz = False + dateutil = False + configobj = False + enthought.traits = False + [gui_support] + $(use_setup gtk) + $(use_setup tk) + $(use_setup wxwindows wx) + $(use_setup qt3 qt) + $(use_setup qt4) + $(use_setup fltk) + $(use_setup cairo) + EOF + + # sed to avoid checks needing a X display + sed -i \ + -e "s/check_for_gtk()/$(use gtk && echo True || echo False)/" \ + -e "s/check_for_tk()/$(use tk && echo True || echo False)/" \ + setup.py || die "sed setup.py failed" + + # respect FHS: put mpl-data in /usr/share/matplotlib + # and config files in /etc/matplotlib + sed -i \ + -e "/'mpl-data\/matplotlibrc',/d" \ + -e "/'mpl-data\/matplotlib.conf',/d" \ + -e "s:'lib/matplotlib/mpl-data/matplotlibrc':'matplotlibrc':" \ + -e "s:'lib/matplotlib/mpl-data/matplotlib.conf':'matplotlib.conf':" \ + setup.py \ + || die "sed setup.py for FHS failed" + + sed -i \ + -e "s:path = get_data_path():path = '/etc/matplotlib':" \ + -e "s:os.path.dirname(__file__):'/usr/share/${PN}':g" \ + lib/matplotlib/{__init__,config/cutils}.py \ + || die "sed init for FHS failed" + + # remove vera fonts (they are now a dependency) + cd lib/matplotlib/mpl-data + rm -f ttf/Vera*.ttf ttf/*.TXT ttf/local.conf pdfcorefonts/readme.txt +} + +src_install() { + distutils_src_install + + # respect FHS + dodir /usr/share/${PN} + mv "${D}"/usr/*/*/site-packages/${PN}/{mpl-data,backends/Matplotlib.nib} \ + "${D}"/usr/share/${PN} || die "failed renaming" + + insinto /etc/matplotlib + doins matplotlibrc matplotlib.conf \ + || die "installing config files failed" + + insinto /usr/share/doc/${PF} + if use doc; then + doins "${DISTDIR}"/${PDOC}.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} |