From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FAC61581EE for ; Tue, 25 Mar 2025 08:15:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4DE013432F1 for ; Tue, 25 Mar 2025 08:15:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 947B91104AE; Tue, 25 Mar 2025 08:15:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 8C3121104AE for ; Tue, 25 Mar 2025 08:15:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47B8C34309F for ; Tue, 25 Mar 2025 08:15:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFB7A281D for ; Tue, 25 Mar 2025 08:15:37 +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: <1742890533.3e0cfa731b60c4b9604231821cd1c391e061565c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/narwhals/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/narwhals/Manifest dev-python/narwhals/metadata.xml dev-python/narwhals/narwhals-1.32.0.ebuild X-VCS-Directories: dev-python/narwhals/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3e0cfa731b60c4b9604231821cd1c391e061565c X-VCS-Branch: master Date: Tue, 25 Mar 2025 08:15:37 +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: a53ace33-3141-4e50-93f9-4c6b9d6bfffb X-Archives-Hash: 5ee31d81319cfeb23f08d53686eeb0bc commit: 3e0cfa731b60c4b9604231821cd1c391e061565c Author: Michał Górny gentoo org> AuthorDate: Tue Mar 25 07:34:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 25 08:15:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0cfa73 dev-python/narwhals: New package, v1.32.0 New dependency of dev-python/plotly. Signed-off-by: Michał Górny gentoo.org> dev-python/narwhals/Manifest | 1 + dev-python/narwhals/metadata.xml | 12 +++++++++ dev-python/narwhals/narwhals-1.32.0.ebuild | 41 ++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest new file mode 100644 index 000000000000..be13237a8044 --- /dev/null +++ b/dev-python/narwhals/Manifest @@ -0,0 +1 @@ +DIST narwhals-1.32.0.gh.tar.gz 683557 BLAKE2B 830ff49ba0c3dd41b9b35d78a29693b8d79a35e5be8a77a9cc4980f7e853fb60ae2221b486df8d17499608c97bf92aa74b199b048eb0b3ab8249c5e4906864e4 SHA512 cdae2b4b579bd011d57fd6f0b6e9fbff7150f97f03f94044c3ba31ca95a782bded605607d7281fe717d765adbb1e7409f16c4031c0df51b20ffa99fb10479889 diff --git a/dev-python/narwhals/metadata.xml b/dev-python/narwhals/metadata.xml new file mode 100644 index 000000000000..113b48318755 --- /dev/null +++ b/dev-python/narwhals/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + narwhals-dev/narwhals + narwhals + + diff --git a/dev-python/narwhals/narwhals-1.32.0.ebuild b/dev-python/narwhals/narwhals-1.32.0.ebuild new file mode 100644 index 000000000000..cdea211899e5 --- /dev/null +++ b/dev-python/narwhals/narwhals-1.32.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" +HOMEPAGE=" + https://github.com/narwhals-dev/narwhals/ + https://pypi.org/project/narwhals/ +" +# https://github.com/narwhals-dev/narwhals/issues/2284 +SRC_URI=" + https://github.com/narwhals-dev/narwhals/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-env[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --runslow --constructors="pandas,pandas[pyarrow],pyarrow" +}