summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-15 12:03:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-15 12:03:00 +0000
commit73176412e0ec958bad70aa9d554b2b946597a922 (patch)
tree048cc9d2ad8267dfe4e3650feacf048bd6b53689 /dev-util
parentRevision bump, with patch to fix monitor_desktops feature. Closes bug #253498. (diff)
downloadhistorical-73176412e0ec958bad70aa9d554b2b946597a922.tar.gz
historical-73176412e0ec958bad70aa9d554b2b946597a922.tar.bz2
historical-73176412e0ec958bad70aa9d554b2b946597a922.zip
Version bump and updated description
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/scons/ChangeLog11
-rw-r--r--dev-util/scons/Manifest20
-rw-r--r--dev-util/scons/files/scons-1.2.0-links.patch24
-rw-r--r--dev-util/scons/files/scons-1.2.0-popen.patch58
-rw-r--r--dev-util/scons/metadata.xml17
-rw-r--r--dev-util/scons/scons-1.2.0.ebuild45
6 files changed, 166 insertions, 9 deletions
diff --git a/dev-util/scons/ChangeLog b/dev-util/scons/ChangeLog
index 699d7488ffdc..8ceff5ce23f5 100644
--- a/dev-util/scons/ChangeLog
+++ b/dev-util/scons/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/scons
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.65 2008/12/02 23:18:23 ranger Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/ChangeLog,v 1.66 2009/01/15 12:02:59 bicatali Exp $
+
+*scons-1.2.0 (15 Jan 2009)
+
+ 15 Jan 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/scons-1.2.0-links.patch, +files/scons-1.2.0-popen.patch,
+ metadata.xml, +scons-1.2.0.ebuild:
+ Version bump and updated description
02 Dec 2008; Brent Baude <ranger@gentoo.org> scons-1.0.0.ebuild:
stable ppc64, bug 242766
diff --git a/dev-util/scons/Manifest b/dev-util/scons/Manifest
index 328f706dc750..23a79452dc86 100644
--- a/dev-util/scons/Manifest
+++ b/dev-util/scons/Manifest
@@ -1,6 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX scons-1.2.0-links.patch 991 RMD160 f12673b29464ce1cf95bf0f0903a6364fcd322fb SHA1 a12efc0e34b7acafe93e37b154cec454eec9d067 SHA256 a0cce0038c7efbba26e8d148e7f41db54d780d5ca1c0dd0d8b2711bc26cc4c7f
+AUX scons-1.2.0-popen.patch 1826 RMD160 33d195bffbcb2f5280d04c1742f082f82e761bdb SHA1 ba24a0b73f6671d8ec4a44c31691a98b6dba080f SHA256 84a3bc1ba70fe60cc483d0186703b303daeb7bed246f21e3db9227c255afd312
DIST scons-0.97.tar.gz 439523 RMD160 31af35ef62fe56a4faf291a4d6cb73de5a17d81f SHA1 732980f0f4dba7cba32fffca0b533497ef751afc SHA256 195df54afedd60767e55393187df0f1e7e0ddb3a46347a5ee82d5050f964c3ba
DIST scons-1.0.0.tar.gz 541330 RMD160 0c74d061316ea73f82a0b2c316474bc33b486f23 SHA1 0d46f078e9a58a3e1cc6d41eb4966c448463d134 SHA256 3d944dc1b2753bac0a3fa53323872b19459b5709d299117248b9b508ecf1de8e
+DIST scons-1.2.0-user.html 794753 RMD160 e4fe64a61e142404c7ed3213628372e2ee4b15ac SHA1 6d14eace90ae046055ea97e1327175fa3aa62248 SHA256 f85b56abdff52ff743e8339ee7a3d38b664c84e9e6086a65acf3b9f119f4ebf0
+DIST scons-1.2.0-user.pdf 1779906 RMD160 7bacdc6dbe5525b7ec78699113b3251c55121dba SHA1 9a8f60f4ead6f3b246a8e8b599ef064e8df61300 SHA256 48f26fa77d0342459fd4684e1010dd23de4e091c307566068964d4a381bce295
+DIST scons-1.2.0.tar.gz 568974 RMD160 69c1fcc7c3af55c801f26fc7370dd01a17dc2327 SHA1 cd6be8698a384ea2ac4f5191cef94f57b2f84bbb SHA256 2806451e02a42789decb6d08098b798b6b81a0a39d8d3b2fbdd3fe84ebd8a246
EBUILD scons-0.97.ebuild 1152 RMD160 02d0d8d36c3aaaef181a1bdeb0aeb87e43a209fa SHA1 5cbd1dad354e2c3785f00d7cc0cb3c81642584f9 SHA256 248a68102381b040107da4b406b477cb072411c9cfa92e351cd91f8d3af483c9
EBUILD scons-1.0.0.ebuild 1147 RMD160 1f6554d27b7b324c4f09c0951ea69f111af4d84b SHA1 d84b82f82e89108694184f1e4136be82ee939ad7 SHA256 11463fc84ef40e0f903f7f0deca41b8cdb44e071ba12a8a15df9606cea04354b
-MISC ChangeLog 1521 RMD160 906f9b808159ea455d1e02250e669e5e72971d77 SHA1 3b2a12314b1f2061d24c3fef4129f551da1cc48a SHA256 c6a34ad3b5239889280cf18869392325738cffdf3dd16d8309087d9eeef4b1cf
-MISC metadata.xml 259 RMD160 e07f81006af8091709da130bf7766960545d08b1 SHA1 d68efa412545d069a60b0e13c20b910a5680eeaa SHA256 d20eefe0b0976cc928c0e17b9e5ba6c670f30ebb49086955e6f6b335fbb597ef
+EBUILD scons-1.2.0.ebuild 1186 RMD160 a3b890ee78c8b4f524c905c46b4db46759a2c658 SHA1 5391eb0ba0a34d295d8fd99a5cad87446209633b SHA256 5d1975a136b3f3cb59096af41cf61182311fd1ca55dac53213a32549e33f6c97
+MISC ChangeLog 1749 RMD160 0fc17a7069fa2340c7dc70d6449ea526a6e1ca4f SHA1 6a480a755bc08960a5b75f6011204df2be530b06 SHA256 21a6d517e815ebf707689aad0484c43d7cb817d5ad02556ae240b4893000ce39
+MISC metadata.xml 638 RMD160 313c3b4020d391dd897fb124fd3ae7148e4d25f4 SHA1 2ba17518173dc79962c08f88dc495ade267e443c SHA256 8e7b7a43fc5e94c0c0d538aa07cf5e4b37bc5d9ef688bf8f7870395d2504b7cf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklvJf8ACgkQ1ycZbhPLE2ARnwCfdHdx8CJIpLCkWtL7mur1TgGO
+jqMAn2SXg51K6H7IRLUeEkVoM4lsVi7m
+=y7Vc
+-----END PGP SIGNATURE-----
diff --git a/dev-util/scons/files/scons-1.2.0-links.patch b/dev-util/scons/files/scons-1.2.0-links.patch
new file mode 100644
index 000000000000..134c24c48448
--- /dev/null
+++ b/dev-util/scons/files/scons-1.2.0-links.patch
@@ -0,0 +1,24 @@
+--- engine/SCons/Script/Main.py.orig 2009-01-15 11:07:33.000000000 +0000
++++ engine/SCons/Script/Main.py 2009-01-15 11:09:12.000000000 +0000
+@@ -328,6 +328,10 @@
+ # then delete dir itself
+ if remove: os.rmdir(path)
+ display("Removed directory " + pathstr)
++ else:
++ if os.path.islink(path):
++ if remove: os.unlink(path)
++ display("Removed " + pathstr)
+ except (IOError, OSError), e:
+ print "scons: Could not remove '%s':" % pathstr, e.strerror
+
+--- engine/SCons/Tool/javac.py.orig 2009-01-15 11:05:46.000000000 +0000
++++ engine/SCons/Tool/javac.py 2009-01-15 11:06:41.000000000 +0000
+@@ -94,6 +94,8 @@
+ version = env.get('JAVAVERSION', '1.4')
+ full_tlist = []
+ for f in slist:
++ if not os.path.exists(f.rfile().get_abspath()):
++ continue
+ tlist = []
+ source_file_based = True
+ pkg_dir = None
diff --git a/dev-util/scons/files/scons-1.2.0-popen.patch b/dev-util/scons/files/scons-1.2.0-popen.patch
new file mode 100644
index 000000000000..23063cffd0c5
--- /dev/null
+++ b/dev-util/scons/files/scons-1.2.0-popen.patch
@@ -0,0 +1,58 @@
+--- engine/SCons/compat/__init__.py (revision 2695)
++++ engine/SCons/compat/__init__.py (working copy)
+@@ -167,11 +167,17 @@
+ del shlex
+ import_as('_scons_shlex', 'shlex')
+
+-try:
+- import subprocess
+-except ImportError:
+- # Pre-2.4 Python has no subprocess module.
+- import_as('_scons_subprocess', 'subprocess')
++#try:
++# import subprocess
++#except ImportError:
++# # Pre-2.4 Python has no subprocess module.
++# import_as('_scons_subprocess', 'subprocess')
++
++# Import subprocess unconditionally to avoid possible race conditions in
++# the official subprocess API. If there are API versions without known
++# problems, we can version-check and use the original subprocess module
++# in these cases.
++import_as('_scons_subprocess', 'subprocess')
+
+ import sys
+ try:
+
+
+--- engine/SCons/compat/_scons_subprocess.py (revision 2695)
++++ engine/SCons/compat/_scons_subprocess.py (working copy)
+@@ -581,13 +581,19 @@
+ class object:
+ pass
+
++import thread
++lock = thread.allocate_lock()
++
+ class Popen(object):
+ def __init__(self, args, bufsize=0, executable=None,
+ stdin=None, stdout=None, stderr=None,
+ preexec_fn=None, close_fds=False, shell=False,
+ cwd=None, env=None, universal_newlines=False,
+ startupinfo=None, creationflags=0):
+- """Create new Popen instance."""
++ """Create new Popen instance.
++ Popen is not thread-safe and is therefore protected with a lock.
++ """
++ lock.acquire()
+ _cleanup()
+
+ self._child_created = False
+@@ -655,6 +661,7 @@
+ self.stderr = os.fdopen(errread, 'rU', bufsize)
+ else:
+ self.stderr = os.fdopen(errread, 'rb', bufsize)
++ lock.release()
+
+
+ def _translate_newlines(self, data):
diff --git a/dev-util/scons/metadata.xml b/dev-util/scons/metadata.xml
index 17f2a23187bf..6af6b45aacaf 100644
--- a/dev-util/scons/metadata.xml
+++ b/dev-util/scons/metadata.xml
@@ -1,9 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <maintainer>
- <email>python@gentoo.org</email>
- <name>Python Project Team</name>
- </maintainer>
+ <herd>python</herd>
+ <maintainer>
+ <email>python@gentoo.org</email>
+ <name>Python Project Team</name>
+ </maintainer>
+ <longdescription lang="en">
+ SCons is a make replacement providing a range of enhanced
+ features such as automated dependency generation and built in
+ compilation cache support. SCons rule sets are Python scripts so
+ as well as the features it provides itself SCons allows you to use
+ the full power of Python to control compilation.
+ </longdescription>
</pkgmetadata>
diff --git a/dev-util/scons/scons-1.2.0.ebuild b/dev-util/scons/scons-1.2.0.ebuild
new file mode 100644
index 000000000000..c91da048a7de
--- /dev/null
+++ b/dev-util/scons/scons-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-1.2.0.ebuild,v 1.1 2009/01/15 12:02:59 bicatali Exp $
+
+EAPI=2
+inherit eutils distutils
+
+DESCRIPTION="Extensible Python-based build utility"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ doc? ( http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
+ http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html )"
+
+HOMEPAGE="http://www.scons.org/"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+DOCS="RELEASE.txt CHANGES.txt"
+
+src_prepare() {
+ # from debian, fix links and removes
+ epatch "${FILESDIR}"/${P}-links.patch
+ epatch "${FILESDIR}"/${P}-popen.patch
+}
+
+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
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/${P}-user.{pdf,html}
+ fi
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${P}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${P}
+}