diff options
Diffstat (limited to 'dev-python/anygui/anygui-0.1.ebuild')
-rw-r--r-- | dev-python/anygui/anygui-0.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/anygui/anygui-0.1.ebuild b/dev-python/anygui/anygui-0.1.ebuild new file mode 100644 index 000000000000..af583f2e0d63 --- /dev/null +++ b/dev-python/anygui/anygui-0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Tod Neidt <tneidt@fidnet.com> +#$Header $ + +S=${WORKDIR}/${P} +DESCRIPTION="Generic GUI Module for Python" +SRC_URI="http://prdownloads.sourceforge.net/anygui/${P}.tar.gz" +HOMEPAGE="http://anygui.sourceforge.net/" + +DEPEND=">=dev-lang/python-2.0 + sys-libs/ncurses + qt? ( dev-python/PyQt ) + gtk? ( dev-python/pygtk ) + tcltk? ( dev-lang/tk-8.3.3 ) + wxwin? ( dev-python/wxPython )" + +# Propsed wxwin use variable for wxGTK for wxWindows? ( dev-python/wxPython ) *NOT* official +#future: +# also use variable fltk for fltk? ( dev-python/PyFLTK ) no ebuild for PyFLTK yet +# java? ( dev-python/jython ) Java Swing (javagui) http://www.jython.org + +src_compile() { + + python setup.py build || die "Python Build Failed" + +} + +src_install() { + + python setup.py install --prefix=${D}/usr || die "Python Install Failed" + + dodoc CHANGELOG.txt INSTALL.txt KNOWN_BUGS.txt LICENSE.txt \ + MAINTAINERS.txt PKG-INFO README.txt TODO.txt VERSION.txt + +} |