Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140209 Details for
Bug 192785
sci-libs/sympy-0.5.12 (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sympy-0.5.10.ebuild
sympy-0.5.10.ebuild (text/plain), 2.65 KB, created by
Mateusz Paprocki
on 2008-01-05 17:19:34 UTC
(
hide
)
Description:
sympy-0.5.10.ebuild
Filename:
MIME Type:
Creator:
Mateusz Paprocki
Created:
2008-01-05 17:19:34 UTC
Size:
2.65 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >NEED_PYTHON=2.4 > >inherit distutils python multilib > >DESCRIPTION="Python library for symbolic mathematics" >HOMEPAGE="http://code.google.com/p/sympy/" >SRC_URI="http://sympy.googlecode.com/files/${P}.tar.gz" > >SLOT="0" > >LICENSE="BSD" >KEYWORDS="~amd64 ~x86" >IUSE="examples mathml gtk latex plot test" > >RDEPEND="mathml? ( > dev-libs/libxml2 > dev-libs/libxslt > ) > gtk? ( > !mathml? ( > dev-libs/libxml2 > dev-libs/libxslt > ) > x11-libs/gtkmathview > ) > latex? ( > virtual/tetex > app-text/dvipng > >=dev-python/pexpect-2.0 > ) > plot? ( > dev-python/pyopengl > dev-python/imaging > dev-python/ctypes > )" >DEPEND="test? ( >=dev-python/py-0.9.0 ) > ${RDEPEND}" > >PYTHON_MODNAME="sympy" > >pkg_setup() { > if use mathml || use gtk ; then > if ! built_with_use "dev-libs/libxml2" python ; then > eerror "dev-libs/libxml2 has to be compiled with 'python' USE-flag." > die "Needed USE-flag for dev-libs/libxml2 not found." > fi > > if ! built_with_use "dev-libs/libxslt" python ; then > eerror "dev-libs/libxslt has to be compiled with 'python' USE-flag." > die "Needed USE-flag for dev-libs/libxslt not found." > fi > fi > > if use gtk ; then > if ! built_with_use "x11-libs/gtkmathview" gtk ; then > eerror "x11-libs/gtkmathview has to be compiled with 'gtk' USE-flag." > die "Needed USE-flag for x11-libs/gtkmathview not found." > fi > fi >} > >src_install() { > distutils_src_install > > if use examples ; then > insinto /usr/share/doc/${PF} > doins -r examples > fi > > python_version > > # 'pyglet' is not yet available in portage tree > insinto ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/sympy/thirdparty > doins -r sympy/thirdparty/pyglet >} > >src_test() { > PYTHONPATH=build/lib/ "${python}" setup.py test || die "Unit tests failed!" >} > >pkg_postinst() { > python_version > > python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/sympy/ > > if ! has_version ">=dev-python/ipython-0.7.2" ; then > elog > elog "IPython 0.7.2 (or better) wasn't found on your system. It is" > elog "highly recommended that you install this package to optimize" > elog "your work with SymPy. To do so, you can run:" > elog > elog " emerge '>=dev-python/ipython-0.7.2'" > fi > > elog > elog "SymPy comes with a console that is a simple wrapper around the" > elog "classic python console (or ipython when available) that loads" > elog "the sympy namespace and executes some common commands for you." > elog > elog "To start it, issue:" > elog > elog " isympy" > elog > elog "For a brief introduction to SymPy visit:" > elog > elog " http://code.google.com/p/sympy/wiki/Tutorial" > elog >} > >pkg_postrm() { > python_mod_cleanup >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 192785
:
131131
| 140209 |
140218
|
142595