mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
devel/py-maturin: Update to 1.2.0
* Switch to PEP517 build framework and remove workarounds for distutils which are no longer required. * Remove restriction for 32-bit architectures as the generation of 32-bit Python wheels is now possible for FreeBSD. [1] Changelogs since 0.13.2: https://github.com/PyO3/maturin/blob/v1.2.0/Changelog.md PR: 272570, 272620 [1] Reported by: Miroslav Lachman, John Hein [1] MFH: No (feature release and breaking changes)
This commit is contained in:
parent
f5ff0dcf95
commit
f74de16438
@ -1,7 +1,6 @@
|
|||||||
PORTNAME= maturin
|
PORTNAME= maturin
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 0.13.2
|
DISTVERSION= 1.2.0
|
||||||
PORTREVISION= 10
|
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
@ -14,314 +13,303 @@ LICENSE_COMB= dual
|
|||||||
LICENSE_FILE_APACHE20= ${WRKSRC}/license-apache
|
LICENSE_FILE_APACHE20= ${WRKSRC}/license-apache
|
||||||
LICENSE_FILE_MIT= ${WRKSRC}/license-mit
|
LICENSE_FILE_MIT= ${WRKSRC}/license-mit
|
||||||
|
|
||||||
# Although the port builds fine on some 32-bit architectures (e.g. i386) it
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||||
# doesn't support creating 32-bit Python wheels for FreeBSD. Thus save build
|
${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.4.0:devel/py-setuptools-rust@${PY_FLAVOR} \
|
||||||
# time and skip the port at a early stage.
|
${PYTHON_PKGNAMEPREFIX}wheel>=0.36.2:devel/py-wheel@${PY_FLAVOR}
|
||||||
NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc
|
|
||||||
NOT_FOR_ARCHS_REASON= the creation of 32-bit Python wheels is not supported for FreeBSD
|
|
||||||
|
|
||||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.4.0:devel/py-setuptools-rust@${PY_FLAVOR}
|
|
||||||
|
|
||||||
USES= cargo python
|
USES= cargo python
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= PyO3
|
GH_ACCOUNT= PyO3
|
||||||
USE_PYTHON= autoplist concurrent distutils
|
USE_PYTHON= autoplist concurrent pep517
|
||||||
|
|
||||||
CARGO_CRATES= addr2line-0.17.0 \
|
CARGO_CRATES= adler-1.0.2 \
|
||||||
adler-1.0.2 \
|
ahash-0.7.6 \
|
||||||
aes-0.7.5 \
|
aho-corasick-0.7.20 \
|
||||||
aho-corasick-0.7.18 \
|
anstream-0.3.2 \
|
||||||
anyhow-1.0.61 \
|
anstyle-1.0.1 \
|
||||||
async-io-1.7.0 \
|
anstyle-parse-0.2.1 \
|
||||||
atty-0.2.14 \
|
anstyle-query-1.0.0 \
|
||||||
|
anstyle-wincon-1.0.1 \
|
||||||
|
anyhow-1.0.72 \
|
||||||
autocfg-1.1.0 \
|
autocfg-1.1.0 \
|
||||||
backtrace-0.3.66 \
|
base64-0.13.1 \
|
||||||
base64-0.13.0 \
|
base64-0.21.2 \
|
||||||
bitflags-1.3.2 \
|
bitflags-1.3.2 \
|
||||||
block-buffer-0.9.0 \
|
block-buffer-0.10.4 \
|
||||||
block-buffer-0.10.2 \
|
bstr-1.6.0 \
|
||||||
block-modes-0.8.1 \
|
bumpalo-3.13.0 \
|
||||||
block-padding-0.2.1 \
|
|
||||||
bstr-0.2.17 \
|
|
||||||
bumpalo-3.10.0 \
|
|
||||||
byteorder-1.4.3 \
|
byteorder-1.4.3 \
|
||||||
bytes-1.2.1 \
|
bytes-1.4.0 \
|
||||||
bytesize-1.1.0 \
|
bytesize-1.2.0 \
|
||||||
bzip2-0.4.3 \
|
bzip2-0.4.4 \
|
||||||
bzip2-sys-0.1.11+1.0.8 \
|
bzip2-sys-0.1.11+1.0.8 \
|
||||||
cab-0.4.1 \
|
cab-0.4.1 \
|
||||||
cache-padded-1.2.0 \
|
camino-1.1.6 \
|
||||||
camino-1.1.1 \
|
cargo-config2-0.1.8 \
|
||||||
cargo-options-0.3.1 \
|
cargo-options-0.6.0 \
|
||||||
cargo-platform-0.1.2 \
|
cargo-platform-0.1.3 \
|
||||||
cargo-xwin-0.10.2 \
|
cargo-xwin-0.14.6 \
|
||||||
cargo-zigbuild-0.12.0 \
|
cargo-zigbuild-0.17.0 \
|
||||||
cargo_metadata-0.15.0 \
|
cargo_metadata-0.17.0 \
|
||||||
cbindgen-0.24.3 \
|
cbindgen-0.24.5 \
|
||||||
cc-1.0.73 \
|
cc-1.0.81 \
|
||||||
cfb-0.7.3 \
|
cfb-0.7.3 \
|
||||||
|
cfg-expr-0.15.4 \
|
||||||
cfg-if-1.0.0 \
|
cfg-if-1.0.0 \
|
||||||
charset-0.1.3 \
|
charset-0.1.3 \
|
||||||
chunked_transfer-1.4.0 \
|
chumsky-0.9.2 \
|
||||||
cipher-0.3.0 \
|
clap-4.1.14 \
|
||||||
clap-3.2.17 \
|
clap_builder-4.1.14 \
|
||||||
clap_complete-3.2.4 \
|
clap_complete-4.2.3 \
|
||||||
clap_complete_fig-3.2.4 \
|
clap_complete_command-0.5.1 \
|
||||||
clap_derive-3.2.17 \
|
clap_complete_fig-4.2.0 \
|
||||||
clap_lex-0.2.4 \
|
clap_complete_nushell-0.1.11 \
|
||||||
|
clap_derive-4.1.14 \
|
||||||
|
clap_lex-0.4.1 \
|
||||||
cli-table-0.4.7 \
|
cli-table-0.4.7 \
|
||||||
combine-4.6.6 \
|
colorchoice-1.0.0 \
|
||||||
concurrent-queue-1.2.4 \
|
configparser-3.0.2 \
|
||||||
configparser-3.0.0 \
|
console-0.15.7 \
|
||||||
console-0.15.1 \
|
content_inspector-0.2.4 \
|
||||||
core-foundation-0.9.3 \
|
core-foundation-0.9.3 \
|
||||||
core-foundation-sys-0.8.3 \
|
core-foundation-sys-0.8.4 \
|
||||||
cpufeatures-0.2.2 \
|
cpufeatures-0.2.9 \
|
||||||
crc32fast-1.3.2 \
|
crc32fast-1.3.2 \
|
||||||
crossbeam-channel-0.5.6 \
|
crossbeam-channel-0.5.8 \
|
||||||
crossbeam-deque-0.8.2 \
|
crossbeam-deque-0.8.3 \
|
||||||
crossbeam-epoch-0.9.10 \
|
crossbeam-epoch-0.9.15 \
|
||||||
crossbeam-utils-0.8.11 \
|
crossbeam-utils-0.8.16 \
|
||||||
crypto-common-0.1.6 \
|
crypto-common-0.1.6 \
|
||||||
crypto-mac-0.11.1 \
|
data-encoding-2.4.0 \
|
||||||
data-encoding-2.3.2 \
|
dialoguer-0.10.4 \
|
||||||
derivative-2.2.0 \
|
diff-0.1.13 \
|
||||||
dialoguer-0.10.2 \
|
digest-0.10.7 \
|
||||||
digest-0.9.0 \
|
dirs-5.0.1 \
|
||||||
digest-0.10.3 \
|
dirs-sys-0.4.1 \
|
||||||
dirs-4.0.0 \
|
dunce-1.0.4 \
|
||||||
dirs-sys-0.3.7 \
|
either-1.9.0 \
|
||||||
dunce-1.0.2 \
|
|
||||||
either-1.7.0 \
|
|
||||||
encode_unicode-0.3.6 \
|
encode_unicode-0.3.6 \
|
||||||
encoding-0.2.33 \
|
encoding_rs-0.8.32 \
|
||||||
encoding-index-japanese-1.20141219.5 \
|
errno-0.3.1 \
|
||||||
encoding-index-korean-1.20141219.5 \
|
errno-dragonfly-0.1.2 \
|
||||||
encoding-index-simpchinese-1.20141219.5 \
|
fastrand-1.9.0 \
|
||||||
encoding-index-singlebyte-1.20141219.5 \
|
fat-macho-0.4.7 \
|
||||||
encoding-index-tradchinese-1.20141219.5 \
|
filetime-0.2.21 \
|
||||||
encoding_index_tests-0.1.4 \
|
flate2-1.0.26 \
|
||||||
encoding_rs-0.8.31 \
|
|
||||||
enumflags2-0.6.4 \
|
|
||||||
enumflags2_derive-0.6.4 \
|
|
||||||
env_logger-0.7.1 \
|
|
||||||
fastrand-1.8.0 \
|
|
||||||
fat-macho-0.4.5 \
|
|
||||||
filetime-0.2.17 \
|
|
||||||
flate2-1.0.24 \
|
|
||||||
fnv-1.0.7 \
|
fnv-1.0.7 \
|
||||||
foreign-types-0.3.2 \
|
foreign-types-0.3.2 \
|
||||||
foreign-types-shared-0.1.1 \
|
foreign-types-shared-0.1.1 \
|
||||||
form_urlencoded-1.0.1 \
|
form_urlencoded-1.2.0 \
|
||||||
fs-err-2.7.0 \
|
fs-err-2.9.0 \
|
||||||
futures-0.3.21 \
|
generic-array-0.14.7 \
|
||||||
futures-channel-0.3.21 \
|
getrandom-0.2.10 \
|
||||||
futures-core-0.3.21 \
|
glob-0.3.1 \
|
||||||
futures-executor-0.3.21 \
|
globset-0.4.10 \
|
||||||
futures-io-0.3.21 \
|
goblin-0.7.1 \
|
||||||
futures-lite-1.12.0 \
|
|
||||||
futures-macro-0.3.21 \
|
|
||||||
futures-sink-0.3.21 \
|
|
||||||
futures-task-0.3.21 \
|
|
||||||
futures-util-0.3.21 \
|
|
||||||
generic-array-0.14.6 \
|
|
||||||
getrandom-0.2.7 \
|
|
||||||
gimli-0.26.2 \
|
|
||||||
glob-0.3.0 \
|
|
||||||
globset-0.4.9 \
|
|
||||||
goblin-0.5.3 \
|
|
||||||
hashbrown-0.12.3 \
|
hashbrown-0.12.3 \
|
||||||
heck-0.4.0 \
|
heck-0.4.1 \
|
||||||
hermit-abi-0.1.19 \
|
hermit-abi-0.3.1 \
|
||||||
hkdf-0.11.0 \
|
home-0.5.5 \
|
||||||
hmac-0.11.0 \
|
humantime-2.1.0 \
|
||||||
human-panic-1.0.3 \
|
humantime-serde-1.1.1 \
|
||||||
humantime-1.3.0 \
|
idna-0.4.0 \
|
||||||
idna-0.2.3 \
|
ignore-0.4.20 \
|
||||||
ignore-0.4.18 \
|
indexmap-1.9.3 \
|
||||||
indexmap-1.9.1 \
|
indicatif-0.17.6 \
|
||||||
indicatif-0.17.0-rc.6 \
|
indoc-2.0.3 \
|
||||||
indoc-1.0.7 \
|
|
||||||
instant-0.1.12 \
|
instant-0.1.12 \
|
||||||
itertools-0.10.3 \
|
io-lifetimes-1.0.11 \
|
||||||
itoa-1.0.3 \
|
is-terminal-0.4.7 \
|
||||||
js-sys-0.3.59 \
|
itertools-0.10.5 \
|
||||||
keyring-1.2.0 \
|
itoa-1.0.9 \
|
||||||
|
js-sys-0.3.64 \
|
||||||
|
keyring-2.0.5 \
|
||||||
lazy_static-1.4.0 \
|
lazy_static-1.4.0 \
|
||||||
lddtree-0.2.9 \
|
lddtree-0.3.3 \
|
||||||
libc-0.2.131 \
|
libc-0.2.147 \
|
||||||
lock_api-0.4.7 \
|
linux-keyutils-0.2.3 \
|
||||||
log-0.4.17 \
|
linux-raw-sys-0.3.8 \
|
||||||
|
lock_api-0.4.10 \
|
||||||
|
log-0.4.19 \
|
||||||
lzxd-0.1.4 \
|
lzxd-0.1.4 \
|
||||||
mailparse-0.13.8 \
|
mailparse-0.14.0 \
|
||||||
matchers-0.1.0 \
|
matchers-0.1.0 \
|
||||||
matches-0.1.9 \
|
|
||||||
memchr-2.5.0 \
|
memchr-2.5.0 \
|
||||||
memoffset-0.6.5 \
|
memoffset-0.9.0 \
|
||||||
mime-0.3.16 \
|
mime-0.3.17 \
|
||||||
mime_guess-2.0.4 \
|
mime_guess-2.0.4 \
|
||||||
minijinja-0.17.0 \
|
minijinja-1.0.5 \
|
||||||
miniz_oxide-0.5.3 \
|
minimal-lexical-0.2.1 \
|
||||||
msi-0.5.0 \
|
miniz_oxide-0.7.1 \
|
||||||
|
msi-0.5.1 \
|
||||||
multipart-0.18.0 \
|
multipart-0.18.0 \
|
||||||
native-tls-0.2.10 \
|
native-tls-0.2.11 \
|
||||||
nb-connect-1.2.0 \
|
nom-7.1.3 \
|
||||||
nix-0.22.3 \
|
normalize-line-endings-0.3.0 \
|
||||||
num-0.4.0 \
|
normpath-1.1.1 \
|
||||||
num-bigint-0.4.3 \
|
nu-ansi-term-0.46.0 \
|
||||||
num-complex-0.4.2 \
|
num_cpus-1.16.0 \
|
||||||
num-integer-0.1.45 \
|
|
||||||
num-iter-0.1.43 \
|
|
||||||
num-rational-0.4.1 \
|
|
||||||
num-traits-0.2.15 \
|
|
||||||
num_cpus-1.13.1 \
|
|
||||||
num_threads-0.1.6 \
|
|
||||||
number_prefix-0.4.0 \
|
number_prefix-0.4.0 \
|
||||||
object-0.29.0 \
|
once_cell-1.18.0 \
|
||||||
once_cell-1.13.0 \
|
openssl-0.10.55 \
|
||||||
opaque-debug-0.3.0 \
|
openssl-macros-0.1.1 \
|
||||||
openssl-0.10.41 \
|
|
||||||
openssl-macros-0.1.0 \
|
|
||||||
openssl-probe-0.1.5 \
|
openssl-probe-0.1.5 \
|
||||||
openssl-sys-0.9.75 \
|
openssl-sys-0.9.90 \
|
||||||
os_str_bytes-6.3.0 \
|
option-ext-0.2.0 \
|
||||||
os_type-2.4.0 \
|
os_pipe-1.1.4 \
|
||||||
parking-2.0.0 \
|
overload-0.1.1 \
|
||||||
parking_lot-0.12.1 \
|
parking_lot-0.12.1 \
|
||||||
parking_lot_core-0.9.3 \
|
parking_lot_core-0.9.8 \
|
||||||
|
paste-1.0.14 \
|
||||||
path-slash-0.2.1 \
|
path-slash-0.2.1 \
|
||||||
pep440-0.2.0 \
|
pep440_rs-0.3.6 \
|
||||||
percent-encoding-2.1.0 \
|
pep508_rs-0.2.1 \
|
||||||
pin-project-lite-0.2.9 \
|
percent-encoding-2.3.0 \
|
||||||
pin-utils-0.1.0 \
|
pin-project-lite-0.2.10 \
|
||||||
pkg-config-0.3.25 \
|
pkg-config-0.3.27 \
|
||||||
plain-0.2.3 \
|
plain-0.2.3 \
|
||||||
platform-info-0.2.0 \
|
platform-info-2.0.2 \
|
||||||
polling-2.2.0 \
|
portable-atomic-1.4.2 \
|
||||||
ppv-lite86-0.2.16 \
|
ppv-lite86-0.2.17 \
|
||||||
pretty_env_logger-0.4.0 \
|
pretty_assertions-1.4.0 \
|
||||||
proc-macro-crate-0.1.5 \
|
proc-macro2-1.0.66 \
|
||||||
proc-macro-crate-1.2.1 \
|
psm-0.1.21 \
|
||||||
proc-macro-error-1.0.4 \
|
pyproject-toml-0.6.1 \
|
||||||
proc-macro-error-attr-1.0.4 \
|
python-pkginfo-0.5.6 \
|
||||||
proc-macro2-1.0.43 \
|
quote-1.0.32 \
|
||||||
pyproject-toml-0.3.1 \
|
quoted_printable-0.4.8 \
|
||||||
python-pkginfo-0.5.4 \
|
|
||||||
quick-error-1.2.3 \
|
|
||||||
quote-1.0.21 \
|
|
||||||
quoted_printable-0.4.5 \
|
|
||||||
rand-0.8.5 \
|
rand-0.8.5 \
|
||||||
rand_chacha-0.3.1 \
|
rand_chacha-0.3.1 \
|
||||||
rand_core-0.6.3 \
|
rand_core-0.6.4 \
|
||||||
rayon-1.5.3 \
|
rayon-1.7.0 \
|
||||||
rayon-core-1.9.3 \
|
rayon-core-1.11.0 \
|
||||||
redox_syscall-0.2.16 \
|
redox_syscall-0.2.16 \
|
||||||
|
redox_syscall-0.3.5 \
|
||||||
redox_users-0.4.3 \
|
redox_users-0.4.3 \
|
||||||
regex-1.6.0 \
|
regex-1.7.3 \
|
||||||
regex-automata-0.1.10 \
|
regex-automata-0.1.10 \
|
||||||
regex-syntax-0.6.27 \
|
regex-syntax-0.6.29 \
|
||||||
remove_dir_all-0.5.3 \
|
rfc2047-decoder-0.2.2 \
|
||||||
rfc2047-decoder-0.1.2 \
|
|
||||||
ring-0.16.20 \
|
ring-0.16.20 \
|
||||||
rpassword-7.0.0 \
|
|
||||||
rustc-demangle-0.1.21 \
|
|
||||||
rustc_version-0.4.0 \
|
rustc_version-0.4.0 \
|
||||||
rustls-0.20.6 \
|
rustix-0.37.23 \
|
||||||
ryu-1.0.11 \
|
rustls-0.21.2 \
|
||||||
|
rustls-pemfile-1.0.3 \
|
||||||
|
rustls-webpki-0.100.1 \
|
||||||
|
rustversion-1.0.14 \
|
||||||
|
ryu-1.0.15 \
|
||||||
same-file-1.0.6 \
|
same-file-1.0.6 \
|
||||||
schannel-0.1.20 \
|
schannel-0.1.22 \
|
||||||
scoped-tls-1.0.0 \
|
scopeguard-1.2.0 \
|
||||||
scopeguard-1.1.0 \
|
|
||||||
scroll-0.11.0 \
|
scroll-0.11.0 \
|
||||||
scroll_derive-0.11.0 \
|
scroll_derive-0.11.1 \
|
||||||
sct-0.7.0 \
|
sct-0.7.0 \
|
||||||
secret-service-2.0.2 \
|
security-framework-2.9.2 \
|
||||||
security-framework-2.6.1 \
|
security-framework-sys-2.9.1 \
|
||||||
security-framework-sys-2.6.1 \
|
semver-1.0.18 \
|
||||||
semver-1.0.13 \
|
serde-1.0.182 \
|
||||||
serde-1.0.143 \
|
serde_derive-1.0.182 \
|
||||||
serde_derive-1.0.143 \
|
serde_json-1.0.104 \
|
||||||
serde_json-1.0.83 \
|
serde_spanned-0.6.3 \
|
||||||
serde_repr-0.1.9 \
|
sha2-0.10.7 \
|
||||||
sha2-0.9.9 \
|
|
||||||
sha2-0.10.2 \
|
|
||||||
sharded-slab-0.1.4 \
|
sharded-slab-0.1.4 \
|
||||||
slab-0.4.7 \
|
shell-escape-0.1.5 \
|
||||||
smallvec-1.9.0 \
|
shell-words-1.1.0 \
|
||||||
|
shlex-1.1.0 \
|
||||||
|
similar-2.2.1 \
|
||||||
|
smallvec-1.11.0 \
|
||||||
smawk-0.3.1 \
|
smawk-0.3.1 \
|
||||||
socket2-0.4.4 \
|
snapbox-0.4.11 \
|
||||||
|
snapbox-macros-0.3.4 \
|
||||||
socks-0.3.4 \
|
socks-0.3.4 \
|
||||||
spin-0.5.2 \
|
spin-0.5.2 \
|
||||||
|
stacker-0.1.15 \
|
||||||
static_assertions-1.1.0 \
|
static_assertions-1.1.0 \
|
||||||
strsim-0.10.0 \
|
strsim-0.10.0 \
|
||||||
subtle-2.4.1 \
|
syn-1.0.109 \
|
||||||
syn-1.0.99 \
|
syn-2.0.28 \
|
||||||
tar-0.4.38 \
|
tar-0.4.39 \
|
||||||
target-lexicon-0.12.4 \
|
target-lexicon-0.12.11 \
|
||||||
tempfile-3.3.0 \
|
tempfile-3.6.0 \
|
||||||
termcolor-1.1.3 \
|
termcolor-1.2.0 \
|
||||||
terminal_size-0.1.17 \
|
terminal_size-0.2.6 \
|
||||||
textwrap-0.15.0 \
|
textwrap-0.16.0 \
|
||||||
thiserror-1.0.32 \
|
thiserror-1.0.44 \
|
||||||
thiserror-impl-1.0.32 \
|
thiserror-impl-1.0.44 \
|
||||||
thread_local-1.1.4 \
|
thread_local-1.1.7 \
|
||||||
time-0.3.13 \
|
time-0.3.20 \
|
||||||
time-macros-0.2.4 \
|
time-core-0.1.0 \
|
||||||
|
time-macros-0.2.8 \
|
||||||
tinyvec-1.6.0 \
|
tinyvec-1.6.0 \
|
||||||
tinyvec_macros-0.1.0 \
|
tinyvec_macros-0.1.1 \
|
||||||
toml-0.5.9 \
|
toml-0.5.11 \
|
||||||
toml_edit-0.14.4 \
|
toml-0.7.4 \
|
||||||
tracing-0.1.36 \
|
toml_datetime-0.6.2 \
|
||||||
tracing-attributes-0.1.22 \
|
toml_edit-0.19.10 \
|
||||||
tracing-core-0.1.29 \
|
tracing-0.1.37 \
|
||||||
|
tracing-attributes-0.1.26 \
|
||||||
|
tracing-core-0.1.31 \
|
||||||
|
tracing-log-0.1.3 \
|
||||||
tracing-serde-0.1.3 \
|
tracing-serde-0.1.3 \
|
||||||
tracing-subscriber-0.3.15 \
|
tracing-subscriber-0.3.17 \
|
||||||
|
trycmd-0.14.16 \
|
||||||
twox-hash-1.6.3 \
|
twox-hash-1.6.3 \
|
||||||
typenum-1.15.0 \
|
typenum-1.16.0 \
|
||||||
unicase-2.6.0 \
|
unicase-2.6.0 \
|
||||||
unicode-bidi-0.3.8 \
|
unicode-bidi-0.3.13 \
|
||||||
unicode-ident-1.0.3 \
|
unicode-ident-1.0.11 \
|
||||||
unicode-linebreak-0.1.2 \
|
unicode-linebreak-0.1.5 \
|
||||||
unicode-normalization-0.1.21 \
|
unicode-normalization-0.1.22 \
|
||||||
unicode-width-0.1.9 \
|
unicode-width-0.1.10 \
|
||||||
untrusted-0.7.1 \
|
untrusted-0.7.1 \
|
||||||
ureq-2.5.0 \
|
ureq-2.7.1 \
|
||||||
url-2.2.2 \
|
url-2.4.0 \
|
||||||
uuid-0.8.2 \
|
utf8parse-0.2.1 \
|
||||||
uuid-1.1.2 \
|
uuid-1.4.1 \
|
||||||
valuable-0.1.0 \
|
valuable-0.1.0 \
|
||||||
vcpkg-0.2.15 \
|
vcpkg-0.2.15 \
|
||||||
version_check-0.9.4 \
|
version_check-0.9.4 \
|
||||||
waker-fn-1.1.0 \
|
versions-5.0.0 \
|
||||||
walkdir-2.3.2 \
|
wait-timeout-0.2.0 \
|
||||||
|
walkdir-2.3.3 \
|
||||||
wasi-0.11.0+wasi-snapshot-preview1 \
|
wasi-0.11.0+wasi-snapshot-preview1 \
|
||||||
wasm-bindgen-0.2.82 \
|
wasm-bindgen-0.2.87 \
|
||||||
wasm-bindgen-backend-0.2.82 \
|
wasm-bindgen-backend-0.2.87 \
|
||||||
wasm-bindgen-macro-0.2.82 \
|
wasm-bindgen-macro-0.2.87 \
|
||||||
wasm-bindgen-macro-support-0.2.82 \
|
wasm-bindgen-macro-support-0.2.87 \
|
||||||
wasm-bindgen-shared-0.2.82 \
|
wasm-bindgen-shared-0.2.87 \
|
||||||
web-sys-0.3.59 \
|
web-sys-0.3.64 \
|
||||||
webpki-0.22.0 \
|
webpki-roots-0.23.1 \
|
||||||
webpki-roots-0.22.4 \
|
which-4.4.0 \
|
||||||
wepoll-ffi-0.1.2 \
|
wild-2.1.0 \
|
||||||
which-4.2.5 \
|
|
||||||
winapi-0.3.9 \
|
winapi-0.3.9 \
|
||||||
winapi-i686-pc-windows-gnu-0.4.0 \
|
winapi-i686-pc-windows-gnu-0.4.0 \
|
||||||
winapi-util-0.1.5 \
|
winapi-util-0.1.5 \
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
||||||
windows-sys-0.36.1 \
|
windows-sys-0.45.0 \
|
||||||
windows_aarch64_msvc-0.36.1 \
|
windows-sys-0.48.0 \
|
||||||
windows_i686_gnu-0.36.1 \
|
windows-targets-0.42.2 \
|
||||||
windows_i686_msvc-0.36.1 \
|
windows-targets-0.48.1 \
|
||||||
windows_x86_64_gnu-0.36.1 \
|
windows_aarch64_gnullvm-0.42.2 \
|
||||||
windows_x86_64_msvc-0.36.1 \
|
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.7 \
|
||||||
xattr-0.2.3 \
|
xattr-0.2.3 \
|
||||||
xwin-0.2.5 \
|
xwin-0.2.14 \
|
||||||
zbus-1.9.3 \
|
yansi-0.5.1 \
|
||||||
zbus_macros-1.9.3 \
|
zeroize-1.6.0 \
|
||||||
zip-0.6.2 \
|
zip-0.6.6
|
||||||
zvariant-2.10.0 \
|
|
||||||
zvariant_derive-2.10.0
|
|
||||||
|
|
||||||
CARGO_BUILD= no
|
CARGO_BUILD= no
|
||||||
CARGO_INSTALL= no
|
CARGO_INSTALL= no
|
||||||
@ -329,6 +317,10 @@ CARGO_TARGET_DIR= ${WRKSRC}/target
|
|||||||
MAKE_ENV= ${CARGO_ENV}
|
MAKE_ENV= ${CARGO_ENV}
|
||||||
BINARY_ALIAS= python3=${PYTHON_CMD}
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
||||||
|
|
||||||
|
# NB: There are two options in "pyproject.toml" (= "patchelf" + "zig") but both
|
||||||
|
# seem to be a no-op on FreeBSD at the moment, so they were deliberately
|
||||||
|
# not added.
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${ARCH:Mpowerpc*}
|
.if ${ARCH:Mpowerpc*}
|
||||||
@ -339,32 +331,15 @@ CARGO_BUILD_ARGS= --no-default-features \
|
|||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${PYTHON_REL} < 31100
|
.if ${PYTHON_REL} < 31100
|
||||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0.10.1:textproc/py-tomli@${PY_FLAVOR}
|
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
|
||||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0.10.1:textproc/py-tomli@${PY_FLAVOR}
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${RM} ${WRKSRC}/pyproject.toml
|
@${RM} ${WRKSRC}/pyproject.toml
|
||||||
${REINPLACE_CMD} 's|%%PYTHON_VER%%|${PYTHON_VER}|' ${WRKSRC}/maturin/__init__.py
|
${REINPLACE_CMD} 's|%%PYTHON_VER%%|${PYTHON_VER}|' ${WRKSRC}/maturin/__init__.py
|
||||||
|
|
||||||
# The binary is usually built via setup.py which uses different compiler flags.
|
|
||||||
# That line is patched out there to use the compiler flags from the Ports
|
|
||||||
# framework instead. The setup.py is processed in the "do-build" target to
|
|
||||||
# install the compiled binary.
|
|
||||||
pre-build:
|
|
||||||
${CARGO_CARGO_RUN} build \
|
|
||||||
--manifest-path ${CARGO_CARGOTOML} \
|
|
||||||
--verbose \
|
|
||||||
${CARGO_BUILD_ARGS}
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/maturin ${STAGEDIR}${PREFIX}/bin
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/maturin
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/maturin
|
||||||
# Regenerate .PLIST.pymodtemp to get all installed files from
|
|
||||||
# ${STAGEDIR} because the file that is generated in the first place
|
|
||||||
# contains only the EGG files as a whole.
|
|
||||||
@${FIND} ${STAGEDIR} -type f -o -type l | \
|
|
||||||
${SORT} | ${SED} -e 's|${STAGEDIR}||' \
|
|
||||||
> ${WRKDIR}/.PLIST.pymodtmp
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -4,9 +4,9 @@ Dependency chain:
|
|||||||
|
|
||||||
xwin -> native-tls -> openssl-sys -> openssl-src
|
xwin -> native-tls -> openssl-sys -> openssl-src
|
||||||
|
|
||||||
--- cargo-crates/xwin-0.2.5/Cargo.toml.orig 2022-09-08 15:14:53 UTC
|
--- cargo-crates/xwin-0.2.14/Cargo.toml.orig 2023-08-06 19:00:27 UTC
|
||||||
+++ cargo-crates/xwin-0.2.5/Cargo.toml
|
+++ cargo-crates/xwin-0.2.14/Cargo.toml
|
||||||
@@ -132,6 +132,5 @@ native-tls = [
|
@@ -133,6 +133,5 @@ native-tls = [
|
||||||
default = ["rustls-tls"]
|
default = ["rustls-tls"]
|
||||||
native-tls = [
|
native-tls = [
|
||||||
"ureq/native-tls",
|
"ureq/native-tls",
|
Loading…
Reference in New Issue
Block a user