# ChangeLog for dev-python/python-ptrace
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ptrace/ChangeLog,v 1.6 2010/02/08 08:44:19 pva Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ptrace/ChangeLog,v 1.7 2011/07/28 20:19:22 patrick Exp $
+
+*python-ptrace-0.6.3 (28 Jul 2011)
+
+ 28 Jul 2011; Patrick Lauer <patrick@gentoo.org> +python-ptrace-0.6.3.ebuild:
+ Bump for #375895
08 Feb 2010; Peter Volkov <pva@gentoo.org> python-ptrace-0.6.ebuild,
python-ptrace-0.6.2.ebuild:
DIST python-ptrace-0.6.2.tar.gz 75200 RMD160 a08ad88abc846142a334803bdcb5b856a268bfcd SHA1 b36b678627e936cc57d1a280ab866c316644e029 SHA256 8d03b7badb6c1b87e83e2b70ba73d5f18fb5cb4890c98c30ce16599a58b5200b
+DIST python-ptrace-0.6.3.tar.gz 77030 RMD160 6a3a4e6a3cfafd72cfe30c8456c88894df2b19c0 SHA1 50958a9ef0b4492aa009f52cfd733a56f81c5ffc SHA256 e44934725397c69777ef38ce0f03380840425f0974c7ba4a914a023541d39aa6
EBUILD python-ptrace-0.6.2.ebuild 1186 RMD160 3da615eac5d3c232dded4c9ad533e6dddd44a42f SHA1 e658910b3573151950a34e300abf52ed746a034c SHA256 30261787a5a713763a11e71a2470aab84aaba69258887e4fcac1fcf618ef5a68
-MISC ChangeLog 1080 RMD160 95e318a6b612f98f0606da7519c4103efb205c89 SHA1 fc029d7c539c612ea5268621e93bc79bff2b5b75 SHA256 69a1ceb531a2b24cac37995a79d7d2f24455fe2a3e33882ce860e605262b71a9
+EBUILD python-ptrace-0.6.3.ebuild 1138 RMD160 5980de5c00367498911f61357279139f4960df62 SHA1 c594c111ff21c0f531eb8c8db03baf7331ecde9d SHA256 f8dbcfdab04f2e737cbaa2b969c7748adab7f79b66878d2f591bb71effd2c9c3
+MISC ChangeLog 1219 RMD160 6ac2b79ed3698fd5684b3ff7bd749bbbc57af27a SHA1 b5d2b5a1c280df0ee74b1806d264649a815aa1c5 SHA256 d4bb636cc504e1aa67674ad23a4c14e2d8d258203c469b6c2c4f6de9b6fe2b91
MISC metadata.xml 295 RMD160 2d0d74511d9948a5a9c40446bcb28c9268b4fb56 SHA1 471e08e1b94c6ab1cecaef9842eacaac847ceba1 SHA256 4da348dee3ad8dabd6d9d2aa47be39545e10fe2efd04766bd6a2dffdac43455c
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ptrace/python-ptrace-0.6.3.ebuild,v 1.1 2011/07/28 20:19:22 patrick Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="python-ptrace is a debugger using ptrace (Linux, BSD and Darwin system call to trace processes)."
+HOMEPAGE="http://bitbucket.org/haypo/python-ptrace/ http://pypi.python.org/pypi/python-ptrace"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-libs/distorm64"
+RESTRICT_PYTHON_ABIS="2.4"
+
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+PYTHON_MODNAME="ptrace"
+
+src_prepare() {
+ python_copy_sources
+
+ conversion() {
+ [[ "${PYTHON_ABI}" == 2.* ]] && return
+
+ 2to3-${PYTHON_ABI} -w . > /dev/null || die "2to3 failed"
+ 2to3-${PYTHON_ABI} -dw . > /dev/null || die "2to3 failed"
+ }
+ python_execute_function --action-message 'Applying patches for Python ${PYTHON_ABI}' --failure-message 'Applying patches for Python ${PYTHON_ABI} failed' -s conversion
+}