summaryrefslogtreecommitdiff
path: root/dev-python/tibs/tibs-1.1.0.ebuild
blob: ba7b4283c47df7aa22a8ebefdde7c4534d47a96a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
PYTHON_COMPAT=( python3_{13..14} )

RUST_MIN_VER="1.87.0"
CRATES="
	allocator-api2@0.2.21
	anyhow@1.0.102
	bitflags@2.11.0
	bitvec@1.1.1
	block-buffer@0.12.0
	bytemuck@1.25.0
	cc@1.2.60
	cfg-if@1.0.4
	chacha20@0.10.0
	const-oid@0.10.2
	cpufeatures@0.3.0
	crunchy@0.2.4
	crypto-common@0.2.2
	digest@0.11.3
	equivalent@1.0.2
	find-msvc-tools@0.1.9
	foldhash@0.1.5
	foldhash@0.2.0
	funty@2.0.0
	getrandom@0.3.4
	getrandom@0.4.1
	half@2.7.1
	hashbrown@0.15.5
	hashbrown@0.16.1
	hashbrown@0.17.1
	heck@0.5.0
	hex@0.4.3
	hybrid-array@0.4.12
	id-arena@2.3.0
	indexmap@2.13.0
	itoa@1.0.17
	jobserver@0.1.34
	leb128fmt@0.1.0
	libc@0.2.182
	log@0.4.29
	lru@0.18.0
	memchr@2.8.1
	once_cell@1.21.3
	pkg-config@0.3.33
	portable-atomic@1.13.1
	prettyplease@0.2.37
	proc-macro2@1.0.106
	pyo3-build-config@0.29.0
	pyo3-ffi@0.29.0
	pyo3-macros-backend@0.29.0
	pyo3-macros@0.29.0
	pyo3@0.29.0
	quote@1.0.44
	r-efi@5.3.0
	radium@0.7.0
	rand@0.10.0
	rand_core@0.10.0
	semver@1.0.27
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_json@1.0.149
	sha2@0.11.0
	shlex@1.3.0
	syn@2.0.117
	tap@1.0.1
	target-lexicon@0.13.5
	typenum@1.20.1
	unicode-ident@1.0.24
	unicode-xid@0.2.6
	wasip2@1.0.2+wasi-0.2.9
	wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
	wasm-encoder@0.244.0
	wasm-metadata@0.244.0
	wasmparser@0.244.0
	wit-bindgen-core@0.51.0
	wit-bindgen-rust-macro@0.51.0
	wit-bindgen-rust@0.51.0
	wit-bindgen@0.51.0
	wit-component@0.244.0
	wit-parser@0.244.0
	wyz@0.5.1
	zerocopy-derive@0.8.40
	zerocopy@0.8.40
	zmij@1.0.21
	zstd-safe@7.2.4
	zstd-sys@2.0.16+zstd.1.5.7
	zstd@0.13.3
"

inherit cargo distutils-r1 pypi

DESCRIPTION="A sleek Python library for your binary data"
HOMEPAGE="
	https://github.com/scott-griffiths/tibs/
	https://pypi.org/project/tibs/
"
SRC_URI+="
	${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 ZLIB"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 x86"

DEPEND="
	app-arch/zstd:=
"
RDEPEND="
	${DEPEND}
"

EPYTEST_PLUGINS=( hypothesis )
distutils_enable_tests pytest

EPYTEST_IGNORE=(
	tests/test_benchmarks.py
)

QA_FLAGS_IGNORED="usr/lib/python3.*/site-packages/tibs/tibs.abi3.*"

# enable system libraries where supported
export ZSTD_SYS_USE_PKG_CONFIG=1