From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E666B139085 for ; Mon, 6 Feb 2017 08:09:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16464E0E07; Mon, 6 Feb 2017 08:09:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC04BE0E07 for ; Mon, 6 Feb 2017 08:09:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6565341673 for ; Mon, 6 Feb 2017 08:09:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AD2D3A86 for ; Mon, 6 Feb 2017 08:09:53 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1486368493.c5749ef3cce4c04c359df5bfaf0dddec71b21b00.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/line_profiler/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/line_profiler/Manifest dev-python/line_profiler/line_profiler-2.0.ebuild X-VCS-Directories: dev-python/line_profiler/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: c5749ef3cce4c04c359df5bfaf0dddec71b21b00 X-VCS-Branch: master Date: Mon, 6 Feb 2017 08:09:53 +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: b94d8770-cd60-498a-8427-81d6aa0665a2 X-Archives-Hash: e775bb21cc80655820212f17d25be278 commit: c5749ef3cce4c04c359df5bfaf0dddec71b21b00 Author: Marius Brehler linux sungazer de> AuthorDate: Mon Feb 6 07:22:39 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Feb 6 08:08:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5749ef3 dev-python/line_profiler: Version bump to 2.0 Package-Manager: portage-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/3784 dev-python/line_profiler/Manifest | 1 + dev-python/line_profiler/line_profiler-2.0.ebuild | 29 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest index abe5549..a24fecd 100644 --- a/dev-python/line_profiler/Manifest +++ b/dev-python/line_profiler/Manifest @@ -1 +1,2 @@ DIST line_profiler-1.0.tar.gz 65862 SHA256 a9e0c9ffa814f1215107c86c890afa8e63bec5a37d951f6f9d3668c1df2b1900 SHA512 15dd7ee10951287a5030eaff28e729e82094ec41d8e8dec803d5e44c6b9036ecbf1198365ef43c1fdd28451dec260c6491d118f1762d99fe037bb85eb7908dda WHIRLPOOL 1fd56ea4777a3c569807a124c708018fc77e68521d1f1ecdb13c343ddad3fcd881353cd71a0af36d06a12f1dd17be0f2731040fca5e827a4936298057dabf917 +DIST line_profiler-2.0.tar.gz 68478 SHA256 739f8ad0e4bcd0cb82e99afc09e00a0351234f6b3f0b1f7f0090a8a2fbbf8381 SHA512 c0335fc69fb47c150fa5555af4f7fdf4b172ca12ee6512e04ba854c4a81f3e6ee5594e484d11c8ea7e9e8048e3f3b8661db52332d4ac645195a0e050acea4ecb WHIRLPOOL 6f4a3816fb22c86fe1c691a3e949be41da7680055db5c0909dbfb9af4052cfa50640eca43e0e918e903c23c9e6b8858ebff76e4fa21d8648084ade74f45a2915 diff --git a/dev-python/line_profiler/line_profiler-2.0.ebuild b/dev-python/line_profiler/line_profiler-2.0.ebuild new file mode 100644 index 00000000..638f08c --- /dev/null +++ b/dev-python/line_profiler/line_profiler-2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Line-by-line profiler" +HOMEPAGE="https://github.com/rkern/line_profiler" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +KEYWORDS="~amd64" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + " + +python_test() { + "${EPYTHON}" -m unittest discover -v "${S}"/tests/ \ + || die "Tests failed with ${EPYTHON}" +}