summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-13 18:36:19 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-13 18:36:19 +0000
commit1185d39647f04f7128136e1daed7a58b19e4ba45 (patch)
tree635c52ae0a2cf346dd4c2c66341a979d62c17860 /dev-util
parentMarked ppc stable. (diff)
downloadgentoo-2-1185d39647f04f7128136e1daed7a58b19e4ba45.tar.gz
gentoo-2-1185d39647f04f7128136e1daed7a58b19e4ba45.tar.bz2
gentoo-2-1185d39647f04f7128136e1daed7a58b19e4ba45.zip
Version bump. python_mod_{optimize,cleanup} are ROOT aware. Quoting.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/scons/ChangeLog10
-rw-r--r--dev-util/scons/scons-0.96.94.ebuild10
-rw-r--r--dev-util/scons/scons-0.97.ebuild10
-rw-r--r--dev-util/scons/scons-0.98.3.ebuild41
4 files changed, 59 insertions, 12 deletions
diff --git a/dev-util/scons/ChangeLog b/dev-util/scons/ChangeLog
index bf8860bdcc45..8d8090a1e932 100644
--- a/dev-util/scons/ChangeLog
+++ b/dev-util/scons/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/scons
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.54 2007/09/26 18:38:56 ranger Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.55 2008/05/13 18:36:19 hawking Exp $
+
+*scons-0.98.3 (13 May 2008)
+
+ 13 May 2008; Ali Polatel <hawking@gentoo.org> scons-0.96.94.ebuild,
+ scons-0.97.ebuild, +scons-0.98.3.ebuild:
+ Version bump. python_mod_{optimize,cleanup} are ROOT aware. Quoting.
26 Sep 2007; Brent Baude <ranger@gentoo.org> scons-0.97.ebuild:
Marking scons-0.97 ppc64 for bug 189096
diff --git a/dev-util/scons/scons-0.96.94.ebuild b/dev-util/scons/scons-0.96.94.ebuild
index 95f23c23ecf0..5d35ca3213ad 100644
--- a/dev-util/scons/scons-0.96.94.ebuild
+++ b/dev-util/scons/scons-0.96.94.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.5 2007/04/04 03:12:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-0.96.94.ebuild,v 1.6 2008/05/13 18:36:19 hawking Exp $
NEED_PYTHON="1.5.2"
@@ -21,11 +21,11 @@ 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
+ mv "${D}"/usr/man "${D}"/usr/share
}
pkg_postinst() {
- python_mod_optimize ${ROOT}/usr/$(get_libdir)/${P}
+ python_mod_optimize /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
@@ -37,5 +37,5 @@ pkg_postinst() {
}
pkg_postrm() {
- python_mod_cleanup ${ROOT}/usr/$(get_libdir)/${P}
+ python_mod_cleanup /usr/$(get_libdir)/${P}
}
diff --git a/dev-util/scons/scons-0.97.ebuild b/dev-util/scons/scons-0.97.ebuild
index 23311717fbcf..865fa7c1bbbb 100644
--- a/dev-util/scons/scons-0.97.ebuild
+++ b/dev-util/scons/scons-0.97.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-0.97.ebuild,v 1.8 2007/09/26 18:38:56 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-0.97.ebuild,v 1.9 2008/05/13 18:36:19 hawking Exp $
NEED_PYTHON="1.5.2"
@@ -21,11 +21,11 @@ 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
+ mv "${D}"/usr/man "${D}"/usr/share
}
pkg_postinst() {
- python_mod_optimize ${ROOT}/usr/$(get_libdir)/${P}
+ python_mod_optimize /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
@@ -37,5 +37,5 @@ pkg_postinst() {
}
pkg_postrm() {
- python_mod_cleanup ${ROOT}/usr/$(get_libdir)/${P}
+ python_mod_cleanup /usr/$(get_libdir)/${P}
}
diff --git a/dev-util/scons/scons-0.98.3.ebuild b/dev-util/scons/scons-0.98.3.ebuild
new file mode 100644
index 000000000000..9463036d899b
--- /dev/null
+++ b/dev-util/scons/scons-0.98.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-0.98.3.ebuild,v 1.1 2008/05/13 18:36:19 hawking 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 ~x86-fbsd"
+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 /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 /usr/$(get_libdir)/${P}
+}