summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-22 07:46:07 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-22 08:00:58 +0200
commit0bd6b8849c0dfac255408c07ae967c478486e163 (patch)
treec9ce49d9a8d2e15a112e6b3bae5839eb7f14da14 /dev-python
parentec0a5d08672070671588bcd3fbc7c010fcfc976b (diff)
downloadgentoo-0bd6b8849c0dfac255408c07ae967c478486e163.tar.gz
gentoo-0bd6b8849c0dfac255408c07ae967c478486e163.tar.bz2
gentoo-0bd6b8849c0dfac255408c07ae967c478486e163.zip
dev-python/narwhals: Bump to 1.48.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/narwhals/Manifest1
-rw-r--r--dev-python/narwhals/narwhals-1.48.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 24679c632be1..a7d00944fb5d 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1 +1,2 @@
DIST narwhals-1.47.1.tar.gz 516244 BLAKE2B 432b08ab90e596be515d46cba4fa7911ee6703aa80d71ea56fbb1af390ee30cb3c0d021a840c73cd6b533f3de7f4d430da28bab31530c7e4578deaca16148166 SHA512 f00a128007f32b765283b806f80063a538c402ca1082d626e48c8a536b193eb056fcd4b9ab828ccf44360cce5f72c64f1c77aeb39d7be9f8412f78eebb7db8c3
+DIST narwhals-1.48.0.tar.gz 515112 BLAKE2B 554c6d5e91762390a641e90d02f2e6a23e54fcff535a0a4757063ca2cd2b33046bfc3020d04dd983d0e7babd29a0585a026cf4b81a2cc265f1715019daf0864d SHA512 f2793a5ee0a99d0c339c24b707a2eb68b0445cef99c774058481c6b98e25c7bc2cf644f2c1ca19d74bfaddd750d5697fb843ec4eff0c61d42e6068ef20ecdbef
diff --git a/dev-python/narwhals/narwhals-1.48.0.ebuild b/dev-python/narwhals/narwhals-1.48.0.ebuild
new file mode 100644
index 000000000000..ca91f77283c1
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.48.0.ebuild
@@ -0,0 +1,36 @@
+# 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 pypi
+
+DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries"
+HOMEPAGE="
+ https://github.com/narwhals-dev/narwhals/
+ https://pypi.org/project/narwhals/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="
+ test? (
+ >=dev-python/pandas-1.1.3[${PYTHON_USEDEP}]
+ >=dev-python/pyarrow-13.0.0[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( hypothesis pytest-env )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ # make hypothesis more forgiving
+ local -x CI=1
+ epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow"
+}