# ChangeLog for dev-util/spe
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/ChangeLog,v 1.12 2004/07/12 01:06:24 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/ChangeLog,v 1.13 2004/10/02 15:32:53 kloeri Exp $
+
+*spe-0.5.1f (02 Oct 2004)
+
+ 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> spe-0.5.1d.ebuild,
+ +spe-0.5.1f.ebuild:
+ Stable 0.5.1d and add new version.
12 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> -spe-0.4.2c.ebuild:
Remove old version.
-MD5 d88fed632e44e9aa0bdfb1f3f02d2061 spe-0.5.1d.ebuild 1547
-MD5 0613d707335acfeb06b0a238e7674e73 ChangeLog 1584
-MD5 6ebeaaff1d72f4b710a98339cbf235fc metadata.xml 372
+MD5 69bcb1593a44da2552632587bc710f6a spe-0.5.1d.ebuild 1546
+MD5 242147aeddbb3584fdf929c2b8476460 spe-0.5.1f.ebuild 1669
MD5 8527d184a4526c21f70121beeb67a663 spe-0.5.1a.ebuild 1092
+MD5 6ebeaaff1d72f4b710a98339cbf235fc metadata.xml 372
+MD5 e8049d3e461f7c9397db0ec8bd62410b ChangeLog 1742
MD5 84b0a8b787ec8c3b89836eb571eda5f9 files/spe_setup.patch 277
+MD5 0465e3df590b254707522e5b1d2eb64c files/digest-spe-0.5.1f 82
MD5 666d9771d3bb00e2801ad24e472ec7d3 files/digest-spe-0.5.1a 82
MD5 d7b222aad27177169608286ea0e18ac9 files/digest-spe-0.5.1d 82
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/spe-0.5.1d.ebuild,v 1.6 2004/07/03 12:20:34 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/spe-0.5.1d.ebuild,v 1.7 2004/10/02 15:32:53 kloeri Exp $
inherit distutils eutils
SRC_URI="http://projects.blender.org/download.php/162/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ~ppc"
IUSE=""
S="${WORKDIR}/${MY_P}"
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/spe-0.5.1f.ebuild,v 1.1 2004/10/02 15:32:53 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 " "
+}