diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2005-10-14 21:40:42 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2005-10-14 21:40:42 +0000 |
commit | c6fe2d0a78e923a042b463b3e3914ed52c751e77 (patch) | |
tree | 4c1e330c4138d72975207339f7787cc80cfb94fb /dev-util/spe | |
parent | Stable on x86; bug #108939 (diff) | |
download | gentoo-2-c6fe2d0a78e923a042b463b3e3914ed52c751e77.tar.gz gentoo-2-c6fe2d0a78e923a042b463b3e3914ed52c751e77.tar.bz2 gentoo-2-c6fe2d0a78e923a042b463b3e3914ed52c751e77.zip |
Fix world-writable files.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'dev-util/spe')
-rw-r--r-- | dev-util/spe/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/spe/Manifest | 13 | ||||
-rw-r--r-- | dev-util/spe/files/digest-spe-0.5.1f-r1 | 1 | ||||
-rw-r--r-- | dev-util/spe/files/spe-0.5-wxversion.patch | 81 | ||||
-rw-r--r-- | dev-util/spe/spe-0.5.1f-r1.ebuild | 59 |
5 files changed, 151 insertions, 11 deletions
diff --git a/dev-util/spe/ChangeLog b/dev-util/spe/ChangeLog index 57719514fd6e..1d900fa364a2 100644 --- a/dev-util/spe/ChangeLog +++ b/dev-util/spe/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/spe # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/ChangeLog,v 1.20 2005/10/12 00:27:40 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/ChangeLog,v 1.21 2005/10/14 21:40:42 kloeri Exp $ + +*spe-0.5.1f-r1 (14 Oct 2005) + + 14 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/spe-0.5-wxversion.patch, +spe-0.5.1f-r1.ebuild: + Fix world-writable files. *spe-0.7.5c-r1 (12 Oct 2005) diff --git a/dev-util/spe/Manifest b/dev-util/spe/Manifest index 8aac7e70b1a0..a735e989ad7c 100644 --- a/dev-util/spe/Manifest +++ b/dev-util/spe/Manifest @@ -1,28 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 636e369d48d41e41d2c7b84eb8059097 ChangeLog 2646 MD5 666d9771d3bb00e2801ad24e472ec7d3 files/digest-spe-0.5.1a 82 MD5 d7b222aad27177169608286ea0e18ac9 files/digest-spe-0.5.1d 82 MD5 0465e3df590b254707522e5b1d2eb64c files/digest-spe-0.5.1f 82 +MD5 0465e3df590b254707522e5b1d2eb64c files/digest-spe-0.5.1f-r1 82 MD5 0465e3df590b254707522e5b1d2eb64c files/digest-spe-0.7.1a 82 MD5 f4455c7c456733c72a20607cd8fd816c files/digest-spe-0.7.3a 79 MD5 12fe3da8220d813faf70e795be8100b0 files/digest-spe-0.7.5c 82 MD5 12fe3da8220d813faf70e795be8100b0 files/digest-spe-0.7.5c-r1 82 +MD5 9e19b6c6f4e141a573f8c9ae85073bce files/spe-0.5-wxversion.patch 3346 MD5 4fd2cfdfd8c5bd78ead70447170c95ba files/spe-wxversion.patch 214 MD5 84b0a8b787ec8c3b89836eb571eda5f9 files/spe_setup.patch 277 MD5 6ebeaaff1d72f4b710a98339cbf235fc metadata.xml 372 MD5 8527d184a4526c21f70121beeb67a663 spe-0.5.1a.ebuild 1092 MD5 87cad5a12aa85e82e81660fdda67e8ed spe-0.5.1d.ebuild 1540 +MD5 8b31e07466dbdcb689d03eff31624c45 spe-0.5.1f-r1.ebuild 1746 MD5 d3c2b48e745d650ba5071fb056c763ed spe-0.5.1f.ebuild 1662 MD5 1489276d327666c728696f3d4dd0d6e0 spe-0.7.1a.ebuild 1663 MD5 b304e15e9d9a178d5339c40b3ae196fb spe-0.7.3a.ebuild 1625 MD5 76ca07ff61ee18b5937f46cd30270cd6 spe-0.7.5c-r1.ebuild 1585 MD5 54e6aa7898ff7f7e5c5919558fe265d4 spe-0.7.5c.ebuild 1561 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDTFiNKf2g/qXtneoRAuKVAJ9xSP9K/UFgu913FSRWzFwks+pMSgCgghdI -TUoB3uQBMhjQ50RyUhd2GEU= -=s0cK ------END PGP SIGNATURE----- diff --git a/dev-util/spe/files/digest-spe-0.5.1f-r1 b/dev-util/spe/files/digest-spe-0.5.1f-r1 new file mode 100644 index 000000000000..923017aace60 --- /dev/null +++ b/dev-util/spe/files/digest-spe-0.5.1f-r1 @@ -0,0 +1 @@ +MD5 665f7fc694210388562bb1ea24c40d59 SPE-0.5.1.f-wx2.4.2.4.-bl2.31.tar.gz 1488288 diff --git a/dev-util/spe/files/spe-0.5-wxversion.patch b/dev-util/spe/files/spe-0.5-wxversion.patch new file mode 100644 index 000000000000..dbcf52b83a11 --- /dev/null +++ b/dev-util/spe/files/spe-0.5-wxversion.patch @@ -0,0 +1,81 @@ +diff -urN SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/Child.py SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/Child.py +--- SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/Child.py 2004-05-16 11:33:00.000000000 +0200 ++++ SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/Child.py 2005-10-14 23:25:11.262667750 +0200 +@@ -11,6 +11,8 @@ + ####Modules---------------------------------------------------------------------
+ import os, sys, re, time
+
++import wxversion
++wxversion.select("2.4")
+ import wx
+ from wx.lib.evtmgr import eventManager
+
+@@ -795,4 +797,4 @@ + if fileNames:
+ self.openList(fileNames)
+ return 1
+- else:return 0 +\ No newline at end of file ++ else:return 0
+diff -urN SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/info.py SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/info.py +--- SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/info.py 2004-05-16 11:33:05.000000000 +0200 ++++ SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/info.py 2005-10-14 23:25:35.216164750 +0200 +@@ -81,6 +81,8 @@ + except:
+ pass
+ if isnotroot:
++ import wxversion
++ wxversion.select("2.4")
+ import wx
+ INFO['wxVersionC'] = '.'.join([str(x)for x in wx.VERSION])
+
+diff -urN SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/Parent.py SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/Parent.py +--- SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/Parent.py 2004-05-16 11:33:05.000000000 +0200 ++++ SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/Parent.py 2005-10-14 23:25:57.333547000 +0200 +@@ -14,6 +14,8 @@ + import sm.scriptutils,sm.wxp
+
+ #---wxPython
++import wxversion
++wxversion.select("2.4")
+ import wx
+ import wx.stc
+ from wx.lib.evtmgr import eventManager
+diff -urN SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/shortcuts.py SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/shortcuts.py +--- SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/shortcuts.py 2004-05-16 11:33:18.000000000 +0200 ++++ SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/shortcuts.py 2005-10-14 23:26:18.254854500 +0200 +@@ -7,6 +7,8 @@ +
+ __doc__=INFO['doc']%INFO
+ #_______________________________________________________________________________
++import wxversion
++wxversion.select("2.4")
+ import wx
+ #import wx.help
+
+@@ -48,4 +50,4 @@ + elif key==wx.WXK_F12 and not control and not alt: self.menuViewShell(event)
+ elif key==wx.WXK_RETURN and control and not alt: self.menuEditBrowseTo(event)
+ else:event.Skip()
+- self.GetActiveChild().eventEditorPositionChange(event) +\ No newline at end of file ++ self.GetActiveChild().eventEditorPositionChange(event)
+diff -urN SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/SPE.py SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/SPE.py +--- SPE-0.5.1.d-wx2.4.2.4.-bl2.31.orig/build/lib/_spe/SPE.py 2004-05-16 11:33:18.000000000 +0200 ++++ SPE-0.5.1.d-wx2.4.2.4.-bl2.31/build/lib/_spe/SPE.py 2005-10-14 23:26:41.828327750 +0200 +@@ -23,6 +23,8 @@ + from sm.wxp.smdi import App
+ import Menu,Parent,Child
+ try:
++ import wxversion
++ wxversion.select("2.4")
+ import wx
+ wxV='.'.join([str(x)for x in wx.VERSION])
+ if wxV!=INFO['wxVersion']:
+@@ -70,4 +72,4 @@ + app.MainLoop()
+
+ if __name__=='__main__':
+- main(debug=DEBUG) +\ No newline at end of file ++ main(debug=DEBUG)
diff --git a/dev-util/spe/spe-0.5.1f-r1.ebuild b/dev-util/spe/spe-0.5.1f-r1.ebuild new file mode 100644 index 000000000000..0cf7e8a59097 --- /dev/null +++ b/dev-util/spe/spe-0.5.1f-r1.ebuild @@ -0,0 +1,59 @@ +# 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.5.1f-r1.ebuild,v 1.1 2005/10/14 21:40:42 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="~ppc ~x86" +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." + epatch ${FILESDIR}/spe-0.5-wxversion.patch + # fix bug 108538 + chmod -R go-w ${S}/* +} + +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 +} |