summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-30 20:18:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-30 20:18:45 +0000
commit4722487c7d2402b51c95ee33ee3d3b97ad6c7a37 (patch)
treeab4257afbecffeced039ee6f56b95fe15956ef25 /dev-python/matplotlib
parentMake ebuild Prefix aware, transfer Prefix keywords, bug #321993 (diff)
downloadhistorical-4722487c7d2402b51c95ee33ee3d3b97ad6c7a37.tar.gz
historical-4722487c7d2402b51c95ee33ee3d3b97ad6c7a37.tar.bz2
historical-4722487c7d2402b51c95ee33ee3d3b97ad6c7a37.zip
Delete older ebuild.
Diffstat (limited to 'dev-python/matplotlib')
-rw-r--r--dev-python/matplotlib/Manifest1
-rw-r--r--dev-python/matplotlib/matplotlib-0.99.1.1.ebuild184
2 files changed, 0 insertions, 185 deletions
diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest
index 169b0952f75a..8b783961dda9 100644
--- a/dev-python/matplotlib/Manifest
+++ b/dev-python/matplotlib/Manifest
@@ -4,6 +4,5 @@ AUX matplotlib-0.99.1.1-libpng14.patch 404 RMD160 c259f9acb51b9981da68f14268d0c4
AUX matplotlib-0.99.1.1-prefix.patch 1374 RMD160 f30e66336d6e51414babc63f0cc1e79319f27a3a SHA1 8201f7f5f4ce788aac91acc8cdd1d0ff43ae6a93 SHA256 0cf04d6d5124793af0e89bbf7aa20d821dccb5b7b95eb04aeeaa2723a48345ff
DIST matplotlib-0.99.1.1.tar.gz 11905737 RMD160 2bd025944eab18d41ddf9f521c00a1f065346738 SHA1 57b5f1e3f0c8866af99f72fca06b4e529acba31d SHA256 1b94b4632ee4dcd41862f2a2e90fdca8f2e6fb108700c06a16e764782da49041
EBUILD matplotlib-0.99.1.1-r1.ebuild 5485 RMD160 9e7db22133575c4d8ee6a3f017efab263c8cc2fb SHA1 f0b72e875dca012d6e79fdea8ac15a6642913689 SHA256 218a3bc10766a9190b9cb044863a2028f32b6099db6b4eded1997abe794d93d2
-EBUILD matplotlib-0.99.1.1.ebuild 5138 RMD160 e7e0126e5102c58615250b3bf0b5c8b5479a3909 SHA1 3aacd08ce76e944e149263b25c8b687598628f3a SHA256 6ce2d5b3a878f157e05414d3e2f602bcd308be6f3870e5ae18c011ca8c7555fa
MISC ChangeLog 16567 RMD160 fa9ee7c6c31dce4df710ca2b6d930d46c3c57086 SHA1 3881b106f15da299456c13b799f88c2c67460775 SHA256 c332bd9fb809ca109c6106c0407b721ad15f49f67f78311391ef46e7985bbca5
MISC metadata.xml 640 RMD160 5a3412572c06b5f54b7570a6d42e503b5711b8b9 SHA1 dbdefc26499cd67470a363f54fcb928f2f510fcf SHA256 6643fb3ec5019f58c1a7af76a25d791f1109c37929b3332ddbe1a2911f5de3b4
diff --git a/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild b/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild
deleted file mode 100644
index 0fe4b19e36ca..000000000000
--- a/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild,v 1.13 2010/03/26 17:19:45 spatz 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/ http://pypi.python.org/pypi/matplotlib"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-IUSE="cairo doc excel examples fltk gtk latex qt4 traits tk wxwidgets"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-LICENSE="PYTHON BSD"
-
-CDEPEND=">=dev-python/numpy-1.1
- dev-python/python-dateutil
- dev-python/pytz
- media-libs/freetype:2
- media-libs/libpng
- gtk? ( dev-python/pygtk )
- tk? ( dev-lang/python[tk] )
- wxwidgets? ( dev-python/wxpython:2.8 )"
-
-DEPEND="${CDEPEND}
- dev-python/pycxx
- dev-util/pkgconfig
- doc? (
- >=dev-python/sphinx-0.5.1
- || (
- >=media-gfx/graphviz-2.24.0[cairo]
- <media-gfx/graphviz-2.24.0[cairo,png]
- )
- || ( ( dev-texlive/texlive-latexextra
- dev-texlive/texlive-latexrecommended )
- ( app-text/ptex dev-tex/latex-unicode ) )
- app-text/dvipng
- dev-python/imaging
- dev-python/ipython )"
-
-RDEPEND="${CDEPEND}
- virtual/ttf-fonts
- media-fonts/texcm-ttf
- cairo? ( dev-python/pycairo )
- excel? ( dev-python/xlwt )
- fltk? ( dev-python/pyfltk )
- qt4? ( dev-python/PyQt4[X] )
- traits? ( dev-python/traits dev-python/configobj )
- latex? (
- virtual/latex-base
- app-text/ghostscript-gpl
- app-text/dvipng
- >=app-text/poppler-0.12.3-r3[utils]
- || ( dev-texlive/texlive-fontsrecommended
- app-text/ptex ) )"
-
-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() {
- # avoid to launch xv while building examples docs
- epatch "${FILESDIR}"/${PN}-0.98.5.2-no-xv.patch
-
- # removes hardcoded lib paths, should not break non-Prefix, more
- # likely to fix it in case of multilib
- epatch "${FILESDIR}"/${P}-prefix.patch
- epatch "${FILESDIR}"/${PN}-0.99.0-freebsd7+.patch
-
- # 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 wxwidgets wx)
- $(use_setup qt4)
- $(use_setup fltk)
- $(use_setup cairo)
- EOF
-
- # 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:
- # - mpl-data in /usr/share/matplotlib
- # - 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 = '${EPREFIX}/etc/matplotlib':" \
- -e "s:os.path.dirname(__file__):'${EPREFIX}/usr/share/${PN}':g" \
- lib/matplotlib/{__init__,config/cutils}.py \
- || die "sed init for FHS failed"
-
- # remove internal copies of fonts, pycxx, pyparsing
- rm -rf \
- CXX \
- lib/matplotlib/mpl-data/fonts/{afm,pdfcorefonts} \
- lib/matplotlib/mpl-data/fonts/ttf/{Vera*,cm*,*.TXT} \
- || die "removed internal copies failed"
- python_version
- ln -s "${EPREFIX}"/usr/share/python${PYVER}/CXX . || die
-
- # remove pyparsing only when upstream pyparsing included matplotlib
- # fixes. See bug #260025
- #rm -f lib/matplotlib/pyparsing.py
-}
-
-src_compile() {
- unset DISPLAY # bug #278524
- distutils_src_compile
- if use doc; then
- cd "${S}/doc"
- export VARTEXFONTS="${T}"/fonts
- # no die function here: broken compilation at the end, do it twice,
- # result ok.
- MATPLOTLIBDATA="${S}/lib/matplotlib/mpl-data" \
- PYTHONPATH=$(dir -d "${S}"/build/lib*) \
- ${python} make.py html
- MATPLOTLIBDATA="${S}/lib/matplotlib/mpl-data" \
- PYTHONPATH=$(dir -d "${S}"/build/lib*) \
- ${python} make.py
- fi
-}
-
-src_test() {
- einfo "Tests are quite long, be patient"
- cd "${S}/examples/tests"
- PYTHONPATH=$(dir -d "${S}"/build/lib*) ${python} backend_driver.py agg \
- || die "tests failed"
- PYTHONPATH=$(dir -d "${S}"/build/lib*) ${python} backend_driver.py \
- --clean
-}
-
-src_install() {
- [[ -z ${ED} ]] && local ED=${D}
- distutils_src_install
-
- # respect FHS
- dodir /usr/share/${PN}
- mv "${ED}"/usr/*/*/site-packages/${PN}/{mpl-data,backends/Matplotlib.nib} \
- "${ED}"/usr/share/${PN} || die "failed renaming"
- insinto /etc/matplotlib
- doins matplotlibrc matplotlib.conf \
- || die "installing config files failed"
-
- # doc and examples
- insinto /usr/share/doc/${PF}
- if use doc; then
- doins doc/build/latex/Matplotlib.pdf || die
- doins -r doc/build/html || die
- fi
- if use examples; then
- doins -r examples || die
- fi
-}