Files
guru/app-text/typstyle/typstyle-0.12.12.ebuild
Huang Rui 1428575d3a app-text/typstyle: fix not respect CFLAGS QA
- typstyle is a pure rust program and should add to QA_FLAGS_IGNORED

Closes: https://bugs.gentoo.org/946834
Signed-off-by: Huang Rui <vowstar@gmail.com>
2024-12-23 11:09:03 +08:00

549 lines
10 KiB
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.13.4
EAPI=8
CRATES="
addr2line@0.24.2
adler2@2.0.0
ahash@0.7.8
ahash@0.8.11
aho-corasick@1.1.3
android-tzdata@0.1.1
android_system_properties@0.1.5
anes@0.1.6
anstream@0.6.18
anstyle-parse@0.2.6
anstyle-query@1.1.2
anstyle-wincon@3.0.6
anstyle@1.0.10
anyhow@1.0.94
approx@0.5.1
archery@1.2.1
arrayref@0.3.9
arrayvec@0.5.2
arrayvec@0.7.6
autocfg@1.4.0
az@1.2.1
backtrace@0.3.74
base64@0.22.1
biblatex@0.10.0
bincode@1.3.3
bit-set@0.5.3
bit-vec@0.6.3
bitflags@1.3.2
bitflags@2.6.0
bitvec@1.0.1
block-buffer@0.10.4
bumpalo@3.16.0
by_address@1.2.1
bytecheck@0.6.12
bytecheck_derive@0.6.12
bytemuck@1.20.0
byteorder-lite@0.1.0
byteorder@1.5.0
bytes@1.9.0
camino@1.1.9
cargo-platform@0.1.9
cargo_metadata@0.19.1
cast@0.3.0
cc@1.2.3
cfg-if@1.0.0
cfg_aliases@0.2.1
chinese-number@0.7.7
chinese-variant@1.1.3
chrono@0.4.39
ciborium-io@0.2.2
ciborium-ll@0.2.2
ciborium@0.2.2
citationberg@0.4.0
clap@4.5.23
clap_builder@4.5.23
clap_complete@4.5.38
clap_derive@4.5.18
clap_lex@0.7.4
cobs@0.2.3
codespan-reporting@0.11.1
color_quant@1.1.0
colorchoice@1.0.3
comemo-macros@0.4.0
comemo@0.4.0
console@0.15.8
core-foundation-sys@0.8.7
core-foundation@0.9.4
core_maths@0.1.0
cpufeatures@0.2.16
crc32fast@1.4.2
criterion-plot@0.5.0
criterion@0.5.1
crossbeam-channel@0.5.13
crossbeam-deque@0.8.5
crossbeam-epoch@0.9.18
crossbeam-queue@0.3.11
crossbeam-utils@0.8.20
crunchy@0.2.2
crypto-common@0.1.6
csv-core@0.1.11
csv@1.3.1
darling@0.20.10
darling_core@0.20.10
darling_macro@0.20.10
dashmap@5.5.3
data-url@0.3.1
deranged@0.3.11
derive_builder@0.20.2
derive_builder_core@0.20.2
derive_builder_macro@0.20.2
diff@0.1.13
digest@0.10.7
dirs-sys@0.4.1
dirs@5.0.1
displaydoc@0.2.5
downcast-rs@1.2.1
ecow@0.2.3
either@1.13.0
embedded-io@0.4.0
embedded-io@0.6.1
encode_unicode@0.3.6
enum-ordinalize-derive@4.3.1
enum-ordinalize@4.3.0
equivalent@1.0.1
errno@0.3.10
escape8259@0.5.3
fancy-regex@0.11.0
fast-srgb8@1.0.0
fastrand@2.3.0
fdeflate@0.3.7
filetime@0.2.25
flate2@1.0.35
float-cmp@0.9.0
fnv@1.0.7
fontconfig-parser@0.5.7
fontdb@0.21.0
foreign-types-shared@0.1.1
foreign-types@0.3.2
form_urlencoded@1.2.1
fsevent-sys@4.1.0
funty@2.0.0
futures-channel@0.3.31
futures-core@0.3.31
futures-executor@0.3.31
futures-io@0.3.31
futures-macro@0.3.31
futures-sink@0.3.31
futures-task@0.3.31
futures-util@0.3.31
futures@0.3.31
fxhash@0.2.1
generic-array@0.14.7
getrandom@0.2.15
gif@0.13.1
gimli@0.31.1
half@2.4.1
hashbrown@0.12.3
hashbrown@0.14.5
hashbrown@0.15.2
hayagriva@0.8.0
heck@0.5.0
hermit-abi@0.4.0
hex@0.4.3
http-body-util@0.1.2
http-body@1.0.1
http@1.2.0
httparse@1.9.5
hyper-rustls@0.27.3
hyper-tls@0.6.0
hyper-util@0.1.10
hyper@1.5.1
hypher@0.1.5
iana-time-zone-haiku@0.1.2
iana-time-zone@0.1.61
icu_collections@1.5.0
icu_locid@1.5.0
icu_locid_transform@1.5.0
icu_locid_transform_data@1.5.0
icu_normalizer@1.5.0
icu_normalizer_data@1.5.0
icu_properties@1.5.1
icu_properties_data@1.5.0
icu_provider@1.5.0
icu_provider_adapters@1.5.0
icu_provider_blob@1.5.0
icu_provider_macros@1.5.0
icu_segmenter@1.5.0
icu_segmenter_data@1.5.0
ident_case@1.0.1
idna@1.0.3
idna_adapter@1.2.0
if_chain@1.0.2
image-webp@0.1.3
image@0.25.5
imagesize@0.13.0
indexmap-nostd@0.4.0
indexmap@1.9.3
indexmap@2.7.0
inotify-sys@0.1.5
inotify@0.9.6
insta@1.41.1
instant@0.1.13
ipnet@2.10.1
is-terminal@0.4.13
is_terminal_polyfill@1.70.1
itertools@0.10.5
itertools@0.13.0
itoa@1.0.14
js-sys@0.3.76
kamadak-exif@0.5.5
kqueue-sys@1.0.4
kqueue@1.0.8
kurbo@0.11.1
lazy_static@1.5.0
libc@0.2.168
libm@0.2.11
libredox@0.1.3
libtest-mimic@0.8.1
linked-hash-map@0.5.6
linux-raw-sys@0.4.14
lipsum@0.9.1
litemap@0.7.4
lock_api@0.4.12
log@0.4.22
memchr@2.7.4
memmap2@0.9.5
mime@0.3.17
mime_guess@2.0.5
miniz_oxide@0.8.0
mio@0.8.11
mio@1.0.3
multi-stash@0.2.0
mutate_once@0.1.1
native-tls@0.2.12
nohash-hasher@0.2.0
notify@6.1.1
num-bigint@0.4.6
num-conv@0.1.0
num-derive@0.4.2
num-integer@0.1.46
num-traits@0.2.19
num_threads@0.1.7
numerals@0.1.4
object@0.36.5
once_cell@1.20.2
oorandom@11.1.4
openssl-macros@0.1.1
openssl-probe@0.1.5
openssl-sys@0.9.104
openssl@0.10.68
option-ext@0.2.0
palette@0.7.6
palette_derive@0.7.6
parking_lot@0.12.3
parking_lot_core@0.9.10
paste@1.0.15
path-clean@1.0.1
pathdiff@0.2.3
pdf-writer@0.12.0
percent-encoding@2.3.1
phf@0.11.2
phf_generator@0.11.2
phf_macros@0.11.2
phf_shared@0.11.2
pico-args@0.5.0
pin-project-lite@0.2.15
pin-utils@0.1.0
pixglyph@0.5.1
pkg-config@0.3.31
plist@1.7.0
plotters-backend@0.3.7
plotters-svg@0.3.7
plotters@0.3.7
png@0.17.15
portable-atomic@1.10.0
postcard@1.1.1
powerfmt@0.2.0
ppv-lite86@0.2.20
pretty@0.12.3
pretty_assertions@1.4.1
proc-macro2@1.0.92
psm@0.1.24
ptr_meta@0.1.4
ptr_meta_derive@0.1.4
qcms@0.3.0
quick-error@2.0.1
quick-xml@0.32.0
quick-xml@0.36.2
quinn-proto@0.11.9
quinn-udp@0.5.8
quinn@0.11.6
quote@1.0.37
radium@0.7.0
rand@0.8.5
rand_chacha@0.3.1
rand_core@0.6.4
rayon-core@1.12.1
rayon@1.10.0
redox_syscall@0.5.8
redox_users@0.4.6
reflexo-typst-shim@0.5.1
reflexo-typst2vec@0.5.1
reflexo-typst@0.5.1
reflexo-vfs@0.5.1
reflexo-world@0.5.1
reflexo@0.5.1
regex-automata@0.4.9
regex-syntax@0.8.5
regex@1.11.1
rend@0.4.2
reqwest@0.12.9
resvg@0.43.0
rgb@0.8.50
ring@0.17.8
rkyv@0.7.45
rkyv_derive@0.7.45
roxmltree@0.20.0
rpds@1.1.0
rust_decimal@1.36.0
rustc-demangle@0.1.24
rustc-hash@2.1.0
rustc_version@0.4.1
rustix@0.38.42
rustls-pemfile@2.2.0
rustls-pki-types@1.10.0
rustls-webpki@0.102.8
rustls@0.23.19
rustversion@1.0.18
rustybuzz@0.18.0
ryu@1.0.18
same-file@1.0.6
schannel@0.1.27
scopeguard@1.2.0
seahash@4.1.0
security-framework-sys@2.12.1
security-framework@2.11.1
semver@1.0.23
serde@1.0.216
serde_derive@1.0.216
serde_json@1.0.133
serde_repr@0.1.19
serde_spanned@0.6.8
serde_urlencoded@0.7.1
serde_with@3.11.0
serde_with_macros@3.11.0
serde_yaml@0.9.34+deprecated
sha2@0.10.8
shlex@1.3.0
signal-hook-registry@1.4.2
simd-adler32@0.3.7
simdutf8@0.1.5
similar@2.6.0
simplecss@0.2.1
siphasher@0.3.11
siphasher@1.0.1
slab@0.4.9
slotmap@1.0.7
smallvec@1.13.2
socket2@0.5.8
spin@0.9.8
stable_deref_trait@1.2.0
stacker@0.1.17
strict-num@0.1.1
string-interner@0.17.0
strsim@0.11.1
strum@0.26.3
strum_macros@0.26.4
subsetter@0.2.0
subtle@2.6.1
svg2pdf@0.12.0
svgtypes@0.15.2
syn@1.0.109
syn@2.0.90
sync_wrapper@1.0.2
synstructure@0.13.1
syntect@5.2.0
tap@1.0.1
tar@0.4.43
tempfile@3.14.0
termcolor@1.4.1
thin-vec@0.2.13
thiserror-impl@1.0.69
thiserror-impl@2.0.6
thiserror@1.0.69
thiserror@2.0.6
time-core@0.1.2
time-macros@0.2.19
time@0.3.37
tiny-skia-path@0.11.4
tiny-skia@0.11.4
tinystr@0.7.6
tinytemplate@1.2.1
tinyvec@1.8.0
tinyvec_macros@0.1.1
tokio-macros@2.4.0
tokio-native-tls@0.3.1
tokio-rustls@0.26.1
tokio@1.42.0
toml@0.8.19
toml_datetime@0.6.8
toml_edit@0.22.22
tower-service@0.3.3
tracing-core@0.1.33
tracing@0.1.41
triomphe@0.1.14
try-lock@0.2.5
ttf-parser@0.24.1
two-face@0.4.0
typed-arena@2.0.2
typenum@1.17.0
typst-assets@0.12.0
typst-macros@0.12.0
typst-pdf@0.12.0
typst-render@0.12.0
typst-syntax@0.12.0
typst-timing@0.12.0
typst-utils@0.12.0
typst@0.12.0
unic-langid-impl@0.9.5
unic-langid@0.9.5
unicase@2.8.0
unicode-bidi-mirroring@0.3.0
unicode-bidi@0.3.17
unicode-ccc@0.3.0
unicode-ident@1.0.14
unicode-math-class@0.1.0
unicode-normalization@0.1.24
unicode-properties@0.1.3
unicode-script@0.5.7
unicode-segmentation@1.12.0
unicode-vo@0.1.0
unicode-width@0.1.14
unsafe-libyaml@0.2.11
unscanny@0.1.0
untrusted@0.9.0
url@2.5.4
usvg@0.43.0
utf16_iter@1.0.5
utf8_iter@1.0.4
utf8parse@0.2.2
uuid@1.11.0
vcpkg@0.2.15
vergen-gitcl@1.0.2
vergen-lib@0.1.5
vergen@9.0.2
version_check@0.9.5
walkdir@2.5.0
want@0.3.1
wasi@0.11.0+wasi-snapshot-preview1
wasm-bindgen-backend@0.2.99
wasm-bindgen-futures@0.4.49
wasm-bindgen-macro-support@0.2.99
wasm-bindgen-macro@0.2.99
wasm-bindgen-shared@0.2.99
wasm-bindgen@0.2.99
wasmi@0.35.0
wasmi_collections@0.35.0
wasmi_core@0.35.0
wasmparser-nostd@0.100.2
web-sys@0.3.76
web-time@1.1.0
webpki-roots@0.26.7
weezl@0.1.8
winapi-util@0.1.9
windows-core@0.52.0
windows-registry@0.2.0
windows-result@0.2.0
windows-strings@0.1.0
windows-sys@0.48.0
windows-sys@0.52.0
windows-sys@0.59.0
windows-targets@0.48.5
windows-targets@0.52.6
windows_aarch64_gnullvm@0.48.5
windows_aarch64_gnullvm@0.52.6
windows_aarch64_msvc@0.48.5
windows_aarch64_msvc@0.52.6
windows_i686_gnu@0.48.5
windows_i686_gnu@0.52.6
windows_i686_gnullvm@0.52.6
windows_i686_msvc@0.48.5
windows_i686_msvc@0.52.6
windows_x86_64_gnu@0.48.5
windows_x86_64_gnu@0.52.6
windows_x86_64_gnullvm@0.48.5
windows_x86_64_gnullvm@0.52.6
windows_x86_64_msvc@0.48.5
windows_x86_64_msvc@0.52.6
winnow@0.6.20
write16@1.0.0
writeable@0.5.5
wyz@0.5.1
xattr@1.3.1
xmlparser@0.13.6
xmlwriter@0.1.0
xmp-writer@0.3.0
yaml-rust@0.4.5
yansi@1.0.1
yoke-derive@0.7.5
yoke@0.7.5
zerocopy-derive@0.7.35
zerocopy@0.7.35
zerofrom-derive@0.1.5
zerofrom@0.1.5
zeroize@1.8.1
zerotrie@0.1.3
zerovec-derive@0.10.3
zerovec@0.10.4
zune-core@0.4.12
zune-jpeg@0.4.13
"
inherit edo cargo
DESCRIPTION="A beautiful and reliable code formatter for Typst"
HOMEPAGE="https://enter-tainer.github.io/typstyle/"
SRC_URI="
https://github.com/Enter-tainer/${PN}/archive/v${PV}/${P}.tar.gz
${CARGO_CRATE_URIS}
"
LICENSE="Apache-2.0"
# Dependent crate licenses
LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
MPL-2.0 Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
app-text/typst
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-vcs/git
test? ( dev-util/cargo-nextest )
"
QA_FLAGS_IGNORED="usr/bin/typstyle"
DOCS=( README.md )
src_compile() {
export VERGEN_GIT_DESCRIBE="v${PV}"
export VERGEN_GIT_SHA=$(gunzip < "${DISTDIR}/${P}.tar.gz" | git get-tar-commit-id)
cargo_src_compile
}
src_install() {
cargo_src_install --path "${S}/crates/${PN}"
einstalldocs
}
src_test() {
edo cargo nextest run --workspace -E 'test([typst])' --no-fail-fast --no-default-features
}