diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setproctitle/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/setproctitle/Manifest new file mode 100644 index 0000000000..1f589443e8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/setproctitle/Manifest @@ -0,0 +1 @@ +DIST setproctitle-1.1.6.tar.gz 22589 RMD160 207bcd0c2b8ce8bc92ba12e6ac51d50cb4d77158 SHA1 b956afb826aa4155542a3a7e881ae56ab0f29466 SHA256 f2926abd47803e288f665401268a9950961be734e981035bde9acb4af80a032d diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setproctitle/setproctitle-1.1.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setproctitle/setproctitle-1.1.6.ebuild new file mode 100644 index 0000000000..375187d7da --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/setproctitle/setproctitle-1.1.6.ebuild @@ -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 +} diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/setproctitle-1.1.6 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/setproctitle-1.1.6 new file mode 100644 index 0000000000..eec1863f46 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/setproctitle-1.1.6 @@ -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