commit: 7e855ac3a733321cf1965cfd37c7fb8071b57a7a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 8 04:20:16 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 8 04:45:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e855ac3
dev-python/narwhals: Bump to 1.34.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/narwhals/Manifest | 1 +
dev-python/narwhals/narwhals-1.34.0.ebuild | 41 ++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index f4f18a4b9c57..a645e024f087 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1,2 +1,3 @@
DIST narwhals-1.32.0.gh.tar.gz 683557 BLAKE2B
830ff49ba0c3dd41b9b35d78a29693b8d79a35e5be8a77a9cc4980f7e853fb60ae2221b486df8d17499608c97bf92aa74b199b048eb0b3ab8249c5e4906864e4
SHA512
cdae2b4b579bd011d57fd6f0b6e9fbff7150f97f03f94044c3ba31ca95a782bded605607d7281fe717d765adbb1e7409f16c4031c0df51b20ffa99fb10479889
DIST narwhals-1.33.0.gh.tar.gz 689586 BLAKE2B
e3e3b8540caf66e599dab3df78860eff10ab2b502a0c1d51054aff2cd573a0f2f11d1a8f95a67273311ea00b8469b33e1e43189abff33b0160f45bb1a324b78d
SHA512
03ee9992e7dcbf70a24bed784b890344831116891109001032ffadda24234c6c62a6a975e9765989789dc05ea93396b7fc8b2ab8f0aac40d0cc162de7c388843
+DIST narwhals-1.34.0.gh.tar.gz 692545 BLAKE2B
9463525dc1e1e8601abd071d76a1acd603b5d1d8a5ad872434fe33d498844a99d5d3f67f074ff00272e8bc671a064aeed406a912f1a955ad4a760431b8e5aff5
SHA512
4ed6ef2d896bb94cb75cb2584eeef669a14808b223a984cd89d7b648274d50cb85c1dc516e103a6c19dcf1ce56081b159ebf2503ed8d53088a8d7c78abfb0dc2
diff --git a/dev-python/narwhals/narwhals-1.34.0.ebuild
b/dev-python/narwhals/narwhals-1.34.0.ebuild
new file mode 100644
index 000000000000..cdea211899e5
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.34.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"
+}