summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-03-11 14:02:29 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-03-11 14:02:29 +0000
commitac114a475dd110e3f59872ddf6b72219ac4bcada (patch)
tree0846e05309348e2a222560f85ebae143a85f5e70 /dev-util
parentPunt vulnerable and unused. Add arm back to stable in 2.0.0.2, which i removed (diff)
downloadgentoo-2-ac114a475dd110e3f59872ddf6b72219ac4bcada.tar.gz
gentoo-2-ac114a475dd110e3f59872ddf6b72219ac4bcada.tar.bz2
gentoo-2-ac114a475dd110e3f59872ddf6b72219ac4bcada.zip
Add back scons-0.96.94 in order to mask .95, bug 169101
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/scons/files/digest-scons-0.96.943
-rw-r--r--dev-util/scons/scons-0.96.94.ebuild41
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/scons/files/digest-scons-0.96.94 b/dev-util/scons/files/digest-scons-0.96.94
new file mode 100644
index 000000000000..72c3302e905e
--- /dev/null
+++ b/dev-util/scons/files/digest-scons-0.96.94
@@ -0,0 +1,3 @@
+MD5 534498cf4676739dcf6e26a360dfdd93 scons-0.96.94.tar.gz 408567
+RMD160 2e50831de80c9e218b196c553c9b0f6afb650773 scons-0.96.94.tar.gz 408567
+SHA256 ca693ddad7734d549998fb91e11ffc15cea8e1e6bbf8383f4160d492cdf7527b scons-0.96.94.tar.gz 408567
diff --git a/dev-util/scons/scons-0.96.94.ebuild b/dev-util/scons/scons-0.96.94.ebuild
new file mode 100644
index 000000000000..8233baf00db7
--- /dev/null
+++ b/dev-util/scons/scons-0.96.94.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-0.96.94.ebuild,v 1.4 2007/03/11 14:02:29 genstef Exp $
+
+NEED_PYTHON="1.5.2"
+
+inherit python distutils multilib
+
+DESCRIPTION="Extensible Python-based build utility"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.scons.org/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DOCS="RELEASE.txt CHANGES.txt LICENSE.txt"
+
+src_install () {
+ distutils_src_install
+ # move man pages from /usr/man to /usr/share/man
+ dodir /usr/share
+ mv ${D}/usr/man ${D}/usr/share
+}
+
+pkg_postinst() {
+ python_mod_optimize ${ROOT}/usr/$(get_libdir)/${P}
+ # clean up stale junk left there by old faulty ebuilds
+ # see Bug 118022 and Bug 132448
+ if has_version "<dev-util/scons-0.96.92-r1" ; then
+ einfo "Cleaning up stale orphaned py[co] files..."
+ [[ -d "${ROOT}/usr/$(get_libdir)/scons/SCons" ]] \
+ && rm -rf "${ROOT}/usr/$(get_libdir)/scons/SCons"
+ einfo "Done."
+ fi
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${ROOT}/usr/$(get_libdir)/${P}
+}