diff options
| author | Crucible <crucible@localhost> | 2026-10-04 03:05:07 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-04 03:05:07 -0500 |
| commit | bbb006370a87e5c60f21145a1c97a8dbbe42e7fe (patch) | |
| tree | f0397e839e6239674e6cad42f8e49f0241607566 /dev-python/fastexcel/fastexcel-0.21.0.ebuild | |
| parent | 36119ada8749c8c36efe79da1292bedd773ec7ab (diff) | |
| download | srcux-develop.tar.gz srcux-develop.tar.xz srcux-develop.zip | |
Diffstat (limited to 'dev-python/fastexcel/fastexcel-0.21.0.ebuild')
| -rw-r--r-- | dev-python/fastexcel/fastexcel-0.21.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/fastexcel/fastexcel-0.21.0.ebuild b/dev-python/fastexcel/fastexcel-0.21.0.ebuild new file mode 100644 index 000000000000..74a2fcb7eca9 --- /dev/null +++ b/dev-python/fastexcel/fastexcel-0.21.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.88.0" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cargo distutils-r1 + +DESCRIPTION="A fast excel file reader for Python, written in Rust" +HOMEPAGE=" + https://github.com/ToucanToco/fastexcel/ + https://pypi.org/project/fastexcel/ +" +SRC_URI=" + https://github.com/ToucanToco/fastexcel/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz + https://github.com/gentoo-crate-dist/fastexcel/releases/download/v${PV}/${P}-crates.tar.xz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + CC0-1.0 MIT Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/polars[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +QA_PREBUILT="/usr/lib/python.*/site-packages/fastexcel/_fastexcel.*" + +python_test() { + rm -rf python/fastexcel || die + epytest +} |
