diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-05 00:32:03 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-05 00:32:03 +0000 |
commit | 110549856dc408df1bedd26b9948b44000f39318 (patch) | |
tree | 6651e855016917bc382198d5ccf6a19a8f3c1cd3 /sys-devel/subterfugue | |
parent | Stable on sparc. (diff) | |
download | gentoo-2-110549856dc408df1bedd26b9948b44000f39318.tar.gz gentoo-2-110549856dc408df1bedd26b9948b44000f39318.tar.bz2 gentoo-2-110549856dc408df1bedd26b9948b44000f39318.zip |
Moved from sys-apps/subterfugue to sys-devel/subterfugue.
Diffstat (limited to 'sys-devel/subterfugue')
-rw-r--r-- | sys-devel/subterfugue/ChangeLog | 42 | ||||
-rw-r--r-- | sys-devel/subterfugue/Manifest | 16 | ||||
-rw-r--r-- | sys-devel/subterfugue/files/digest-subterfugue-0.2.1a | 1 | ||||
-rw-r--r-- | sys-devel/subterfugue/files/subterfugue-0.2.1a-gcc33.patch | 16 | ||||
-rw-r--r-- | sys-devel/subterfugue/files/subterfugue-0.2.1a-setup.py | 10 | ||||
-rw-r--r-- | sys-devel/subterfugue/metadata.xml | 5 | ||||
-rw-r--r-- | sys-devel/subterfugue/subterfugue-0.2.1a.ebuild | 57 |
7 files changed, 147 insertions, 0 deletions
diff --git a/sys-devel/subterfugue/ChangeLog b/sys-devel/subterfugue/ChangeLog new file mode 100644 index 000000000000..55990e5d8cb4 --- /dev/null +++ b/sys-devel/subterfugue/ChangeLog @@ -0,0 +1,42 @@ +# ChangeLog for sys-apps/subterfugue +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/subterfugue/ChangeLog,v 1.1 2005/03/05 00:32:03 ciaranm Exp $ + +*subterfugue-0.2.1a (05 Mar 2005) + + 05 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, + +files/subterfugue-0.2.1a-gcc33.patch, +files/subterfugue-0.2.1a-setup.py, + +subterfugue-0.2.1a.ebuild: + Moved from sys-apps/subterfugue to sys-devel/subterfugue. + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> subterfugue-0.2.1a.ebuild: + Add inherit eutils + + 02 Oct 2003; Alastair Tse <liquidx@gentoo.org> metadata.xml, + subterfugue-0.2-r1.ebuild, subterfugue-0.2.1a.ebuild, + files/subterfugue-0.2.1a-gcc33.patch: + added gcc3.3 compile fixes. this package is most likely the end of the line as + the author has stopped maintaining it. + +*subterfugue-0.2.1a (09 Apr 2003) + + 09 Apr 2003; Alastair Tse <liquidx@gentoo.org> subterfugue-0.2-r1.ebuild, + subterfugue-0.2.1a.ebuild, files/subterfugue-0.2.1a-setup.py: + custom distutils script for unmaintained subterfugue build that only supports + python 2.1. also massive cleanup of the ebuild. Fixes #18982. + +*subterfugue-0.2-r1 (1 Feb 2002) + + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: + updated keywords (-ppc) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> subterfugue-0.2-r1.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-devel/subterfugue/Manifest b/sys-devel/subterfugue/Manifest new file mode 100644 index 000000000000..e95157fecddc --- /dev/null +++ b/sys-devel/subterfugue/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 a63dbdd4c0e7ea4568415794cc95686e subterfugue-0.2.1a.ebuild 1523 +MD5 93ff3f934010f287b9e35471455db1cb ChangeLog 1563 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 7e3351bf87121d72b46ae2af34b6df22 files/subterfugue-0.2.1a-setup.py 460 +MD5 256769a72fc0352e9c2539b7f320cbea files/subterfugue-0.2.1a-gcc33.patch 591 +MD5 280505cf0a93d7421f64d2e48f4ad419 files/digest-subterfugue-0.2.1a 66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFBo4uVI1lqEGTUzyQRAgyNAJ4kbZIm7TTqMsih6rW0Rb6MYxaXawCg2S5j +31d3SwlE4ZDYWWKTmL2lVQw= +=zlWR +-----END PGP SIGNATURE----- diff --git a/sys-devel/subterfugue/files/digest-subterfugue-0.2.1a b/sys-devel/subterfugue/files/digest-subterfugue-0.2.1a new file mode 100644 index 000000000000..820519d6e0e4 --- /dev/null +++ b/sys-devel/subterfugue/files/digest-subterfugue-0.2.1a @@ -0,0 +1 @@ +MD5 e55cbdc6fc532f1f49bfb6ecfc5e5ad0 subterfugue-0.2.1a.tgz 77845 diff --git a/sys-devel/subterfugue/files/subterfugue-0.2.1a-gcc33.patch b/sys-devel/subterfugue/files/subterfugue-0.2.1a-gcc33.patch new file mode 100644 index 000000000000..ebc850b2bd8f --- /dev/null +++ b/sys-devel/subterfugue/files/subterfugue-0.2.1a-gcc33.patch @@ -0,0 +1,16 @@ +--- ptracemodule.c 2001-11-26 04:24:30.000000000 +0000 ++++ /tmp/ptracemodule.c 2003-10-02 15:28:17.173323016 +0100 +@@ -292,9 +292,10 @@ + #ifdef PTRACE_SETOPTIONS + + static char ptrace_settracesysgood__doc__[] = +-"settracesysgood(pid) -> None\n\ +-Set the TRACESYSGOOD flag for this child. This causes the high (0x80) bit to +- be set on system call stops."; ++"settracesysgood(pid) -> None\n" \ ++"Set the TRACESYSGOOD flag for this child." \ ++"This causes the high (0x80) bit to" \ ++" be set on system call stops."; + + static PyObject * + ptrace_settracesysgood(PyObject *self, PyObject *args) diff --git a/sys-devel/subterfugue/files/subterfugue-0.2.1a-setup.py b/sys-devel/subterfugue/files/subterfugue-0.2.1a-setup.py new file mode 100644 index 000000000000..e11c7fa16b11 --- /dev/null +++ b/sys-devel/subterfugue/files/subterfugue-0.2.1a-setup.py @@ -0,0 +1,10 @@ +from distutils.core import setup, Extension + +ptracemodule = Extension("ptrace", sources = ['modules/ptracemodule.c']) +linuxmodule = Extension("linux", sources = ['modules/linuxmodule.c']) +svr4module = Extension("svr4", sources = ['modules/svr4module.c']) +_subterfuguemodule = Extension("_subterfugue", sources= ['modules/_subterfuguemodule.c']) + +setup (name = 'ptrace', + ext_modules = [ptracemodule, linuxmodule, svr4module, _subterfuguemodule]) + diff --git a/sys-devel/subterfugue/metadata.xml b/sys-devel/subterfugue/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-devel/subterfugue/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-devel/subterfugue/subterfugue-0.2.1a.ebuild b/sys-devel/subterfugue/subterfugue-0.2.1a.ebuild new file mode 100644 index 000000000000..2c1bfb17eddd --- /dev/null +++ b/sys-devel/subterfugue/subterfugue-0.2.1a.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/subterfugue/subterfugue-0.2.1a.ebuild,v 1.1 2005/03/05 00:32:03 ciaranm Exp $ + +inherit distutils eutils + +IUSE="gtk" + +DESCRIPTION="strace meets expect" +SRC_URI="mirror://sourceforge/subterfugue/${P}.tgz" +HOMEPAGE="http://www.subterfugue.org/" +KEYWORDS="x86 amd64 -ppc" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=dev-lang/python-2.0 + gtk? ( =x11-libs/gtk+-1.2* + =dev-python/pygtk-0.6* )" + +src_unpack() { + unpack ${A} + cd ${S} + + # custom gentoo setup.py to get around <=python-2.1 requirement + # - <liquidx@gentoo.org> + cp ${FILESDIR}/${P}-setup.py ${S}/setup.py || die "copying custom setup.py failed" + # patch for gcc33 - liquidx@gentoo.org + EPATCH_OPTS="-d ${S}/modules" epatch ${FILESDIR}/${P}-gcc33.patch +} + +src_compile() { + # we use distutils to build python extensions (*.so) ONLY + distutils_src_compile + # manually python bytecode compile *.py + make sf dsf compilepy || die "error compiling python modules" + + # remove trace of buildroot + cp dsf dsf.orig + sed -e "s:SUBTERFUGUE_ROOT=.*:SUBTERFUGUE_ROOT=/usr/lib/subterfugue/:" \ + < dsf.orig > sf +} + +src_install() { + # installs python extensions (*.so) + mydoc="GNU-entry INTERNALS" + distutils_src_install + + # installs python scripts (*.py?) + insinto /usr/lib/subterfugue + doins *.py *.py[co] + insinto /usr/lib/subterfugue/tricks + doins tricks/*.py tricks/*.py[co] + + # install binary and manpage + dobin sf + doman doc/sf.1 +} |