mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
448 lines
10 KiB
Makefile
448 lines
10 KiB
Makefile
PORTNAME= ruff
|
|
DISTVERSION= 0.8.3
|
|
CATEGORIES= devel python
|
|
#MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Extremely fast Python linter and code formatter
|
|
WWW= https://astral.sh/ \
|
|
https://docs.astral.sh/ruff/ \
|
|
https://github.com/astral-sh/ruff
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.0:devel/py-maturin@${PY_FLAVOR} \
|
|
${PY_SETUPTOOLS} \
|
|
gmake:devel/gmake
|
|
LIB_DEPENDS= libzstd.so:archivers/zstd
|
|
|
|
USES= cargo python
|
|
USE_PYTHON= pep517 autoplist concurrent
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= astral-sh
|
|
|
|
CARGO_CRATES= adler-1.0.2 \
|
|
ahash-0.8.11 \
|
|
aho-corasick-1.1.3 \
|
|
android-tzdata-0.1.1 \
|
|
android_system_properties-0.1.5 \
|
|
anes-0.1.6 \
|
|
annotate-snippets-0.6.1 \
|
|
annotate-snippets-0.9.2 \
|
|
anstream-0.6.13 \
|
|
anstyle-1.0.8 \
|
|
anstyle-parse-0.2.3 \
|
|
anstyle-query-1.0.2 \
|
|
anstyle-wincon-3.0.2 \
|
|
anyhow-1.0.94 \
|
|
append-only-vec-0.1.5 \
|
|
arc-swap-1.7.1 \
|
|
argfile-0.2.1 \
|
|
arrayvec-0.7.4 \
|
|
assert_fs-1.1.2 \
|
|
autocfg-1.2.0 \
|
|
base64-0.13.1 \
|
|
base64-0.22.0 \
|
|
bincode-1.3.3 \
|
|
bitflags-1.3.2 \
|
|
bitflags-2.6.0 \
|
|
block-buffer-0.10.4 \
|
|
boxcar-0.2.7 \
|
|
bstr-1.11.0 \
|
|
bumpalo-3.16.0 \
|
|
byteorder-1.5.0 \
|
|
cachedir-0.3.1 \
|
|
camino-1.1.9 \
|
|
cast-0.3.0 \
|
|
castaway-0.2.3 \
|
|
cc-1.2.2 \
|
|
cfg-if-1.0.0 \
|
|
cfg_aliases-0.1.1 \
|
|
cfg_aliases-0.2.1 \
|
|
chic-1.2.2 \
|
|
chrono-0.4.38 \
|
|
ciborium-0.2.2 \
|
|
ciborium-io-0.2.2 \
|
|
ciborium-ll-0.2.2 \
|
|
clap-4.5.23 \
|
|
clap_builder-4.5.23 \
|
|
clap_complete-4.5.2 \
|
|
clap_complete_command-0.6.1 \
|
|
clap_complete_nushell-4.5.2 \
|
|
clap_derive-4.5.18 \
|
|
clap_lex-0.7.4 \
|
|
clearscreen-3.0.0 \
|
|
codspeed-2.7.2 \
|
|
codspeed-criterion-compat-2.7.2 \
|
|
colorchoice-1.0.0 \
|
|
colored-2.1.0 \
|
|
compact_str-0.8.0 \
|
|
console-0.15.8 \
|
|
console_error_panic_hook-0.1.7 \
|
|
console_log-1.0.0 \
|
|
core-foundation-sys-0.8.6 \
|
|
countme-3.0.1 \
|
|
cpufeatures-0.2.13 \
|
|
crc32fast-1.4.0 \
|
|
criterion-0.5.1 \
|
|
criterion-plot-0.5.0 \
|
|
crossbeam-0.8.4 \
|
|
crossbeam-channel-0.5.12 \
|
|
crossbeam-deque-0.8.5 \
|
|
crossbeam-epoch-0.9.18 \
|
|
crossbeam-queue-0.3.11 \
|
|
crossbeam-utils-0.8.19 \
|
|
crunchy-0.2.2 \
|
|
crypto-common-0.1.6 \
|
|
ctrlc-3.4.5 \
|
|
darling-0.20.8 \
|
|
darling_core-0.20.8 \
|
|
darling_macro-0.20.8 \
|
|
dashmap-5.5.3 \
|
|
dashmap-6.1.0 \
|
|
diff-0.1.13 \
|
|
difflib-0.4.0 \
|
|
digest-0.10.7 \
|
|
dir-test-0.4.1 \
|
|
dir-test-macros-0.4.1 \
|
|
dirs-4.0.0 \
|
|
dirs-5.0.1 \
|
|
dirs-sys-0.3.7 \
|
|
dirs-sys-0.4.1 \
|
|
displaydoc-0.2.5 \
|
|
doc-comment-0.3.3 \
|
|
drop_bomb-0.1.5 \
|
|
dunce-1.0.5 \
|
|
dyn-clone-1.0.17 \
|
|
either-1.11.0 \
|
|
encode_unicode-0.3.6 \
|
|
env_filter-0.1.0 \
|
|
env_logger-0.11.5 \
|
|
equivalent-1.0.1 \
|
|
errno-0.3.8 \
|
|
etcetera-0.8.0 \
|
|
fastrand-2.1.1 \
|
|
fern-0.7.0 \
|
|
filetime-0.2.25 \
|
|
flate2-1.0.28 \
|
|
fnv-1.0.7 \
|
|
form_urlencoded-1.2.1 \
|
|
fs-err-2.11.0 \
|
|
fsevent-sys-4.1.0 \
|
|
generic-array-0.14.7 \
|
|
getopts-0.2.21 \
|
|
getrandom-0.2.14 \
|
|
glob-0.3.1 \
|
|
globset-0.4.15 \
|
|
globwalk-0.9.1 \
|
|
half-2.4.1 \
|
|
hashbrown-0.14.5 \
|
|
hashbrown-0.15.2 \
|
|
hashlink-0.9.1 \
|
|
heck-0.5.0 \
|
|
hermit-abi-0.3.9 \
|
|
home-0.5.9 \
|
|
humantime-2.1.0 \
|
|
iana-time-zone-0.1.60 \
|
|
iana-time-zone-haiku-0.1.2 \
|
|
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_macros-1.5.0 \
|
|
ident_case-1.0.1 \
|
|
idna-1.0.3 \
|
|
idna_adapter-1.2.0 \
|
|
ignore-0.4.23 \
|
|
imara-diff-0.1.7 \
|
|
imperative-1.0.6 \
|
|
indexmap-2.7.0 \
|
|
indicatif-0.17.9 \
|
|
indoc-2.0.5 \
|
|
inotify-0.10.2 \
|
|
inotify-sys-0.1.5 \
|
|
insta-1.41.1 \
|
|
insta-cmd-0.6.0 \
|
|
instant-0.1.12 \
|
|
is-docker-0.2.0 \
|
|
is-macro-0.3.7 \
|
|
is-terminal-0.4.12 \
|
|
is-wsl-0.4.0 \
|
|
itertools-0.10.5 \
|
|
itertools-0.13.0 \
|
|
itoa-1.0.11 \
|
|
jobserver-0.1.32 \
|
|
jod-thread-0.1.2 \
|
|
js-sys-0.3.74 \
|
|
kqueue-1.0.8 \
|
|
kqueue-sys-1.0.4 \
|
|
lazy_static-1.4.0 \
|
|
libc-0.2.167 \
|
|
libcst-1.5.1 \
|
|
libcst_derive-1.4.0 \
|
|
libmimalloc-sys-0.1.39 \
|
|
libredox-0.1.3 \
|
|
linked-hash-map-0.5.6 \
|
|
linux-raw-sys-0.4.14 \
|
|
litemap-0.7.3 \
|
|
lock_api-0.4.11 \
|
|
log-0.4.22 \
|
|
lsp-server-0.7.7 \
|
|
matchers-0.1.0 \
|
|
matches-0.1.10 \
|
|
matchit-0.8.5 \
|
|
memchr-2.7.4 \
|
|
mimalloc-0.1.43 \
|
|
minicov-0.3.5 \
|
|
minimal-lexical-0.2.1 \
|
|
miniz_oxide-0.7.2 \
|
|
mio-1.0.2 \
|
|
natord-1.0.9 \
|
|
newtype-uuid-1.1.3 \
|
|
nix-0.28.0 \
|
|
nix-0.29.0 \
|
|
nom-7.1.3 \
|
|
notify-7.0.0 \
|
|
notify-types-1.0.0 \
|
|
nu-ansi-term-0.46.0 \
|
|
nu-ansi-term-0.50.1 \
|
|
num-traits-0.2.18 \
|
|
number_prefix-0.4.0 \
|
|
once_cell-1.20.2 \
|
|
oorandom-11.1.3 \
|
|
option-ext-0.2.0 \
|
|
ordermap-0.5.4 \
|
|
os_str_bytes-7.0.0 \
|
|
overload-0.1.1 \
|
|
parking_lot-0.12.3 \
|
|
parking_lot_core-0.9.9 \
|
|
paste-1.0.15 \
|
|
path-absolutize-3.1.1 \
|
|
path-dedot-3.1.1 \
|
|
path-slash-0.2.1 \
|
|
pathdiff-0.2.3 \
|
|
peg-0.8.4 \
|
|
peg-macros-0.8.4 \
|
|
peg-runtime-0.8.3 \
|
|
pep440_rs-0.7.3 \
|
|
pep508_rs-0.9.1 \
|
|
percent-encoding-2.3.1 \
|
|
pest-2.7.11 \
|
|
pest_derive-2.7.11 \
|
|
pest_generator-2.7.11 \
|
|
pest_meta-2.7.11 \
|
|
phf-0.11.2 \
|
|
phf_codegen-0.11.2 \
|
|
phf_generator-0.11.2 \
|
|
phf_shared-0.11.2 \
|
|
pin-project-lite-0.2.14 \
|
|
pkg-config-0.3.30 \
|
|
portable-atomic-1.6.0 \
|
|
ppv-lite86-0.2.17 \
|
|
predicates-3.1.2 \
|
|
predicates-core-1.0.8 \
|
|
predicates-tree-1.0.11 \
|
|
pretty_assertions-1.4.1 \
|
|
proc-macro2-1.0.92 \
|
|
pyproject-toml-0.13.4 \
|
|
quick-junit-0.5.1 \
|
|
quick-xml-0.37.1 \
|
|
quickcheck-1.0.3 \
|
|
quickcheck_macros-1.0.0 \
|
|
quote-1.0.37 \
|
|
rand-0.8.5 \
|
|
rand_chacha-0.3.1 \
|
|
rand_core-0.6.4 \
|
|
rayon-1.10.0 \
|
|
rayon-core-1.12.1 \
|
|
redox_syscall-0.4.1 \
|
|
redox_syscall-0.5.3 \
|
|
redox_users-0.4.5 \
|
|
regex-1.11.1 \
|
|
regex-automata-0.1.10 \
|
|
regex-automata-0.4.8 \
|
|
regex-syntax-0.6.29 \
|
|
regex-syntax-0.8.5 \
|
|
ring-0.17.8 \
|
|
ron-0.7.1 \
|
|
rust-stemmers-1.2.0 \
|
|
rustc-hash-1.1.0 \
|
|
rustc-hash-2.1.0 \
|
|
rustix-0.38.40 \
|
|
rustls-0.23.19 \
|
|
rustls-pki-types-1.10.0 \
|
|
rustls-webpki-0.102.8 \
|
|
rustversion-1.0.15 \
|
|
ryu-1.0.17 \
|
|
same-file-1.0.6 \
|
|
schemars-0.8.21 \
|
|
schemars_derive-0.8.21 \
|
|
scoped-tls-1.0.1 \
|
|
scopeguard-1.2.0 \
|
|
seahash-4.1.0 \
|
|
serde-1.0.215 \
|
|
serde-wasm-bindgen-0.6.5 \
|
|
serde_derive-1.0.215 \
|
|
serde_derive_internals-0.29.0 \
|
|
serde_json-1.0.133 \
|
|
serde_repr-0.1.19 \
|
|
serde_spanned-0.6.7 \
|
|
serde_test-1.0.177 \
|
|
serde_with-3.11.0 \
|
|
serde_with_macros-3.11.0 \
|
|
sha2-0.10.8 \
|
|
sharded-slab-0.1.7 \
|
|
shellexpand-3.1.0 \
|
|
shlex-1.3.0 \
|
|
similar-2.6.0 \
|
|
siphasher-0.3.11 \
|
|
smallvec-1.13.2 \
|
|
spin-0.9.8 \
|
|
stable_deref_trait-1.2.0 \
|
|
static_assertions-1.1.0 \
|
|
strip-ansi-escapes-0.2.0 \
|
|
strsim-0.10.0 \
|
|
strsim-0.11.1 \
|
|
strum-0.26.3 \
|
|
strum_macros-0.26.4 \
|
|
subtle-2.5.0 \
|
|
syn-1.0.109 \
|
|
syn-2.0.90 \
|
|
synstructure-0.13.1 \
|
|
tempfile-3.14.0 \
|
|
terminal_size-0.4.0 \
|
|
terminfo-0.8.0 \
|
|
termtree-0.4.1 \
|
|
test-case-3.3.1 \
|
|
test-case-core-3.3.1 \
|
|
test-case-macros-3.3.1 \
|
|
thiserror-1.0.67 \
|
|
thiserror-2.0.6 \
|
|
thiserror-impl-1.0.67 \
|
|
thiserror-impl-2.0.6 \
|
|
thread_local-1.1.8 \
|
|
tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 \
|
|
tikv-jemallocator-0.6.0 \
|
|
tinystr-0.7.6 \
|
|
tinytemplate-1.2.1 \
|
|
tinyvec-1.6.0 \
|
|
tinyvec_macros-0.1.1 \
|
|
toml-0.8.19 \
|
|
toml_datetime-0.6.8 \
|
|
toml_edit-0.22.20 \
|
|
tracing-0.1.41 \
|
|
tracing-attributes-0.1.28 \
|
|
tracing-core-0.1.33 \
|
|
tracing-flame-0.2.0 \
|
|
tracing-indicatif-0.3.8 \
|
|
tracing-log-0.2.0 \
|
|
tracing-subscriber-0.3.19 \
|
|
tracing-tree-0.4.0 \
|
|
typed-arena-2.0.2 \
|
|
typenum-1.17.0 \
|
|
ucd-trie-0.1.6 \
|
|
unic-char-property-0.9.0 \
|
|
unic-char-range-0.9.0 \
|
|
unic-common-0.9.0 \
|
|
unic-ucd-category-0.9.0 \
|
|
unic-ucd-version-0.9.0 \
|
|
unicode-ident-1.0.14 \
|
|
unicode-normalization-0.1.24 \
|
|
unicode-width-0.1.13 \
|
|
unicode-width-0.2.0 \
|
|
unicode_names2-1.3.0 \
|
|
unicode_names2_generator-1.3.0 \
|
|
unscanny-0.1.0 \
|
|
untrusted-0.9.0 \
|
|
ureq-2.12.1 \
|
|
url-2.5.4 \
|
|
urlencoding-2.1.3 \
|
|
utf16_iter-1.0.5 \
|
|
utf8_iter-1.0.4 \
|
|
utf8parse-0.2.1 \
|
|
uuid-1.11.0 \
|
|
uuid-macro-internal-1.11.0 \
|
|
valuable-0.1.0 \
|
|
version-ranges-0.1.1 \
|
|
version_check-0.9.4 \
|
|
vt100-0.15.2 \
|
|
vte-0.11.1 \
|
|
vte_generate_state_changes-0.1.1 \
|
|
walkdir-2.5.0 \
|
|
wasi-0.11.0+wasi-snapshot-preview1 \
|
|
wasm-bindgen-0.2.97 \
|
|
wasm-bindgen-backend-0.2.97 \
|
|
wasm-bindgen-futures-0.4.47 \
|
|
wasm-bindgen-macro-0.2.97 \
|
|
wasm-bindgen-macro-support-0.2.97 \
|
|
wasm-bindgen-shared-0.2.97 \
|
|
wasm-bindgen-test-0.3.47 \
|
|
wasm-bindgen-test-macro-0.3.47 \
|
|
web-sys-0.3.74 \
|
|
web-time-1.1.0 \
|
|
webpki-roots-0.26.1 \
|
|
which-6.0.1 \
|
|
wild-2.2.1 \
|
|
winapi-0.3.9 \
|
|
winapi-i686-pc-windows-gnu-0.4.0 \
|
|
winapi-util-0.1.8 \
|
|
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
|
windows-core-0.52.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.18 \
|
|
winsafe-0.0.19 \
|
|
write16-1.0.0 \
|
|
writeable-0.5.5 \
|
|
yansi-1.0.1 \
|
|
yansi-term-0.1.2 \
|
|
yoke-0.7.4 \
|
|
yoke-derive-0.7.4 \
|
|
zerocopy-0.7.32 \
|
|
zerocopy-derive-0.7.32 \
|
|
zerofrom-0.1.4 \
|
|
zerofrom-derive-0.1.4 \
|
|
zeroize-1.7.0 \
|
|
zerovec-0.10.4 \
|
|
zerovec-derive-0.10.3 \
|
|
zip-0.6.6 \
|
|
zstd-0.11.2+zstd.1.5.2 \
|
|
zstd-safe-5.0.2+zstd.1.5.2 \
|
|
zstd-sys-2.0.11+zstd.1.5.6 \
|
|
salsa,salsa-macro-rules,salsa-macros@git+https://github.com/salsa-rs/salsa.git?rev=254c749b02cde2fd29852a7463a33e800b771758\#254c749b02cde2fd29852a7463a33e800b771758 \
|
|
lsp-types@git+https://github.com/astral-sh/lsp-types.git?rev=3512a9f\#3512a9f33eadc5402cfab1b8f7340824c8ca1439
|
|
|
|
CARGO_BUILD= no
|
|
CARGO_INSTALL= no
|
|
CARGO_TEST= no
|
|
CARGO_TARGET_DIR= ${WRKSRC}/target
|
|
|
|
# suggested to the upstream to add an ability to use the external ruff executable, see https://github.com/astral-sh/ruff/issues/11932
|
|
|
|
.include <bsd.port.mk>
|