diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-12-18 12:54:30 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-12-18 12:54:30 +0000 |
commit | 959ea77b96d398b19465d611b59a304a39d830db (patch) | |
tree | ef2424d68fdf840e6fea2edb6eb35b274e94a3bf | |
parent | add support for glusterfs, bug #532632 (diff) | |
download | historical-959ea77b96d398b19465d611b59a304a39d830db.tar.gz historical-959ea77b96d398b19465d611b59a304a39d830db.tar.bz2 historical-959ea77b96d398b19465d611b59a304a39d830db.zip |
remove some old
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
-rw-r--r-- | dev-python/matplotlib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/matplotlib/Manifest | 18 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-1.2.0-r2.ebuild | 203 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-1.2.1.ebuild | 201 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-1.3.1.ebuild | 239 |
5 files changed, 16 insertions, 651 deletions
diff --git a/dev-python/matplotlib/ChangeLog b/dev-python/matplotlib/ChangeLog index 4481fd7a5f4f..717af8d64de3 100644 --- a/dev-python/matplotlib/ChangeLog +++ b/dev-python/matplotlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/matplotlib # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/ChangeLog,v 1.175 2014/12/05 05:08:01 heroxbd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/ChangeLog,v 1.176 2014/12/18 12:54:02 idella4 Exp $ + + 18 Dec 2014; Ian Delaney <idella4@gentoo.org> -matplotlib-1.2.0-r2.ebuild, + -matplotlib-1.2.1.ebuild, -matplotlib-1.3.1.ebuild: + remove some old 05 Dec 2014; Benda Xu <heroxbd@gentoo.org> matplotlib-1.4.2.ebuild: Tune dependencies of matplotlib-1.4.2: according to INSTALL in the tarball, it diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index 78feb83889fe..d4c3bf569d13 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX matplotlib-1.1.1-ft-refcount.patch 1849 SHA256 4368439bce9f956ffad3cf4551103e077e433761a2d20976d9d45c2b3a84838a SHA512 6e596e7c0d2d37b4d878d36c42f33272f22ba0c25e80b8038b08ec3793d15d3d2ff88c4777fd12d36fd277374d1a1fc78424f1e6c7ccabc29230e8205cdf4d06 WHIRLPOOL 435527651c7eb3e1cf1ae5d66d8e09783564e4a53bb6aa84f7c65467a04f615ea4285c428074b97c87455f09789ffe9937436c324231379e720ec28f9ce30306 AUX matplotlib-1.2.0-ft-refcount.patch 1474 SHA256 53ac19eb195afc55173aee7617ebf2b7ca44e93943ee3713e9e62a1d959828b1 SHA512 9195c3046c6d2673d748f1864bfcf3fb6851260cd94f05ebf5241089d4c3b17af6f0dfc52875aa914d51ef79512ba686cc040958e2b4d6892a6a11a19c35b162 WHIRLPOOL ec1303427385fc697edff451576a7d5261a39e8134807be1a8a257077296d5171adf870826e8a0c96313c014e7f698cbed8c21a67a887d4479e33402842e07ea AUX matplotlib-1.2.0-setup.patch 1283 SHA256 e078b2385dc0b882a7df1a13df070ad5ec704e9e18df2f19bd642c7ae40e8a97 SHA512 8741bd303f5483daf971120c5ae6f35ca568128481ab5b98a94a0391afb0f8802c8b885675d13bf8bfbfbfe650bf33c6330195adc87b54278839032f9d15ebb8 WHIRLPOOL eeb0db8a14f33ccfe82ab677c27f92456dd8255b9c0d352d1496b5ab1f9336e643698435d96b6ff2a3657445737105eb060158014001cd0cc3d894c391111ce9 @@ -5,19 +8,20 @@ AUX matplotlib-1.3.0-setup_without_X11.patch 1349 SHA256 8161427194cbb28840153b6 AUX matplotlib-1.3.1-unbundle-agg.patch 976 SHA256 1c22a991be0d0cecf9e5a0c3ab74aeb8951844dc480635c9da814a8c6e5ee6da SHA512 2e5a9045b69fd7f84fe0540aae6bde26b34db4dae29b725dc811b054f16e671f64345d28473f83861b0cfc0b14d2dd833ef188b3ba44c955db46475668c96786 WHIRLPOOL 5a26d99451fbdb1218e12ec9d5ebe6bf23f43eb4acf4019af9fde4ecb3eb67127d446112868836cc4165d65a403cf825a630c822e1e6466516b6549849849642 AUX matplotlib-1.3.1-unbundle-pycxx.patch 734 SHA256 ab33e8ba4879cd11c3e41394ae53566b2496c695328d9f498dd629124127fabf SHA512 4accb71a4b608c31637de354c2f6331dd69e98c352db059d0f1d3c0ade90b6fe11cdd3bfe799eabf7c52fa26e1fb81499064b15c07c34751ee6059c110956576 WHIRLPOOL 7b8c8ba9f93f282664b716358e57f61e18a022a80cdeea86d86dc8a907f1354ad8ddf8c3463ed8cfea10d0b1e0aeeacd58681b079cf2a931c9d24dc5b9f01497 DIST matplotlib-1.1.1.tar.gz 33704843 SHA256 63b275eb8d98903264557ffbd6ec0fee2c31b5badb3678fce1ac7044594620ab SHA512 838977c1f57f9cfd10a3cd8935a5640bca25135b2176cb83286f309d57690cca7d6ec78c552c04067b3ded10f0358b92bb2387c018ecdb38ac30f661c4a67588 WHIRLPOOL d0fcc5a7f4d54c12a5b227b78b3977bb6822a61cf50f17d057458dab616ca293201d78e3ec5f1cb8722ee8a262ae2a252cb967a6bf24f7803841fb24831c4a96 -DIST matplotlib-1.2.0.tar.gz 36893347 SHA256 48fdb3b8f27010bc81ccf3925032768d499f82be979d9b6edccc4e2cced4dcaf SHA512 5b1a0fb52dcb21ca5f0ab71c8a49550e1e8cf633552ec6598dc43f0b32c03422bf5af65b30118c163231ecdddfd40846909336f16da318959106076e80a3fad0 WHIRLPOOL 586001ebb8e03bba9c83d30cc875db564d8c7091e086e343a8221123f2ccb3252110a3e2962045ba3a7bddc0b1362fba375f3138f8ae50dcc25338f60c8bf4a0 -DIST matplotlib-1.2.1.tar.gz 38446200 SHA256 52e18972aed85f30b05cef41778ec77685df6012f0598cd216e996de9b9ea29b SHA512 497f91725eaf361bdb9bdf38db2bff5068a77038f1536df193db64c9b887e3b0d967486daee722eda6e2c4e60f034eee030673e53d07bf0db0f3f7c0ef3bd208 WHIRLPOOL 9760409051c567411520a5fb26f38cbe8bf1d62353cf82b32b3bdf3ab41f24964632fff68d9dda120bb0be8442a8661e2887383e6d9aaef41b39e8762819e99c DIST matplotlib-1.3.0.tar.gz 42098180 SHA256 3e37044911245d7d881ddab0152cfec463c597b9a207c7f87021b8f40e1cbd98 SHA512 990e3a155ca7a9d329c41a43b44a9625f717205e81157c668a8f3f2ad5459ed3fed8c9bd85e7f81c509e0628d2192a262d4aa30c8bfc348bb67ed60a0362505a WHIRLPOOL f144b12ec8c0900ae20d39e0b01376ba52886dd7ded2d0b36a16ff0d59c0f9af946c95e3bb3fec7e4a589326ec6986afee70ff0905739e1912469122f45029a6 -DIST matplotlib-1.3.1.tar.gz 42163182 SHA256 ea16679d9476ab2757102e80327f31eb8e6c2cb09e2be89715c02e4e8fbdaf6a SHA512 04877aa15b6d52a6f813e8377098d13c432f66ae2522c544575440180944c9b73a2164ae63edd3a0eff807883bf7b39cd55f28454ccee8c76146567ff4a6fd40 WHIRLPOOL 18ba178eeef46e38d2c904e1be30a37e99321331ed47a7e63f592acb10f2a6c855be5dd600afcfc7cefaf9952acbc0a993e1d39b74287316abcb57b97e353261 DIST matplotlib-1.4.0.tar.gz 51153512 SHA256 6d670d0e7a0967ff92c8f8127440b7c533b22bc484b0b6b4d24548ab0d6a3da3 SHA512 41d4bc5a201cd28554fda321fe3ba8e70acf9d3d538ff3ea47795c2a48d88256fcdd0b43ada65220ef1c82b8c2d44953fe4f6f5c6a486380b9fe12b783cfbdf4 WHIRLPOOL e8b74e9be0c1a02439d7c1328c8316b4770ef5e35aa93974ff1c0146554a8da9978a60731947a810c33fe96490dd86ad5d95e9efe921eba926648d7cfba7af32 DIST matplotlib-1.4.2.tar.gz 50139344 SHA256 17a3c7154f152d8dfed1f37517c0a8c5db6ade4f6334f684989c36dab84ddb54 SHA512 3525f4e6414042fabf8d18ce9041d61197465dc07c766730c187a512277907ba33f56d49d5a468d82f65bce57217e8eb48ecfa143e55152a15607b79a7b25adc WHIRLPOOL ce6e5a15676b939bda7ad1be0f27766314f60ed44ebfba1e73d2c3d00a31d5492722cde73f943de72da038772519068602e60c830af9ffdf52710a24ce98fe7a EBUILD matplotlib-1.1.1.ebuild 4202 SHA256 571c120562f5dc8c0cf6a912b94ece8ad7f248a702263fb4c6d5fd22ba100690 SHA512 a29c07693d3302e4698dea93e3f4542dbfd6e55c52621edd6b9141b01a877c46b36a93d0a7874e1c7980a207ec5e6d2b0ac504d27c86b028ede554105e0fcbc0 WHIRLPOOL 91cf73fa5083d0169c7aaf3ccac0b6f9df3cc1241d4d722a3b30fb65cc89cf795e3cfa9f9a91f1aead56ad65fd93c149b7e884fc14d3c831b54a058657fc1f39 -EBUILD matplotlib-1.2.0-r2.ebuild 5003 SHA256 2df599dcbce052f60ee308f440fd7ec29c97b204bb785ae4211fee82de17d15c SHA512 7e7a8244fd05f80b09b09f2fd67bc9862e41fad010fd66b4877c0841a8f65291de8841605e74489d32890ecd3893705754a3e0702583d831f009fc25accf33e5 WHIRLPOOL 16194124e57510f73305394e0eb57c121a9822bc28d62ea54a3663e92d68a5b7ab6666e594747ac74332d1614eaf7377702fec1258e5038955684c6f066df11e -EBUILD matplotlib-1.2.1.ebuild 4899 SHA256 246d68dea72420a3896b065c04b340b21feb909c0614710d77134c230b7ae679 SHA512 9ea65dd6636cb831d4b1c5d070db1280061c5af74a442106c46831ca816d816281c9d651cb32ac0559a65236fce6236a0d2a44556188de8ac2a4b7dc373f7471 WHIRLPOOL 55146ba68c426b8c5ea80eed62b0f7505b8c10605617a76b5b9b9b833dc9a4341810f373f0f7894a49392ce95f589467157bf99cfe6839dd2cb7a75d325d496d EBUILD matplotlib-1.3.0.ebuild 4937 SHA256 beec481e7376cb0380f5426b164890bde020c6aa598365cee4b1754e53ebc814 SHA512 fc1fb53fe74cfcb4c68bc7f5c68783a3d06a474f6fc771ea8b49fdcada8f01a0dd5fa6d1e7f88f64b17c65f465229845a247e5bb24399bd9dff32965be29ba57 WHIRLPOOL c47391fc1427e9295246af2277c786d937f7d98190b35f8e01f653dc74db41e27fed5a52aeff33ac9be96c97d7b5e234f468c264b360bea0a4207f6f962c40bd -EBUILD matplotlib-1.3.1.ebuild 5792 SHA256 25a194d82ded675068b4b922553416e8c2ab2875663cc781597fce6104592a1c SHA512 828ca1208805f394a2da4be0147e3e49c8cbbac7f56b62fe61f54ff68d151514662106e87c267d9486d26c9e1aa9a783d929117443bbaa119787a4f5bbfb7805 WHIRLPOOL 6d5afeefc18413f9a09e5d779e59890d38bd400555fe12592d269e0bdc7e2eb02df1eb487ff623cf6f563ce95d7ee2875ae5d4fcadb1bb69e58675ebd50c16cb EBUILD matplotlib-1.4.0.ebuild 5862 SHA256 091a7df947bf8b2f247fae42b696b11201f116d9c5aca15a34c7b1cfdaa2a589 SHA512 e8ccb015a0ae78871feff016a8b7dbd4ad0fce2533cf3b74094c6a3e83d2b84905fa574f996375022e7595242b61a90fe128305d011f1cad29e33ace10490852 WHIRLPOOL 9182c44ac047bf967f2bfaeed2af9aadfa146c764c2e97776ca726e3fe6048e0188f4018989d68a25e14aefeed0f0a5a5080bbdc8a8f902571998d150d82d975 EBUILD matplotlib-1.4.2.ebuild 5866 SHA256 5acd7fcc3cfd42bf9650f408779218e87e7f56aed75c0bc8d1faac209283eb9d SHA512 49d834ad3976fe8f99471ddf6931fd2f642d743de323e12374b8853d61940a4c41fb39bffbee9cfae584701b1e5ac00caa4aeb998994e4d83d6c2f1a515aa3ee WHIRLPOOL 74d73985ef8b5f75b9110de9efa50c58ad7bf951eb2f76f2031793f5a19fe7c5fce7b6308bc8468b45a8dd8a9765a55233c357fb4f69bdcd2dfbee37b81218b2 EBUILD matplotlib-9999.ebuild 5667 SHA256 016c0a74b2250169f956f507c36cd36604b648f25b03b1d0fe7577713034cb8b SHA512 b547985872a301edad15094841e2e4b1bb6c1d373d9a9b03c0d898221c4f757c7013121d6cdccb8dd5ae2adf65e25e802a37b8d45fa0a71cc33119d99e7cae78 WHIRLPOOL a0f7b22e3b45ad82f84949ea5d56cb113f64699069847a9e709377d9c92e0647acab674f016066b0a401cff76211dd861703d785dcc1c29714e1bc55be6e858b -MISC ChangeLog 31711 SHA256 ab529d4c8c38267fb781bab41be3fb12f747560d5b1e2f2229b960bfe4df8dfb SHA512 a676e0ea84217d85214b593fe8229b9daf81d573a53ac41855382ed00195e74057c0a947e9bbc3d0e345c34cf44702bc593609298d45b037563a876951bec885 WHIRLPOOL f388f0cfc7d8c238149dd020b19aeb820411488497141eeaa6a3527ddd718b8b091bf48a4890e058b9f1047e7818c5973908273ae44ce33e73ae40a51a06b5c2 +MISC ChangeLog 31861 SHA256 8f48b292e65645442c8fd9d54c17bf8eb49f201603cbef17580bee0d92a8b4e3 SHA512 8279dbaf764d678d3d49b6ed81f08012d68cab3f1fdf0c439264f19051db8df1c1bae3bfd53f96d55a84494ae1faf747b13f5fae7e0b8b80f6e394b4450dda9f WHIRLPOOL 83b8738bd4d44432931a7de9349723337b5d1c2e317168524471b47a26bfc08d72cb4c8aa1299355ee009c1d0bb547ff150ff2436d15ee7ead86d89487fed711 MISC metadata.xml 789 SHA256 12569e0385ec9776d695440fced8b0a13ab2b9fed065e764797dd8b6a48c6740 SHA512 aa78de21b25acdcb7fffdabca04dbd3ea4e1f34d85a1da7e78c877c5dd73d116f02687c756a2591dcd969220b398c01580b226978a46640b0e8862415c80fb4c WHIRLPOOL 310bfcb051f4cb9de04eef34754efe3fdf5777f3dec7d233833eaf31c882a4ae0f0bd850a3c0716ab37ac43f3960a95e769b355c739d9feb014ba933816c8e0d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlSSzn0ACgkQso7CE7gHKw12iwCgwlt2LJ82WP+o2tKXYExMD/j2 +dJMAn3rQwCLs2z4QBEdvVUOc3zubHZrb +=vfol +-----END PGP SIGNATURE----- diff --git a/dev-python/matplotlib/matplotlib-1.2.0-r2.ebuild b/dev-python/matplotlib/matplotlib-1.2.0-r2.ebuild deleted file mode 100644 index b4a406c768b9..000000000000 --- a/dev-python/matplotlib/matplotlib-1.2.0-r2.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-1.2.0-r2.ebuild,v 1.16 2014/11/23 16:36:23 floppym Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_2,3_3} ) -PYTHON_REQ_USE='tk?' - -inherit distutils-r1 eutils flag-o-matic - -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE="http://matplotlib.org/ http://pypi.python.org/pypi/matplotlib" -SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz" - -IUSE="cairo doc excel examples fltk gtk gtk3 latex qt4 test tk wxwidgets" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" - -# #456704 -- a lot of py2-only deps -PY2_USEDEP=$(python_gen_usedep 'python2*') -COMMON_DEPEND="dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng - gtk? ( dev-python/pygtk[${PY2_USEDEP}] ) - wxwidgets? ( dev-python/wxpython:2.8[${PY2_USEDEP}] )" - -# internal copy of pycxx highly patched -# dev-python/pycxx - -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - doc? ( - app-text/dvipng - virtual/python-imaging[${PYTHON_USEDEP}] - dev-python/ipython - dev-python/xlwt[${PY2_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - media-gfx/graphviz[cairo] - ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -RDEPEND="${COMMON_DEPEND} - dev-python/pyparsing[${PYTHON_USEDEP}] - cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) - excel? ( dev-python/xlwt[${PY2_USEDEP}] ) - fltk? ( dev-python/pyfltk[${PY2_USEDEP}] ) - gtk3? ( dev-python/pygobject:3[${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] ) - latex? ( - virtual/latex-base - app-text/ghostscript-gpl - app-text/dvipng - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - ) - qt4? ( || ( dev-python/PyQt4[X,${PYTHON_USEDEP}] dev-python/pyside[X,${PYTHON_USEDEP}] ) )" - -PY2_FLAGS="|| ( $(python_gen_useflags python2*) )" -REQUIRED_USE="doc? ( ${PY2_FLAGS} ) - excel? ( ${PY2_FLAGS} ) - fltk? ( ${PY2_FLAGS} ) - gtk? ( ${PY2_FLAGS} ) - wxwidgets? ( ${PY2_FLAGS} )" - -RESTRICT="mirror" - -# A few C++ source files are written to srcdir. -# Other than that, the ebuild shall be fit for out-of-source build. -DISTUTILS_IN_SOURCE_BUILD=1 - -use_setup() { - local uword="${2:-${1}}" - if use ${1}; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { - # remove internal copies of pyparsing - rm lib/matplotlib/pyparsing{_py2,_py3}.py || die - - sed -i -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - - local PATCHES=( - # avoid checks needing a X display - "${FILESDIR}"/${P}-setup.patch - - # Fix test, issue no. 1532 - "${FILESDIR}"/${P}-ft-refcount.patch - ) - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<-EOF || die - [provide_packages] - pytz = False - dateutil = False - [gui_support] - $(use_setup cairo) - $(use_setup qt4) - $(use_setup tk) - EOF - - if [[ ${EPYTHON} == python3* ]]; then - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die - six = True - fltk = False - fltkagg = False - gtk = False - gtkagg = False - wx = False - wxagg = False - EOF - else - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die - six = False - $(use_setup fltk) - $(use_setup gtk) - $(use_setup wxwidgets wx) - EOF - fi -} - -wrap_setup() { - local MPLSETUPCFG=${BUILD_DIR}/setup.cfg - export MPLSETUPCFG - - # Note: remove build... if switching to out-of-source build - "${@}" build --build-lib="${BUILD_DIR}"/build/lib -} - -python_compile() { - wrap_setup distutils-r1_python_compile -} - -python_compile_all() { - if use doc; then - cd doc || die - - # necessary for in-source build - local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH} - - unset DISPLAY # bug #278524 - VARTEXFONTS="${T}"/fonts \ - "${PYTHON}" ./make.py --small html || die - fi -} - -python_test() { - wrap_setup distutils_install_for_testing - - cd "${TMPDIR}" || die - "${PYTHON}" -c " -import sys, matplotlib as m -sys.exit(0 if m.test(verbosity=2) else 1) -" || die "Tests fail with ${EPYTHON}" -} - -python_install() { - wrap_setup distutils-r1_python_install -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-python/matplotlib/matplotlib-1.2.1.ebuild b/dev-python/matplotlib/matplotlib-1.2.1.ebuild deleted file mode 100644 index 7c565fbc9fe0..000000000000 --- a/dev-python/matplotlib/matplotlib-1.2.1.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-1.2.1.ebuild,v 1.8 2014/11/23 16:36:23 floppym Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_2,3_3} ) -PYTHON_REQ_USE='tk?' - -inherit distutils-r1 eutils flag-o-matic - -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE="http://matplotlib.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -IUSE="cairo doc excel examples fltk gtk gtk3 latex qt4 test tk wxwidgets" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" - -# #456704 -- a lot of py2-only deps -PY2_USEDEP=$(python_gen_usedep 'python2*') -COMMON_DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng - gtk? ( dev-python/pygtk[${PY2_USEDEP}] ) - wxwidgets? ( dev-python/wxpython:2.8[${PY2_USEDEP}] )" - -# internal copy of pycxx highly patched -# dev-python/pycxx - -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - doc? ( - app-text/dvipng - virtual/python-imaging[${PYTHON_USEDEP}] - dev-python/ipython - dev-python/xlwt[${PY2_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - media-gfx/graphviz[cairo] - ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -RDEPEND="${COMMON_DEPEND} - dev-python/pyparsing[${PYTHON_USEDEP}] - cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) - excel? ( dev-python/xlwt[${PY2_USEDEP}] ) - fltk? ( dev-python/pyfltk[${PY2_USEDEP}] ) - gtk3? ( dev-python/pygobject:3[${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] ) - latex? ( - virtual/latex-base - app-text/ghostscript-gpl - app-text/dvipng - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - ) - qt4? ( || ( dev-python/PyQt4[X,${PYTHON_USEDEP}] dev-python/pyside[X,${PYTHON_USEDEP}] ) )" - -PY2_FLAGS="|| ( $(python_gen_useflags python2*) )" -REQUIRED_USE="doc? ( ${PY2_FLAGS} ) - excel? ( ${PY2_FLAGS} ) - fltk? ( ${PY2_FLAGS} ) - gtk? ( ${PY2_FLAGS} ) - wxwidgets? ( ${PY2_FLAGS} )" - -RESTRICT="mirror" - -# A few C++ source files are written to srcdir. -# Other than that, the ebuild shall be fit for out-of-source build. -DISTUTILS_IN_SOURCE_BUILD=1 - -use_setup() { - local uword="${2:-${1}}" - if use ${1}; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { - # remove internal copies of pyparsing - rm lib/matplotlib/pyparsing{_py2,_py3}.py || die - - sed -i -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - - local PATCHES=( - # avoid checks needing a X display - "${FILESDIR}"/${PN}-1.2.0-setup.patch - ) - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<-EOF || die - [provide_packages] - pytz = False - dateutil = False - [gui_support] - $(use_setup cairo) - $(use_setup qt4) - $(use_setup tk) - EOF - - if [[ ${EPYTHON} == python3* ]]; then - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die - six = True - fltk = False - fltkagg = False - gtk = False - gtkagg = False - wx = False - wxagg = False - EOF - else - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die - six = False - $(use_setup fltk) - $(use_setup gtk) - $(use_setup wxwidgets wx) - EOF - fi -} - -wrap_setup() { - local MPLSETUPCFG=${BUILD_DIR}/setup.cfg - export MPLSETUPCFG - - # Note: remove build... if switching to out-of-source build - "${@}" build --build-lib="${BUILD_DIR}"/build/lib -} - -python_compile() { - wrap_setup distutils-r1_python_compile -} - -python_compile_all() { - if use doc; then - cd doc || die - - # necessary for in-source build - local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH} - - unset DISPLAY # bug #278524 - VARTEXFONTS="${T}"/fonts \ - "${PYTHON}" ./make.py --small html || die - fi -} - -python_test() { - wrap_setup distutils_install_for_testing - - cd "${TMPDIR}" || die - "${PYTHON}" -c " -import sys, matplotlib as m -sys.exit(0 if m.test(verbosity=2) else 1) -" || die "Tests fail with ${EPYTHON}" -} - -python_install() { - wrap_setup distutils-r1_python_install -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-python/matplotlib/matplotlib-1.3.1.ebuild b/dev-python/matplotlib/matplotlib-1.3.1.ebuild deleted file mode 100644 index 1ec6db2a3fac..000000000000 --- a/dev-python/matplotlib/matplotlib-1.3.1.ebuild +++ /dev/null @@ -1,239 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-1.3.1.ebuild,v 1.7 2014/11/23 16:36:23 floppym Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) - -PYTHON_REQ_USE='tk?' - -VIRTUALX_REQUIRED="always" - -inherit distutils-r1 eutils flag-o-matic virtualx - -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE="http://matplotlib.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -SLOT="0" -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="cairo doc excel examples fltk gtk gtk3 latex pyside qt4 test tk wxwidgets" - -# #456704 -- a lot of py2-only deps -PY2_USEDEP=$(python_gen_usedep 'python2*') -COMMON_DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-dateutil:0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - gtk? ( x11-libs/gtk+:2 - dev-libs/glib - x11-libs/gdk-pixbuf - dev-python/pygtk[${PY2_USEDEP}] ) - wxwidgets? ( >=dev-python/wxpython-2.8[${PY2_USEDEP}] )" - -# internal copy of pycxx highly patched -# dev-python/pycxx - -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - doc? ( - app-text/dvipng - virtual/python-imaging[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/numpydoc[${PY2_USEDEP}] - dev-python/xlwt[${PY2_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - media-gfx/graphviz[cairo] - ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -RDEPEND="${COMMON_DEPEND} - dev-python/pyparsing[${PYTHON_USEDEP}] - cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) - excel? ( dev-python/xlwt[${PY2_USEDEP}] ) - fltk? ( dev-python/pyfltk[${PY2_USEDEP}] ) - gtk3? ( - dev-python/pygobject:3[${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] ) - latex? ( - virtual/latex-base - app-text/ghostscript-gpl - app-text/dvipng - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-xetex - ) - pyside? ( dev-python/pyside[X,${PYTHON_USEDEP}] ) - qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )" - -PY2_FLAGS="|| ( $(python_gen_useflags python2*) )" -REQUIRED_USE=" - doc? ( ${PY2_FLAGS} ) - excel? ( ${PY2_FLAGS} ) - fltk? ( ${PY2_FLAGS} ) - gtk? ( ${PY2_FLAGS} ) - wxwidgets? ( ${PY2_FLAGS} ) - test? ( - cairo fltk latex pyside qt4 tk wxwidgets - || ( gtk gtk3 ) - )" - -RESTRICT="mirror" - -# A few C++ source files are written to srcdir. -# Other than that, the ebuild shall be fit for out-of-source build. -DISTUTILS_IN_SOURCE_BUILD=1 - -use_setup() { - local uword="${2:-${1}}" - if use ${1}; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - sed \ - -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - -i lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - - # suggested by upstream - sed \ - -e '/tol/s:32:35:g' \ - -i lib/matplotlib/tests/test_mathtext.py || die - - if use gtk || use gtk3; then - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die - fi - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<-EOF - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [gui_support] - agg = True - $(use_setup cairo) - $(use_setup pyside) - $(use_setup qt4) - $(use_setup tk) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi - - if $(python_is_python3); then - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF - six = True - fltk = False - fltkagg = False - gtk = False - gtkagg = False - wx = False - wxagg = False - EOF - else - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF - six = False - $(use_setup fltk) - $(use_setup gtk) - $(use_setup gtk3) - $(use_setup wxwidgets wx) - EOF - fi -} - -wrap_setup() { - local MPLSETUPCFG=${BUILD_DIR}/setup.cfg - export MPLSETUPCFG - - # Note: remove build... if switching to out-of-source build - "${@}" build --build-lib="${BUILD_DIR}"/build/lib -} - -python_compile() { - VIRTUALX_COMMAND="wrap_setup distutils-r1_python_compile" - virtualmake -} - -python_compile_all() { - if use doc; then - cd doc || die - - # necessary for in-source build - local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH} - - unset DISPLAY # bug #278524 - VARTEXFONTS="${T}"/fonts \ - "${PYTHON}" ./make.py --small html || die - fi -} - -python_test() { - wrap_setup distutils_install_for_testing - - cd "${TMPDIR}" || die - VIRTUALX_COMMAND="${PYTHON}" - virtualmake -c "import sys, matplotlib as m; sys.exit(0 if m.test(verbosity=2) else 1)" || \ - die "Tests fail with ${EPYTHON}" -} - -python_install() { - wrap_setup distutils-r1_python_install -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} |