1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit distutils multilib
9 DESCRIPTION="A 3-tier, cross-platform application development framework written in Python/wxPython"
10 HOMEPAGE="http://dabodev.com/"
11 SRC_URI="http://cdn.cloudfiles.mosso.com/c118811/${PN}/${P}-mac-nix.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND=">=dev-python/setuptools-0.6_alpha9"
20 RDEPEND=">=dev-python/wxpython-2.6.1.1
22 dev-lang/python[sqlite]
23 ide? ( dev-python/imaging dev-python/reportlab )"
30 dodoc ANNOUNCE AUTHORS ChangeLog README TODO || die
34 INS="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/ide"
37 doins -r * || die "IDE installation failed!"
39 # pick out those files which should be executable
40 for EFIL in $(grep -RI '^#!' * | cut -d : -f 1 | grep -iv '\.txt$')
42 # and if there are any - install them
43 exeinto "${INS}/$(dirname ${EFIL})"
44 doexe "${EFIL}" || die