commit:     503d96945fe12696da41496601b35407ed44fe9e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May  9 01:38:26 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  9 01:49:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=503d9694

dev-python/narwhals: Bump to 1.38.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/narwhals/Manifest               |  1 +
 dev-python/narwhals/narwhals-1.38.2.ebuild | 41 ++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index dfc093181031..d42913e0e134 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1,2 +1,3 @@
 DIST narwhals-1.37.1.gh.tar.gz 708868 BLAKE2B 
0cda4e6febb2407b12db34068ba5419cfacc2003a6e4c9a62f713db8ab9994128ac6a739d09a8eb40ab543eb689c3867f3069841f761786a221eff5ef1b37b39
 SHA512 
3aeb15341f525397aff4ca389cafcdce3b433c0cdd7d0ad389592cfaf0c3837019660895b3a52923b84ce4f2b3f9d29670a962dcd5687dca1a4fe99977e49e20
 DIST narwhals-1.38.0.gh.tar.gz 714872 BLAKE2B 
f60b828c20849866ac2b0a48a4d3cdd21c80c1f2d48beb1cfe1f519e09f9ea7e045ab3824de886a880e3e5385786e73208bc69a6bd8c1c06b94c3161f3be4d6c
 SHA512 
668f57d7830d70992477f5ac7d917abaf95b36ade8c0b60c93d1ed6eb5f4aa892c83812aedd5056b32d6498d727804d835d880ddc41a2e6a0630fee05e30e581
+DIST narwhals-1.38.2.gh.tar.gz 715904 BLAKE2B 
b813fbf86e9210d3d232e06a5de390678742c81ccc6338d3f3c8e79bdd3c95046b947e8924ef736d55b40ed0808cf505e190e0cba14f33f6e46560396847ab99
 SHA512 
d0e01b754c77ff9764d42360cfcc38f35b1282ed1ce162f69dc1f28299484d1723de4ac13eadf8f7f8852c665c01f2ff9650f3103575e1781cfe5791d3f8748c

diff --git a/dev-python/narwhals/narwhals-1.38.2.ebuild 
b/dev-python/narwhals/narwhals-1.38.2.ebuild
new file mode 100644
index 000000000000..937934d8aef9
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.38.2.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_{11..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[nullable],pandas[pyarrow],pyarrow"
+}

Reply via email to