# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ S=${WORKDIR}/PythonCardPrototype-0.6.9 DESCRIPTION="Cross-platform GUI construction kit for python" SRC_URI="mirror://sourceforge/pythoncard/PythonCardPrototype-0.6.9.tar.gz" HOMEPAGE="http://pythoncard.sourceforge.net/index.html" DEPEND=">=dev-lang/python-2.2 >=dev-python/wxPython-2.3.2.1-r2" RDEPEND="${DEPEND}" SLOT="0" KEYWORDS="x86" LICENSE="PYTHON" # The CNRI Python License src_compile() { python setup.py build || die } src_install() { python setup.py install --prefix=${D}/usr || die "Python Install Failed" dodoc README.txt README_StyleEditor.txt #grab python verision so ebuild doesn't depend on it local pv pv=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:') }