summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/narwhals/Manifest1
-rw-r--r--dev-python/narwhals/narwhals-1.35.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 64cc9a1cda62..3c3da8256164 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1 +1,2 @@
DIST narwhals-1.34.1.gh.tar.gz 692736 BLAKE2B cdde47102f74ab7cb3917943997f003020d58c4470e2be0ce512683fe45334e85fe5614b7984e1a1ca1c200576bdcc194ed537e3f0a2b8b99c712af2c61a650e SHA512 83aa76aa208f7faff0bb9a24ce31fb8e1d91aed9edc1376790d61c561f580b441f4016b1bb9cdb0ca849d432c09392bd9fd697da7631a7ac2af2779314fe6ba9
+DIST narwhals-1.35.0.gh.tar.gz 695990 BLAKE2B 3e631ca1553a9c528daccb62ccff4ce5fac4fd3c2d24359619736be5424afe1d9025375857c6c3806ce6b65b2379afd67011f45a861f3062ebaf519d0b047e24 SHA512 47b9ceb9ee714ae406bba19d0731a49dd07ad625b77709febff84bf990f32ce373ac41b61d224a0c9bf6474797328fbecdcbd81dfa3a7ae98afa91a77e1ea551
diff --git a/dev-python/narwhals/narwhals-1.35.0.ebuild b/dev-python/narwhals/narwhals-1.35.0.ebuild
new file mode 100644
index 000000000000..cdea211899e5
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.35.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"
+}