freebsd-ports/lang/prql/Makefile
2024-01-09 13:15:54 +01:00

495 lines
11 KiB
Makefile

PORTNAME= prql
DISTVERSION= 0.11.1
PORTREVISION= 1
CATEGORIES= lang databases
PKGNAMESUFFIX= -compiler
MAINTAINER= yuri@FreeBSD.org
COMMENT= Language for transforming data: powerful, pipelined SQL replacement
WWW= https://prql-lang.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo python:build
USE_GITHUB= yes
GH_ACCOUNT= PRQL
CARGO_CRATES= addr2line-0.19.0 \
adler-1.0.2 \
ahash-0.7.6 \
ahash-0.8.3 \
aho-corasick-1.1.2 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anes-0.1.6 \
ansi-to-html-0.2.1 \
anstream-0.6.5 \
anstyle-1.0.2 \
anstyle-parse-0.2.1 \
anstyle-query-1.0.0 \
anstyle-wincon-3.0.1 \
anyhow-1.0.76 \
ariadne-0.3.0 \
arrayvec-0.7.2 \
arrow-49.0.0 \
arrow-arith-49.0.0 \
arrow-array-49.0.0 \
arrow-buffer-49.0.0 \
arrow-cast-49.0.0 \
arrow-data-49.0.0 \
arrow-ord-49.0.0 \
arrow-row-49.0.0 \
arrow-schema-49.0.0 \
arrow-select-49.0.0 \
arrow-string-49.0.0 \
async-trait-0.1.68 \
asynchronous-codec-0.6.1 \
atty-0.2.14 \
autocfg-1.1.0 \
backtrace-0.3.67 \
base64-0.21.2 \
bigdecimal-0.3.1 \
bindgen-0.65.1 \
bitflags-1.3.2 \
bitflags-2.4.0 \
bitvec-1.0.1 \
block-buffer-0.10.4 \
borsh-0.10.3 \
borsh-derive-0.10.3 \
borsh-derive-internal-0.10.3 \
borsh-schema-derive-internal-0.10.3 \
bstr-0.2.17 \
bstr-1.6.2 \
bufstream-0.1.4 \
bumpalo-3.13.0 \
bytecheck-0.6.11 \
bytecheck_derive-0.6.11 \
byteorder-1.4.3 \
bytes-1.4.0 \
cast-0.3.0 \
cc-1.0.83 \
cesu8-1.1.0 \
cexpr-0.6.0 \
cfg-if-1.0.0 \
chrono-0.4.31 \
chumsky-0.9.2 \
ciborium-0.2.1 \
ciborium-io-0.2.1 \
ciborium-ll-0.2.1 \
clang-sys-1.6.1 \
clap-2.34.0 \
clap-4.4.11 \
clap_builder-4.4.11 \
clap_complete-4.4.4 \
clap_complete_command-0.5.1 \
clap_complete_fig-4.3.0 \
clap_complete_nushell-0.1.11 \
clap_derive-4.4.7 \
clap_lex-0.6.0 \
clio-0.3.3 \
cmake-0.1.50 \
color-eyre-0.6.2 \
color-spantrace-0.2.0 \
colorchoice-1.0.0 \
colorchoice-clap-1.0.0 \
combine-4.6.6 \
comfy-table-7.0.1 \
connection-string-0.2.0 \
console-0.15.7 \
console_error_panic_hook-0.1.7 \
const-random-0.1.15 \
const-random-macro-0.1.15 \
core-foundation-0.9.3 \
core-foundation-sys-0.8.4 \
cpufeatures-0.2.9 \
crc32fast-1.3.2 \
criterion-0.5.1 \
criterion-plot-0.5.0 \
crossbeam-0.8.2 \
crossbeam-channel-0.5.8 \
crossbeam-deque-0.8.3 \
crossbeam-epoch-0.9.14 \
crossbeam-queue-0.3.8 \
crossbeam-utils-0.8.16 \
crunchy-0.2.2 \
crypto-common-0.1.6 \
csv-1.3.0 \
csv-core-0.1.11 \
darling-0.20.1 \
darling_core-0.20.1 \
darling_macro-0.20.1 \
derive_utils-0.13.0 \
digest-0.10.7 \
duckdb-0.9.2 \
either-1.8.1 \
encode_unicode-0.3.6 \
encoding-0.2.33 \
encoding-index-japanese-1.20141219.5 \
encoding-index-korean-1.20141219.5 \
encoding-index-simpchinese-1.20141219.5 \
encoding-index-singlebyte-1.20141219.5 \
encoding-index-tradchinese-1.20141219.5 \
encoding_index_tests-0.1.4 \
enum-as-inner-0.6.0 \
enumflags2-0.7.7 \
enumflags2_derive-0.7.7 \
env_logger-0.10.1 \
equivalent-1.0.1 \
errno-0.3.3 \
errno-dragonfly-0.1.2 \
eyre-0.6.8 \
fallible-iterator-0.2.0 \
fallible-iterator-0.3.0 \
fallible-streaming-iterator-0.1.9 \
fastrand-2.0.0 \
filetime-0.2.22 \
flate2-1.0.26 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.1.0 \
frunk-0.4.1 \
frunk_core-0.4.1 \
frunk_derives-0.4.1 \
frunk_proc_macro_helpers-0.1.1 \
frunk_proc_macros-0.1.1 \
frunk_proc_macros_impl-0.1.1 \
fsevent-sys-4.1.0 \
funty-2.0.0 \
futures-0.3.29 \
futures-channel-0.3.29 \
futures-core-0.3.29 \
futures-executor-0.3.29 \
futures-io-0.3.29 \
futures-macro-0.3.29 \
futures-sink-0.3.29 \
futures-task-0.3.29 \
futures-timer-3.0.2 \
futures-util-0.3.29 \
generic-array-0.14.7 \
getrandom-0.2.9 \
gimli-0.27.2 \
glob-0.3.1 \
globset-0.4.14 \
half-1.8.2 \
half-2.2.1 \
handlebars-4.3.7 \
hashbrown-0.12.3 \
hashbrown-0.13.2 \
hashbrown-0.14.0 \
hashlink-0.8.2 \
heck-0.4.1 \
hermit-abi-0.1.19 \
hermit-abi-0.2.6 \
hermit-abi-0.3.2 \
hmac-0.12.1 \
humantime-2.1.0 \
iana-time-zone-0.1.57 \
iana-time-zone-haiku-0.1.2 \
ident_case-1.0.1 \
idna-0.3.0 \
indenter-0.3.3 \
indexmap-1.9.3 \
indexmap-2.0.0 \
indoc-2.0.4 \
inotify-0.9.6 \
inotify-sys-0.1.5 \
insta-1.34.0 \
insta-cmd-0.4.0 \
io-enum-1.1.0 \
is-terminal-0.4.9 \
itertools-0.10.5 \
itertools-0.12.0 \
itoa-1.0.9 \
jni-0.21.1 \
jni-sys-0.3.0 \
jobserver-0.1.26 \
js-sys-0.3.66 \
kqueue-1.0.7 \
kqueue-sys-1.0.3 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
lexical-6.1.1 \
lexical-core-0.8.5 \
lexical-parse-float-0.8.5 \
lexical-parse-integer-0.8.6 \
lexical-util-0.8.5 \
lexical-write-float-0.8.5 \
lexical-write-integer-0.8.5 \
libc-0.2.151 \
libduckdb-sys-0.9.2 \
libloading-0.7.4 \
libm-0.2.7 \
libsqlite3-sys-0.26.0 \
libz-sys-1.1.9 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.4.10 \
lock_api-0.4.9 \
log-0.4.20 \
lru-0.10.0 \
md-5-0.10.5 \
mdbook-0.4.36 \
mdbook-preprocessor-boilerplate-0.1.2 \
memchr-2.6.3 \
memoffset-0.8.0 \
memoffset-0.9.0 \
minijinja-0.31.0 \
minimal-lexical-0.2.1 \
miniz_oxide-0.6.2 \
miniz_oxide-0.7.1 \
mio-0.8.9 \
mysql-24.0.0 \
mysql-common-derive-0.30.2 \
mysql_common-0.30.4 \
named_pipe-0.4.1 \
native-tls-0.2.11 \
nom-7.1.3 \
normpath-1.1.1 \
notify-6.1.1 \
num-0.4.1 \
num-bigint-0.4.3 \
num-complex-0.4.3 \
num-integer-0.1.45 \
num-iter-0.1.43 \
num-rational-0.4.1 \
num-traits-0.2.16 \
num_cpus-1.15.0 \
object-0.30.3 \
once_cell-1.19.0 \
oorandom-11.1.3 \
opener-0.6.1 \
openssl-0.10.60 \
openssl-macros-0.1.1 \
openssl-probe-0.1.5 \
openssl-sys-0.9.96 \
owo-colors-3.5.0 \
parking_lot-0.12.1 \
parking_lot_core-0.9.7 \
pathdiff-0.2.1 \
peeking_take_while-0.1.2 \
pem-2.0.1 \
percent-encoding-2.2.0 \
pest-2.7.0 \
pest_derive-2.7.0 \
pest_generator-2.7.0 \
pest_meta-2.7.0 \
pg_bigdecimal-0.1.5 \
phf-0.11.1 \
phf_shared-0.11.1 \
pin-project-lite-0.2.12 \
pin-utils-0.1.0 \
pkg-config-0.3.27 \
plotters-0.3.4 \
plotters-backend-0.3.4 \
plotters-svg-0.3.3 \
postgres-0.19.7 \
postgres-protocol-0.6.6 \
postgres-types-0.2.5 \
ppv-lite86-0.2.17 \
pretty-hex-0.3.0 \
prettyplease-0.2.6 \
proc-macro-crate-0.1.5 \
proc-macro-crate-1.3.1 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro-hack-0.5.20+deprecated \
proc-macro2-1.0.70 \
psm-0.1.21 \
ptr_meta-0.1.4 \
ptr_meta_derive-0.1.4 \
pulldown-cmark-0.9.3 \
pulldown-cmark-to-cmark-11.0.2 \
pyo3-0.20.0 \
pyo3-build-config-0.20.0 \
pyo3-ffi-0.20.0 \
pyo3-macros-0.20.0 \
pyo3-macros-backend-0.20.0 \
quote-1.0.33 \
radium-0.7.0 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.4 \
rayon-1.7.0 \
rayon-core-1.11.0 \
redox_syscall-0.2.16 \
redox_syscall-0.3.5 \
regex-1.10.2 \
regex-automata-0.1.10 \
regex-automata-0.3.9 \
regex-automata-0.4.3 \
regex-syntax-0.8.2 \
relative-path-1.9.0 \
rend-0.4.0 \
ring-0.16.20 \
ring-0.17.3 \
rkyv-0.7.42 \
rkyv_derive-0.7.42 \
rstest-0.18.2 \
rstest_macros-0.18.2 \
rusqlite-0.29.0 \
rust_decimal-1.29.1 \
rustc-demangle-0.1.23 \
rustc-hash-1.1.0 \
rustc_version-0.4.0 \
rustix-0.38.19 \
rustler-0.30.0 \
rustler_codegen-0.30.0 \
rustler_sys-2.3.0 \
rustls-0.20.9 \
rustls-native-certs-0.6.3 \
rustls-pemfile-1.0.4 \
rustversion-1.0.14 \
ryu-1.0.15 \
same-file-1.0.6 \
saturating-0.1.0 \
schannel-0.1.21 \
scoped-tls-1.0.1 \
scopeguard-1.1.0 \
sct-0.7.1 \
seahash-4.1.0 \
security-framework-2.9.1 \
security-framework-sys-2.9.0 \
semver-1.0.20 \
serde-1.0.193 \
serde_derive-1.0.193 \
serde_json-1.0.108 \
serde_yaml-0.9.29 \
sha1-0.10.5 \
sha2-0.10.7 \
sharded-slab-0.1.4 \
shlex-1.1.0 \
signal-hook-registry-1.4.1 \
simdutf8-0.1.4 \
similar-2.3.0 \
similar-asserts-1.5.0 \
siphasher-0.3.10 \
slab-0.4.8 \
smallvec-1.10.0 \
socket2-0.5.5 \
spin-0.5.2 \
spin-0.9.8 \
sqlformat-0.2.3 \
sqlparser-0.41.0 \
stacker-0.1.15 \
static_assertions-1.1.0 \
stringprep-0.1.2 \
strsim-0.10.0 \
strum-0.24.1 \
strum-0.25.0 \
strum_macros-0.24.3 \
strum_macros-0.25.3 \
subprocess-0.2.9 \
subtle-2.5.0 \
syn-1.0.109 \
syn-2.0.43 \
tap-1.0.1 \
tar-0.4.38 \
target-lexicon-0.12.11 \
tempfile-3.8.0 \
termcolor-1.2.0 \
terminal_size-0.3.0 \
test_each_file-0.3.0 \
textwrap-0.11.0 \
thiserror-1.0.48 \
thiserror-impl-1.0.48 \
thread_local-1.1.7 \
tiberius-0.12.2 \
time-0.3.21 \
time-core-0.1.1 \
time-macros-0.2.9 \
tiny-keccak-2.0.2 \
tinytemplate-1.2.1 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.1 \
tokio-1.35.1 \
tokio-macros-2.2.0 \
tokio-postgres-0.7.10 \
tokio-rustls-0.23.4 \
tokio-util-0.7.10 \
toml-0.5.11 \
toml_datetime-0.6.2 \
toml_edit-0.19.10 \
topological-sort-0.2.2 \
tracing-0.1.37 \
tracing-attributes-0.1.26 \
tracing-core-0.1.31 \
tracing-error-0.2.0 \
tracing-subscriber-0.3.17 \
twox-hash-1.6.3 \
typenum-1.16.0 \
ucd-trie-0.1.6 \
unicase-2.6.0 \
unicode-bidi-0.3.13 \
unicode-ident-1.0.11 \
unicode-normalization-0.1.22 \
unicode-segmentation-1.10.1 \
unicode-width-0.1.10 \
unicode_categories-0.1.1 \
unindent-0.2.3 \
unreachable-1.0.0 \
unsafe-libyaml-0.2.10 \
untrusted-0.7.1 \
untrusted-0.9.0 \
url-2.3.1 \
utf8parse-0.2.1 \
uuid-1.3.3 \
valuable-0.1.0 \
vcpkg-0.2.15 \
version_check-0.9.4 \
void-1.0.2 \
walkdir-2.4.0 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.89 \
wasm-bindgen-backend-0.2.89 \
wasm-bindgen-futures-0.4.39 \
wasm-bindgen-macro-0.2.89 \
wasm-bindgen-macro-support-0.2.89 \
wasm-bindgen-shared-0.2.89 \
wasm-bindgen-test-0.3.39 \
wasm-bindgen-test-macro-0.3.39 \
web-sys-0.3.60 \
webpki-0.22.4 \
whoami-1.4.1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-0.48.0 \
windows-sys-0.42.0 \
windows-sys-0.45.0 \
windows-sys-0.48.0 \
windows-targets-0.42.2 \
windows-targets-0.48.0 \
windows_aarch64_gnullvm-0.42.2 \
windows_aarch64_gnullvm-0.48.0 \
windows_aarch64_msvc-0.42.2 \
windows_aarch64_msvc-0.48.0 \
windows_i686_gnu-0.42.2 \
windows_i686_gnu-0.48.0 \
windows_i686_msvc-0.42.2 \
windows_i686_msvc-0.48.0 \
windows_x86_64_gnu-0.42.2 \
windows_x86_64_gnu-0.48.0 \
windows_x86_64_gnullvm-0.42.2 \
windows_x86_64_gnullvm-0.48.0 \
windows_x86_64_msvc-0.42.2 \
windows_x86_64_msvc-0.48.0 \
winnow-0.4.6 \
wyz-0.5.1 \
xattr-0.2.3 \
yaml-rust-0.4.5 \
yansi-0.5.1
BINARY_ALIAS= python3=${PYTHON_CMD}
PLIST_FILES= bin/prqlc
do-install:
# workaround for error: found a virtual manifest at `xx` instead of a package manifest
${INSTALL_PROGRAM} \
${WRKDIR}/target/*/release/prqlc \
${STAGEDIR}${PREFIX}/bin/prqlc
.include <bsd.port.mk>