diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2005-04-20 05:53:10 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2005-04-20 05:53:10 +0000 |
commit | a528515406faf353a8c59d324524538048b3c5c6 (patch) | |
tree | 81b1325ca46717d1db01d2ad32bf63a3f6c898f4 /dev-util/spe/spe-0.7.1a.ebuild | |
parent | Better fix for the last issue. (diff) | |
download | gentoo-2-a528515406faf353a8c59d324524538048b3c5c6.tar.gz gentoo-2-a528515406faf353a8c59d324524538048b3c5c6.tar.bz2 gentoo-2-a528515406faf353a8c59d324524538048b3c5c6.zip |
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-util/spe/spe-0.7.1a.ebuild')
-rw-r--r-- | dev-util/spe/spe-0.7.1a.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/spe/spe-0.7.1a.ebuild b/dev-util/spe/spe-0.7.1a.ebuild new file mode 100644 index 000000000000..84bdba69a05b --- /dev/null +++ b/dev-util/spe/spe-0.7.1a.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/spe-0.7.1a.ebuild,v 1.1 2005/04/20 05:53:10 kloeri Exp $ + +inherit distutils eutils + +MY_P="SPE-0.5.1.f-wx2.4.2.4.-bl2.31" +#MY_P2="SPE-0.5.1.d-wx2.4.2.4.-bl2.31" +DESCRIPTION="Python IDE with Blender support" +HOMEPAGE="http://spe.pycs.net/" +SRC_URI="http://projects.blender.org/download.php/162/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" +# Upstream have mismatched versions when unpacked.. +S="${WORKDIR}/${MY_P/1.f/1.d}" + +DEPEND=">=virtual/python-2.2.3-r1" + +RDEPEND=">=dev-python/wxpython-2.4.2.4 + >=dev-util/wxglade-0.3.2 + >=dev-python/pychecker-0.8.13 + ${DEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/spe_setup.patch || die "patch failed." +} + +src_install() { + distutils_src_install + distutils_python_version + SITEPATH="/usr/lib/python${PYVER}/site-packages" + + dobin spe + rm -rf "${D}${SITEPATH}/_spe/plugins/wxGlade" + rm -rf "${D}${SITEPATH}/_spe/plugins/pychecker" + ln -svf "../../wxglade" "${D}${SITEPATH}/_spe/plugins/wxGlade" + dodir "${SITEPATH}/wxglade" + touch "${D}${SITEPATH}/wxglade/__init__.py" + ln -svf "../../pychecker" "${D}${SITEPATH}/_spe/plugins/pychecker" +} + +pkg_postinst() { + distutils_python_version + SPEPATH="/usr/lib/python${PYVER}/site-packages" + + einfo " " + einfo "To be able to use spe in blender, be sure that the path where spe is" + einfo "installed ($SPEPATH) is included in your PYTHONPATH" + einfo "environment variable. See the installation section in the manual for" + einfo "more information ($SPEPATH/_spe/doc/manual.pdf)." + einfo " " +} |