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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF885158086 for ; Thu, 30 Dec 2021 08:57:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 629292BC09E; Thu, 30 Dec 2021 08:57:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 761702BC0A2 for ; Thu, 30 Dec 2021 08:57:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6244342F1C for ; Thu, 30 Dec 2021 08:57:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3315CD0 for ; Thu, 30 Dec 2021 08:57:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1640854652.bfe5d7cc158d2e2fd8831996705b23347fab2630.mgorny@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-3.4.0.ebuild X-VCS-Directories: dev-python/line_profiler/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bfe5d7cc158d2e2fd8831996705b23347fab2630 X-VCS-Branch: master Date: Thu, 30 Dec 2021 08:57:39 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b09ab15f-5835-4d0b-a1d9-02ea543e5c87 X-Archives-Hash: 6be10d1629a2e16d190a3e1e8706f075 commit: bfe5d7cc158d2e2fd8831996705b23347fab2630 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 30 07:56:26 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 30 08:57:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfe5d7cc dev-python/line_profiler: Bump to 3.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/line_profiler/Manifest | 1 + .../line_profiler/line_profiler-3.4.0.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest index 1f108077af1e..44f1472cfacd 100644 --- a/dev-python/line_profiler/Manifest +++ b/dev-python/line_profiler/Manifest @@ -1 +1,2 @@ DIST line_profiler-3.3.1.gh.tar.gz 56700 BLAKE2B 030c0fc742a6773ebb55a54a3c21d3d5e5d6d5d258a2c3cd2071ff93917411b65e100bfc6549d9c60d9a7c361c53b291d8b81538acaf5b83665c04129d25bc02 SHA512 8a3704a6df2abe71283cb2da23b738932c6f4b42aedcdefda0d318fd4b894d56831a855c4be4430657308530a04d1e96b0e15a60edca06621bdd5370c0bf9911 +DIST line_profiler-3.4.0.gh.tar.gz 49076 BLAKE2B 1fa2d7462913b21b5c3d69be64492fd5002d10c6c454cb3129860e4156cf04fbbd839b140f229b586ff9f0b195baae435bc461c4bab1405c38da49bf348827c3 SHA512 79a6e71ec083aacbc95fab5e044a2a38119bced505e5b9720288e32103773dc64a8bbbf6c2c7913b7b5057420cb31c3943cc1dce2d7d029df82b6b59e451c357 diff --git a/dev-python/line_profiler/line_profiler-3.4.0.ebuild b/dev-python/line_profiler/line_profiler-3.4.0.ebuild new file mode 100644 index 000000000000..ec2f97295311 --- /dev/null +++ b/dev-python/line_profiler/line_profiler-3.4.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +# force it to match scikit-build +CMAKE_MAKEFILE_GENERATOR=ninja + +inherit cmake distutils-r1 + +DESCRIPTION="Line-by-line profiler" +HOMEPAGE="https://github.com/pyutils/line_profiler/" +SRC_URI=" + https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" +# technically, the package claims to support non-scikit-build build +# but it's clearly unmaintained and broken at the moment +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/scikit-build[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/ubelt[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +src_prepare() { + cmake_src_prepare + distutils-r1_src_prepare +} + +python_test() { + distutils_install_for_testing + cd tests || die + epytest +} + +python_install() { + distutils-r1_python_install + python_optimize +}