diff --git a/narwhals-1.40.0.tar.gz b/narwhals-1.40.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8b6ff1bd954a2f20a5534a377a52352909dc0971 Binary files /dev/null and b/narwhals-1.40.0.tar.gz differ diff --git a/python-narwhals.spec b/python-narwhals.spec new file mode 100644 index 0000000000000000000000000000000000000000..4cdf8d5d6f29632a6cf42ecfbecf8bc8079001d8 --- /dev/null +++ b/python-narwhals.spec @@ -0,0 +1,58 @@ +# Created by pyp2rpm-3.3.5 +%global pypi_name narwhals + +Name: python-%{pypi_name} +Version: 1.40.0 +Release: 1 +Summary: Extremely lightweight compatibility layer between dataframe libraries + +License: MIT +URL: https://github.com/narwhals-dev/narwhals +Source0: %{pypi_source %{pypi_name} %{version}} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatch-vcs +BuildRequires: python3-hatchling +# for test +BuildRequires: python3-pytest +BuildRequires: python3-pandas +BuildRequires: python3-pyarrow + + +%global _description %{expand: +Extremely lightweight and extensible compatibility layer between dataframe libraries! + - Full API support: cuDF, Modin, pandas, Polars, PyArrow. + - Lazy-only support: Dask, DuckDB, Ibis, PySpark, SQLFrame. Work in progress: Daft. +Seamlessly support all, without depending on any!} + +%description %_description + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} %_description + + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + + +%files -n python3-%{pypi_name} +%license LICENSE.md +%doc README.md +%{python3_sitelib}/narwhals +%{python3_sitelib}/narwhals-*.dist-info/ + +%changelog +* Fri Jun 13 2025 Dongxing Wang - 1.40.0-1 +- Init package