commit: b87ccbdc7d9d93563bf0da3def218050805fa36d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 04:29:35 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 05:35:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87ccbdc
dev-python/narwhals: Bump to 1.37.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/narwhals/Manifest | 1 +
dev-python/narwhals/narwhals-1.37.1.ebuild | 41 ++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index b3259a493337..8fff8672426a 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1,2 +1,3 @@
DIST narwhals-1.36.0.gh.tar.gz 704656 BLAKE2B
67e26ee719f112063e5a9d7fd06c6f102615ba308c6141a9b28758f85157686f83b1ee6552845bef5dd37490b85e9f6ef1008a02e5ac8a6e9e0e3fa8038f78f6
SHA512
e99bbfe060e9b9cda64a92a339be99e5703fe315c6793208874d5d95c8369770c6030152969a193295954b1b1e906335f1d4290c3b56e5418605810264bc6659
DIST narwhals-1.37.0.gh.tar.gz 708022 BLAKE2B
066b21f6263a7d8095f556ead50cfbe6176feb7704654038f0c8917ec1f1070cd33b0f637ad198094ed34f2d9d6d2c04cdc32bb521a0a17999d82fab26eb1183
SHA512
40c7ce30336edfa0c8d754dd200dffa2099a5e8cb55ef865e1b42c69b891049ed8b22ed78dcbc4d69596010fa4e3f269ecdd6cf21ea974702ec9df0cc32cc7a1
+DIST narwhals-1.37.1.gh.tar.gz 708868 BLAKE2B
0cda4e6febb2407b12db34068ba5419cfacc2003a6e4c9a62f713db8ab9994128ac6a739d09a8eb40ab543eb689c3867f3069841f761786a221eff5ef1b37b39
SHA512
3aeb15341f525397aff4ca389cafcdce3b433c0cdd7d0ad389592cfaf0c3837019660895b3a52923b84ce4f2b3f9d29670a962dcd5687dca1a4fe99977e49e20
diff --git a/dev-python/narwhals/narwhals-1.37.1.ebuild
b/dev-python/narwhals/narwhals-1.37.1.ebuild
new file mode 100644
index 000000000000..55bf60632d4f
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.37.1.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 ~arm64"
+
+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"
+}