summaryrefslogtreecommitdiff
path: root/dev-python/narwhals
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-08 07:08:24 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-08 08:02:57 +0200
commitd46e27ec61d8a9e6fd11b66e52f667fa18b8eed1 (patch)
treec874e2e2a2dcc6adffa03210427b0975502eaec0 /dev-python/narwhals
parenteae77ecdc123111623842edee38ec6e2b2955abb (diff)
dev-python/narwhals: Bump to 1.46.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/narwhals')
-rw-r--r--dev-python/narwhals/Manifest1
-rw-r--r--dev-python/narwhals/narwhals-1.46.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index c2965f9384bf..62255d373272 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1 +1,2 @@
DIST narwhals-1.45.0.tar.gz 508812 BLAKE2B 97096eb26440f64e190fb707566a1641d060df1b5e4f46feff164b8c2db262e78e78756024bdad34018419bd359035bb1ae54b65822c2c27fb05a67b7bdcd186 SHA512 42e8dcb48865356fe63b80306ee3113bb311dfbf1340a075dd541f481735c541564f2d584b29bb89c394469b51a1f25fe5f7533068c0a3848c9321a3219778b8
+DIST narwhals-1.46.0.tar.gz 512060 BLAKE2B 7d1b5da00a9f8ea1da46d10d783a04eb11ecf83acfa819d7e91cbd142fa18d5cc833d5867f206c9dd726fb0dc5f342cd6723ae9e4ba68b4584ae92f54362a4f6 SHA512 2a3da2628389c805d78af2047340cf00d2cac44a0bff4616d4211ac28878bc2e88355936ecd69fd6d82694c3e4423953d294adbdfb7f77768489865d40f9d1a6
diff --git a/dev-python/narwhals/narwhals-1.46.0.ebuild b/dev-python/narwhals/narwhals-1.46.0.ebuild
new file mode 100644
index 000000000000..1c9b23cde8b0
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.46.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[${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"
+}