diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-01-07 06:58:19 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-01-07 06:58:19 +0000 |
commit | ba07075107e8f0ba402a846c2ee28089639b1953 (patch) | |
tree | ab5d942d9aef8c03998c94fe435752e4518163e8 /dev-python/python-ptrace | |
parent | Bump (diff) | |
download | gentoo-2-ba07075107e8f0ba402a846c2ee28089639b1953.tar.gz gentoo-2-ba07075107e8f0ba402a846c2ee28089639b1953.tar.bz2 gentoo-2-ba07075107e8f0ba402a846c2ee28089639b1953.zip |
Bump, improve metadata.xml
(Portage version: 2.2.8/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/python-ptrace')
-rw-r--r-- | dev-python/python-ptrace/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/python-ptrace/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/python-ptrace/python-ptrace-0.6.6.ebuild | 45 |
3 files changed, 53 insertions, 7 deletions
diff --git a/dev-python/python-ptrace/ChangeLog b/dev-python/python-ptrace/ChangeLog index eefa4c6fc6ab..f5465e2c6145 100644 --- a/dev-python/python-ptrace/ChangeLog +++ b/dev-python/python-ptrace/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-ptrace -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ptrace/ChangeLog,v 1.11 2013/06/13 03:08:20 patrick Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ptrace/ChangeLog,v 1.12 2014/01/07 06:58:19 patrick Exp $ + +*python-ptrace-0.6.6 (07 Jan 2014) + + 07 Jan 2014; Patrick Lauer <patrick@gentoo.org> +python-ptrace-0.6.6.ebuild, + metadata.xml: + Bump, improve metadata.xml *python-ptrace-0.6.5 (13 Jun 2013) diff --git a/dev-python/python-ptrace/metadata.xml b/dev-python/python-ptrace/metadata.xml index 56e0a5d7cf2c..7eaf395302c5 100644 --- a/dev-python/python-ptrace/metadata.xml +++ b/dev-python/python-ptrace/metadata.xml @@ -2,11 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> - <maintainer> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - <description>Maintainer</description> - </maintainer> <upstream> <remote-id type="pypi">python-ptrace</remote-id> </upstream> diff --git a/dev-python/python-ptrace/python-ptrace-0.6.6.ebuild b/dev-python/python-ptrace/python-ptrace-0.6.6.ebuild new file mode 100644 index 000000000000..c30e72f63405 --- /dev/null +++ b/dev-python/python-ptrace/python-ptrace-0.6.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 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.6.ebuild,v 1.1 2014/01/07 06:58:19 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="examples" + +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 +} + +src_install() { + distutils_src_install + + if use examples; then + insinto usr/share/doc/${PF}/examples + doins examples/* + fi +} |