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 9A212158015 for ; Fri, 24 Sep 2021 20:05:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E304E09C9; Fri, 24 Sep 2021 20:05:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 465ABE09CA for ; Fri, 24 Sep 2021 20:05:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14874342BFC for ; Fri, 24 Sep 2021 20:05:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5819A116 for ; Fri, 24 Sep 2021 20:05:13 +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: <1632513909.3da0b79a02cd9a6fdac06aa37419b7e05767e26c.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.3.1.ebuild X-VCS-Directories: dev-python/line_profiler/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3da0b79a02cd9a6fdac06aa37419b7e05767e26c X-VCS-Branch: master Date: Fri, 24 Sep 2021 20:05:13 +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: fd2d0127-414d-4729-98b3-abfd1e17a1e8 X-Archives-Hash: 661ebb7fa1122097122baa01d54b02d2 commit: 3da0b79a02cd9a6fdac06aa37419b7e05767e26c Author: Michał Górny gentoo org> AuthorDate: Fri Sep 24 19:37:48 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 24 20:05:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3da0b79a dev-python/line_profiler: Bump to 3.3.1 Signed-off-by: Michał Górny gentoo.org> dev-python/line_profiler/Manifest | 1 + .../line_profiler/line_profiler-3.3.1.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest index d46f090d489..f18e60ea4a8 100644 --- a/dev-python/line_profiler/Manifest +++ b/dev-python/line_profiler/Manifest @@ -1 +1,2 @@ DIST line_profiler-3.3.0.gh.tar.gz 52791 BLAKE2B e3499f5274045d158620fa890df6e725a99c3df019bb4515434213d2c60d52d400d7a7dfce64b153422722ea388f73318818485c9747e6eace2d81c457f93a7f SHA512 37680c55a551c73aed7a3ee2333c523f0617e01cda6db98060f15fe36990c8c8bc08bd5848e569f269bf11590776290ee0980046cce745df8e54268d7991559b +DIST line_profiler-3.3.1.gh.tar.gz 56700 BLAKE2B 030c0fc742a6773ebb55a54a3c21d3d5e5d6d5d258a2c3cd2071ff93917411b65e100bfc6549d9c60d9a7c361c53b291d8b81538acaf5b83665c04129d25bc02 SHA512 8a3704a6df2abe71283cb2da23b738932c6f4b42aedcdefda0d318fd4b894d56831a855c4be4430657308530a04d1e96b0e15a60edca06621bdd5370c0bf9911 diff --git a/dev-python/line_profiler/line_profiler-3.3.1.ebuild b/dev-python/line_profiler/line_profiler-3.3.1.ebuild new file mode 100644 index 00000000000..5bbfce25169 --- /dev/null +++ b/dev-python/line_profiler/line_profiler-3.3.1.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/${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 +}