dev-python/fastexcel: New package, v0.21.0

A (cyclic) test dependency for dev-python/polars.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-10-03 11:49:05 +02:00
parent 4518aed30f
commit bd786fed80
3 changed files with 65 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
DIST fastexcel-0.21.0-crates.tar.xz 13403116 BLAKE2B 72b7f5866aa0f350047449fc9340a8edb4d52ca562d164f8d33704397e7bff37bbf84d217bd20ce086f81392edecad1596f952b6782682e33334459d0cf833b0 SHA512 5095531f7bbe692a0f0983b515badb725bb128c1129cc04747432f9e677161fc33b4786f1b6dcd47abc839a15c5becec1507c70ba0b9df1f8cda87581dcb99a9
DIST fastexcel-0.21.0.gh.tar.gz 49567460 BLAKE2B 02d041d0e1fbd996164c9190e96b70729e8762eb61d4ee870ef45b01ddd5ea401affbe8d40a4e494d4ff53e0f7be6c79f6b8c8938845308f86b9fe18115fdda7 SHA512 573e4383bedb207fb5ef619b9657a5aa173b8744fdd8f540a924049f43b427e100aa4345c33cce42abf2e3abd3c61a6be29f51e9085771ffc05d934c22842ebf
@@ -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_{12..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
}
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">ToucanToco/fastexcel</remote-id>
<remote-id type="pypi">fastexcel</remote-id>
</upstream>
</pkgmetadata>