Upgraded the setproctitle Portage package

Upgraded dev-python/setproctitle to version 1.1.6 on amd64, arm, x86

BUG=None
TEST=emerge on all platforms and host

Change-Id: I61370b6f2b8f02617f9883dc29a1dcb09ae3b6cc
Reviewed-on: https://gerrit.chromium.org/gerrit/28455
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
This commit is contained in:
Jon Salz 2012-07-26 09:58:56 +08:00 committed by Gerrit
parent ed26b48fa0
commit a93f7a5ae0
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST setproctitle-1.1.6.tar.gz 22589 RMD160 207bcd0c2b8ce8bc92ba12e6ac51d50cb4d77158 SHA1 b956afb826aa4155542a3a7e881ae56ab0f29466 SHA256 f2926abd47803e288f665401268a9950961be734e981035bde9acb4af80a032d

View File

@ -0,0 +1,53 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.6.ebuild,v 1.3 2012/07/09 17:17:54 bicatali Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils toolchain-funcs
DESCRIPTION="Allow customization of the process title."
HOMEPAGE="http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm ~sparc x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=""
RDEPEND=""
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
DOCS="HISTORY.rst README.rst"
src_prepare() {
python_copy_sources
conversion() {
[[ "${PYTHON_ABI}" == 2.* ]] && return
2to3-${PYTHON_ABI} -w --no-diffs tests > /dev/null
}
python_execute_function \
--action-message 'Applying patches for $(python_get_implementation) $(python_get_version)' \
--failure-message 'Applying patches for $(python_get_implementation) $(python_get_version) failed' \
-s conversion
}
distutils_src_test_pre_hook() {
local version=$(python_get_version -l --major)
ln -fs pyrun-${PYTHON_ABI} tests/pyrun${version}
}
src_test() {
build_pyrun() {
echo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
}
python_execute_function -q -s build_pyrun
distutils_src_test
}

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=>=app-admin/eselect-python-20091230 dev-lang/python test? ( dev-python/nose )
DESCRIPTION=Allow customization of the process title.
EAPI=3
HOMEPAGE=http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle
IUSE=test
KEYWORDS=amd64 arm ~sparc x86 ~amd64-linux ~x86-linux
LICENSE=BSD
RDEPEND=>=app-admin/eselect-python-20091230 dev-lang/python
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.6.tar.gz
_eclasses_=distutils b4c334e216d998c4ce4b750cb091e42e multilib 5f4ad6cf85e365e8f0c6050ddd21659e python 6bbd984910e27780e5d0ea543d83ef84 toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68
_md5_=9368c3df1c222c403963685bb25b114b