From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 25003139937 for ; Thu, 27 Aug 2015 15:01:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96EA914211; Thu, 27 Aug 2015 15:01:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3CCE141C9 for ; Thu, 27 Aug 2015 15:01:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2AB6340875 for ; Thu, 27 Aug 2015 15:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A847F167 for ; Thu, 27 Aug 2015 15:01:40 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1440575731.885ad128e0e797732b642b92f6d48693ae3bbe1a.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/line_profiler/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/line_profiler/ChangeLog dev-python/line_profiler/line_profiler-1.0.ebuild dev-python/line_profiler/line_profiler-9999.ebuild dev-python/line_profiler/metadata.xml X-VCS-Directories: dev-python/line_profiler/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 885ad128e0e797732b642b92f6d48693ae3bbe1a X-VCS-Branch: master Date: Thu, 27 Aug 2015 15:01:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f38576be-a426-4e8c-a654-3ad8bc26f77c X-Archives-Hash: ba5ce46e959290608f43c866e0e815b3 commit: 885ad128e0e797732b642b92f6d48693ae3bbe1a Author: Marius Brehler linux sungazer de> AuthorDate: Wed Aug 26 07:55:31 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Aug 26 07:55:31 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=885ad128 dev-python/line_profiler: New ebuild wirtten by me Package-Manager: portage-2.2.20.1 dev-python/line_profiler/ChangeLog | 10 +++++++ dev-python/line_profiler/line_profiler-1.0.ebuild | 1 + dev-python/line_profiler/line_profiler-9999.ebuild | 35 ++++++++++++++++++++++ dev-python/line_profiler/metadata.xml | 18 +++++++++++ 4 files changed, 64 insertions(+) diff --git a/dev-python/line_profiler/ChangeLog b/dev-python/line_profiler/ChangeLog new file mode 100644 index 0000000..61d0896 --- /dev/null +++ b/dev-python/line_profiler/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/line_profiler +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Id$ + +*line_profiler-1.0 (26 Aug 2015) +*line_profiler-9999 (26 Aug 2015) + + 26 Aug 2015; Marius Brehler + +line_profiler-1.0.ebuild, +line_profiler-9999.ebuild, +metadata.xml: + dev-python/line_profiler: New ebuild wirtten by me diff --git a/dev-python/line_profiler/line_profiler-1.0.ebuild b/dev-python/line_profiler/line_profiler-1.0.ebuild new file mode 120000 index 0000000..fb2359a --- /dev/null +++ b/dev-python/line_profiler/line_profiler-1.0.ebuild @@ -0,0 +1 @@ +line_profiler-9999.ebuild \ No newline at end of file diff --git a/dev-python/line_profiler/line_profiler-9999.ebuild b/dev-python/line_profiler/line_profiler-9999.ebuild new file mode 100644 index 0000000..51b1bd9 --- /dev/null +++ b/dev-python/line_profiler/line_profiler-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Line-by-line profiling for Python" +HOMEPAGE="https://github.com/rkern/line_profiler" + +if [ ${PV} == "9999" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rkern/${PN}.git git://github.com/rkern/${PN}.git" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +DEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + " + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + cp "${S}"/setup.py "${TEST_DIR}"/lib/ || die + cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die + py.test || die +} diff --git a/dev-python/line_profiler/metadata.xml b/dev-python/line_profiler/metadata.xml new file mode 100644 index 0000000..ea55839 --- /dev/null +++ b/dev-python/line_profiler/metadata.xml @@ -0,0 +1,18 @@ + + + + sci + + marbre@linux.sungazer.de + Marius Brehler + + + line_profiler is a module for doing line-by-line profiling of + functions. kernprof is a convenient script for running either + line_profiler or the Python standard library's cProfile or profile + modules, depending on what is available. + + + line_profiler + +