PORTNAME=	pytauri-wheel
DISTVERSION=	0.8.0
PORTREVISION=	1
CATEGORIES=	www python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Precompiled wheels for PyTauri
WWW=		https://pytauri.github.io/pytauri/ \
		https://github.com/pytauri/pytauri

LICENSE=	APACHE20

BUILD_DEPENDS=	${PY_SETUPTOOLS} \
		${PYTHON_PKGNAMEPREFIX}packaging>=25:devel/py-packaging@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.11:devel/py-setuptools-rust@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
		rust>0:lang/rust
LIB_DEPENDS=	libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \
		libjavascriptcoregtk-4.1.so:www/webkit2-gtk@41 \
		libsoup-3.0.so:devel/libsoup3
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14:devel/py-typing-extensions@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pytauri>=0.8.0<0.9.0:www/py-pytauri@${PY_FLAVOR}

USES=		cargo gnome python
USE_PYTHON=	pep517 autoplist
USE_GNOME=	cairo gdkpixbuf glib20 gtk30

CARGO_CRATES=	adler2-2.0.1 \
		aho-corasick-1.1.5 \
		alloc-no-stdlib-2.0.4 \
		alloc-stdlib-0.2.4 \
		android_system_properties-0.1.6 \
		anyhow-1.0.104 \
		arbitrary-1.4.2 \
		arboard-3.6.1 \
		ashpd-0.11.1 \
		async-broadcast-0.7.2 \
		async-channel-2.5.0 \
		async-executor-1.14.0 \
		async-io-2.6.0 \
		async-lock-3.4.2 \
		async-process-2.5.0 \
		async-recursion-1.1.1 \
		async-signal-0.2.14 \
		async-task-4.7.1 \
		async-trait-0.1.92 \
		atk-0.18.2 \
		atk-sys-0.18.2 \
		atomic-waker-1.1.2 \
		auto-launch-0.5.0 \
		autocfg-1.5.1 \
		base64-0.21.7 \
		base64-0.22.1 \
		base64-0.23.1 \
		bincode-1.3.3 \
		bitflags-1.3.2 \
		bitflags-2.13.2 \
		block-buffer-0.10.4 \
		block2-0.6.2 \
		blocking-1.7.0 \
		brotli-8.0.4 \
		brotli-decompressor-5.0.3 \
		bs58-0.5.1 \
		bumpalo-3.20.3 \
		bytemuck-1.25.2 \
		byteorder-1.5.0 \
		byteorder-lite-0.1.0 \
		bytes-1.12.1 \
		cairo-rs-0.18.5 \
		cairo-sys-rs-0.18.2 \
		camino-1.2.6 \
		cargo-platform-0.1.9 \
		cargo_metadata-0.19.2 \
		cargo_toml-0.22.3 \
		cc-1.5.1 \
		cesu8-1.1.0 \
		cfb-0.7.3 \
		cfg-expr-0.15.8 \
		cfg-if-1.0.5 \
		cfg_aliases-0.2.2 \
		chacha20-0.10.2 \
		chrono-0.4.45 \
		clipboard-win-5.4.1 \
		combine-4.6.8 \
		concurrent-queue-2.5.0 \
		const-random-0.1.18 \
		const-random-macro-0.1.16 \
		convert_case-0.4.0 \
		cookie-0.18.2 \
		cookie_store-0.21.1 \
		cookie_store-0.22.1 \
		core-foundation-0.9.4 \
		core-foundation-0.10.1 \
		core-foundation-sys-0.8.7 \
		core-graphics-0.25.0 \
		core-graphics-types-0.2.0 \
		core_detect-1.0.0 \
		cpufeatures-0.2.17 \
		cpufeatures-0.3.1 \
		crc32fast-1.5.2 \
		crossbeam-channel-0.5.17 \
		crossbeam-utils-0.8.23 \
		crunchy-0.2.4 \
		crypto-common-0.1.7 \
		cssparser-0.29.6 \
		cssparser-macros-0.6.1 \
		ctor-0.2.9 \
		darling-0.24.1 \
		darling_core-0.24.1 \
		darling_macro-0.24.1 \
		data-encoding-2.11.1 \
		data-url-0.3.2 \
		defmt-1.1.1 \
		defmt-macros-1.1.1 \
		defmt-parser-1.0.0 \
		deranged-0.5.8 \
		derive_arbitrary-1.4.2 \
		derive_more-0.99.20 \
		digest-0.10.7 \
		dirs-4.0.0 \
		dirs-6.0.0 \
		dirs-sys-0.3.7 \
		dirs-sys-0.5.0 \
		dispatch2-0.3.1 \
		displaydoc-0.2.7 \
		dlib-0.5.3 \
		dlopen2-0.8.2 \
		dlopen2_derive-0.4.3 \
		dlv-list-0.5.2 \
		document-features-0.2.12 \
		downcast-rs-1.2.1 \
		dpi-0.1.2 \
		dtoa-1.0.11 \
		dtoa-short-0.3.5 \
		dunce-1.0.5 \
		dyn-clone-1.0.20 \
		embed-resource-3.0.11 \
		embed_plist-1.2.2 \
		encoding_rs-0.8.42 \
		endi-1.1.1 \
		enumflags2-0.7.12 \
		enumflags2_derive-0.7.12 \
		equivalent-1.0.2 \
		erased-serde-0.4.10 \
		errno-0.3.14 \
		error-code-3.4.0 \
		event-listener-5.4.2 \
		event-listener-strategy-0.5.4 \
		fastrand-2.5.0 \
		fax-0.2.7 \
		fdeflate-0.3.7 \
		field-offset-0.3.6 \
		file-id-0.2.3 \
		filetime-0.2.29 \
		find-msvc-tools-0.1.14 \
		fixedbitset-0.5.7 \
		flate2-1.1.10 \
		fnv-1.0.7 \
		foldhash-0.1.5 \
		foreign-types-0.5.0 \
		foreign-types-macros-0.2.4 \
		foreign-types-shared-0.3.1 \
		form_urlencoded-1.2.2 \
		fsevent-sys-4.1.0 \
		futf-0.1.5 \
		futures-0.3.34 \
		futures-channel-0.3.34 \
		futures-core-0.3.34 \
		futures-executor-0.3.34 \
		futures-io-0.3.34 \
		futures-lite-2.6.1 \
		futures-macro-0.3.34 \
		futures-sink-0.3.34 \
		futures-task-0.3.34 \
		futures-util-0.3.34 \
		fxhash-0.2.1 \
		gdk-0.18.2 \
		gdk-pixbuf-0.18.5 \
		gdk-pixbuf-sys-0.18.0 \
		gdk-sys-0.18.2 \
		gdkwayland-sys-0.18.2 \
		gdkx11-0.18.2 \
		gdkx11-sys-0.18.2 \
		generic-array-0.14.7 \
		gethostname-1.1.0 \
		getrandom-0.1.16 \
		getrandom-0.2.17 \
		getrandom-0.3.4 \
		getrandom-0.4.3 \
		gio-0.18.4 \
		gio-sys-0.18.1 \
		glib-0.18.5 \
		glib-macros-0.18.5 \
		glib-sys-0.18.1 \
		glob-0.3.4 \
		global-hotkey-0.7.0 \
		gobject-sys-0.18.0 \
		gtk-0.18.2 \
		gtk-sys-0.18.2 \
		gtk3-macros-0.18.2 \
		h2-0.4.19 \
		half-2.7.1 \
		hashbrown-0.12.3 \
		hashbrown-0.14.5 \
		hashbrown-0.15.5 \
		hashbrown-0.17.1 \
		heck-0.4.1 \
		heck-0.5.0 \
		hermit-abi-0.5.3 \
		hex-0.4.3 \
		html5ever-0.29.1 \
		http-1.5.0 \
		http-body-1.1.0 \
		http-body-util-0.1.5 \
		httparse-1.10.1 \
		hyper-1.11.1 \
		hyper-rustls-0.27.10 \
		hyper-util-0.1.21 \
		iana-time-zone-0.1.65 \
		iana-time-zone-haiku-0.1.2 \
		ico-0.4.0 \
		icu_collections-2.3.0 \
		icu_locale_core-2.3.0 \
		icu_normalizer-2.3.0 \
		icu_normalizer_data-2.3.0 \
		icu_properties-2.3.0 \
		icu_properties_data-2.3.0 \
		icu_provider-2.3.1 \
		ident_case-1.0.1 \
		idna-1.1.0 \
		idna_adapter-1.2.2 \
		image-0.25.10 \
		indexmap-1.9.3 \
		indexmap-2.14.2 \
		indoc-2.0.7 \
		infer-0.19.0 \
		inotify-0.11.5 \
		inotify-sys-0.1.8 \
		ipnet-2.12.2 \
		is-docker-0.2.0 \
		is-wsl-0.4.0 \
		itoa-1.0.18 \
		javascriptcore-rs-1.1.2 \
		javascriptcore-rs-sys-1.1.1 \
		jiff-0.2.37 \
		jiff-core-0.1.1 \
		jiff-static-0.2.37 \
		jiff-tzdb-0.1.8 \
		jiff-tzdb-platform-0.1.3 \
		jni-0.21.1 \
		jni-sys-0.3.1 \
		jni-sys-0.4.1 \
		jni-sys-macros-0.4.1 \
		js-sys-0.3.106 \
		json-patch-3.0.1 \
		json5-0.4.1 \
		jsonptr-0.6.3 \
		keyboard-types-0.7.0 \
		kqueue-1.2.1 \
		kqueue-sys-1.1.2 \
		kuchikiki-0.8.8-speedreader \
		libappindicator-0.9.0 \
		libappindicator-sys-0.9.0 \
		libc-0.2.189 \
		libloading-0.7.4 \
		libloading-0.8.9 \
		libredox-0.1.25 \
		linux-raw-sys-0.12.1 \
		litemap-0.8.3 \
		litrs-1.0.0 \
		lock_api-0.4.14 \
		log-0.4.34 \
		lru-slab-0.1.3 \
		mac-0.1.1 \
		mac-notification-sys-0.6.15 \
		markup5ever-0.14.1 \
		match_token-0.1.0 \
		matches-0.1.10 \
		memchr-2.8.3 \
		memoffset-0.9.1 \
		mime-0.3.17 \
		minisign-verify-0.2.5 \
		miniz_oxide-0.8.9 \
		miniz_oxide-0.9.1 \
		mio-1.2.3 \
		moxcms-0.8.1 \
		muda-0.17.2 \
		multiversion_no_op-1.0.0 \
		ndk-0.9.0 \
		ndk-context-0.1.1 \
		ndk-sys-0.6.0+11769913 \
		new_debug_unreachable-1.0.6 \
		nix-0.31.3 \
		nodrop-0.1.14 \
		nom-8.0.0 \
		notify-8.2.0 \
		notify-debouncer-full-0.6.0 \
		notify-rust-4.18.1 \
		notify-types-2.1.0 \
		num-conv-0.2.2 \
		num-traits-0.2.19 \
		num_enum-0.7.6 \
		num_enum_derive-0.7.6 \
		objc2-0.6.4 \
		objc2-app-kit-0.3.2 \
		objc2-cloud-kit-0.3.2 \
		objc2-core-data-0.3.2 \
		objc2-core-foundation-0.3.2 \
		objc2-core-graphics-0.3.2 \
		objc2-core-image-0.3.2 \
		objc2-core-location-0.3.2 \
		objc2-core-text-0.3.2 \
		objc2-core-video-0.3.2 \
		objc2-encode-4.1.0 \
		objc2-exception-helper-0.1.1 \
		objc2-foundation-0.3.2 \
		objc2-io-surface-0.3.2 \
		objc2-javascript-core-0.3.2 \
		objc2-osa-kit-0.3.2 \
		objc2-quartz-core-0.3.2 \
		objc2-security-0.3.2 \
		objc2-ui-kit-0.3.2 \
		objc2-user-notifications-0.3.2 \
		objc2-web-kit-0.3.2 \
		once_cell-1.21.4 \
		open-5.4.4 \
		option-ext-0.2.0 \
		ordered-multimap-0.7.3 \
		ordered-stream-0.2.0 \
		os_info-3.15.0 \
		os_pipe-1.2.3 \
		osakit-0.3.1 \
		pango-0.18.3 \
		pango-sys-0.18.0 \
		parking-2.2.1 \
		parking_lot-0.12.5 \
		parking_lot_core-0.9.12 \
		percent-encoding-2.3.2 \
		pest-2.9.2 \
		pest_derive-2.9.2 \
		pest_generator-2.9.2 \
		pest_meta-2.9.2 \
		petgraph-0.8.3 \
		phf-0.8.0 \
		phf-0.10.1 \
		phf-0.11.3 \
		phf_codegen-0.8.0 \
		phf_codegen-0.11.3 \
		phf_generator-0.8.0 \
		phf_generator-0.10.0 \
		phf_generator-0.11.3 \
		phf_macros-0.10.0 \
		phf_macros-0.11.3 \
		phf_shared-0.8.0 \
		phf_shared-0.10.0 \
		phf_shared-0.11.3 \
		pin-project-lite-0.2.17 \
		piper-0.2.5 \
		pkg-config-0.3.34 \
		plist-1.10.1 \
		png-0.17.16 \
		png-0.18.1 \
		polling-3.11.0 \
		portable-atomic-1.15.0 \
		portable-atomic-util-0.2.8 \
		potential_utf-0.1.6 \
		powerfmt-0.2.0 \
		ppv-lite86-0.2.21 \
		precomputed-hash-0.1.1 \
		proc-macro-crate-1.3.1 \
		proc-macro-crate-2.0.2 \
		proc-macro-crate-3.5.0 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro-hack-0.5.20+deprecated \
		proc-macro2-1.0.107 \
		psl-types-2.0.11 \
		publicsuffix-2.3.0 \
		pxfm-0.1.30 \
		pyo3-0.25.1 \
		pyo3-build-config-0.25.1 \
		pyo3-ffi-0.25.1 \
		pyo3-macros-0.25.1 \
		pyo3-macros-backend-0.25.1 \
		pyo3-utils-0.4.0 \
		pytauri-0.8.0 \
		pytauri-core-0.8.0 \
		pythonize-0.25.0 \
		quick-error-2.0.1 \
		quick-xml-0.41.0 \
		quick-xml-0.42.0 \
		quinn-0.11.12 \
		quinn-proto-0.11.19 \
		quinn-udp-0.5.16 \
		quote-1.0.47 \
		r-efi-5.3.0 \
		r-efi-6.0.0 \
		rand-0.7.3 \
		rand-0.8.8 \
		rand-0.9.5 \
		rand-0.10.3 \
		rand_chacha-0.2.2 \
		rand_chacha-0.3.1 \
		rand_chacha-0.9.0 \
		rand_core-0.5.1 \
		rand_core-0.6.4 \
		rand_core-0.9.5 \
		rand_core-0.10.1 \
		rand_hc-0.2.0 \
		rand_pcg-0.2.1 \
		rand_pcg-0.10.2 \
		raw-window-handle-0.6.2 \
		read-progress-stream-1.0.0 \
		redox_syscall-0.5.18 \
		redox_users-0.4.6 \
		redox_users-0.5.3 \
		ref-cast-1.0.27 \
		ref-cast-impl-1.0.27 \
		regex-1.13.1 \
		regex-automata-0.4.18 \
		regex-syntax-0.8.11 \
		reqwest-0.12.28 \
		rfd-0.15.4 \
		ring-0.17.14 \
		rust-ini-0.21.3 \
		rustc-hash-2.1.3 \
		rustc_version-0.4.1 \
		rustix-1.1.5 \
		rustls-0.23.45 \
		rustls-pki-types-1.15.1 \
		rustls-webpki-0.103.15 \
		rustversion-1.0.23 \
		ryu-1.0.23 \
		same-file-1.0.6 \
		schemars-0.8.22 \
		schemars-0.9.0 \
		schemars-1.2.2 \
		schemars_derive-0.8.22 \
		scoped-tls-1.0.1 \
		scopeguard-1.2.0 \
		selectors-0.24.0 \
		semver-1.0.28 \
		serde-1.0.229 \
		serde-untagged-0.1.9 \
		serde_core-1.0.229 \
		serde_derive-1.0.229 \
		serde_derive_internals-0.29.1 \
		serde_json-1.0.151 \
		serde_repr-0.1.21 \
		serde_spanned-0.6.9 \
		serde_spanned-1.1.1 \
		serde_urlencoded-0.7.1 \
		serde_with-3.24.0 \
		serde_with_macros-3.24.0 \
		serialize-to-javascript-0.1.2 \
		serialize-to-javascript-impl-0.1.2 \
		servo_arc-0.2.0 \
		sha1-0.10.7 \
		sha2-0.10.9 \
		shared_child-1.1.2 \
		shlex-2.0.1 \
		sigchld-0.2.5 \
		signal-hook-0.4.4 \
		signal-hook-registry-1.4.8 \
		simd-adler32-0.3.10 \
		simdutf8-0.1.5 \
		siphasher-0.3.11 \
		siphasher-1.0.4 \
		slab-0.4.12 \
		smallvec-1.16.2 \
		socket2-0.6.5 \
		softbuffer-0.4.8 \
		soup3-0.5.0 \
		soup3-sys-0.5.0 \
		stable_deref_trait-1.2.1 \
		string_cache-0.8.9 \
		string_cache_codegen-0.5.4 \
		strsim-0.11.1 \
		subtle-2.6.1 \
		swift-rs-1.0.8 \
		syn-1.0.109 \
		syn-2.0.119 \
		syn-3.0.6 \
		sync_wrapper-1.0.2 \
		synstructure-0.14.0 \
		sys-locale-0.3.2 \
		system-configuration-0.7.0 \
		system-configuration-sys-0.6.0 \
		system-deps-6.2.2 \
		tao-0.34.8 \
		tao-macros-0.1.4 \
		tar-0.4.46 \
		target-lexicon-0.12.16 \
		target-lexicon-0.13.5 \
		tauri-2.8.5 \
		tauri-build-2.4.1 \
		tauri-codegen-2.4.0 \
		tauri-macros-2.4.0 \
		tauri-plugin-2.4.0 \
		tauri-plugin-autostart-2.5.1 \
		tauri-plugin-clipboard-manager-2.3.2 \
		tauri-plugin-deep-link-2.4.5 \
		tauri-plugin-dialog-2.4.2 \
		tauri-plugin-fs-2.4.4 \
		tauri-plugin-global-shortcut-2.3.1 \
		tauri-plugin-http-2.5.4 \
		tauri-plugin-notification-2.3.3 \
		tauri-plugin-opener-2.5.2 \
		tauri-plugin-os-2.3.2 \
		tauri-plugin-persisted-scope-2.3.4 \
		tauri-plugin-positioner-2.3.1 \
		tauri-plugin-process-2.3.1 \
		tauri-plugin-pytauri-0.8.0 \
		tauri-plugin-shell-2.3.3 \
		tauri-plugin-single-instance-2.3.6 \
		tauri-plugin-updater-2.9.0 \
		tauri-plugin-upload-2.3.2 \
		tauri-plugin-websocket-2.4.1 \
		tauri-plugin-window-state-2.4.1 \
		tauri-runtime-2.8.0 \
		tauri-runtime-wry-2.8.1 \
		tauri-utils-2.7.0 \
		tauri-winres-0.3.6 \
		tauri-winrt-notification-0.8.1 \
		tempfile-3.27.0 \
		tendril-0.4.3 \
		thiserror-1.0.69 \
		thiserror-2.0.21 \
		thiserror-impl-1.0.69 \
		thiserror-impl-2.0.21 \
		tiff-0.11.3 \
		time-0.3.55 \
		time-core-0.1.9 \
		time-macros-0.2.32 \
		tiny-keccak-2.0.2 \
		tinystr-0.8.4 \
		tinyvec-1.13.3 \
		tokio-1.53.1 \
		tokio-macros-2.7.2 \
		tokio-rustls-0.26.6 \
		tokio-tungstenite-0.28.0 \
		tokio-util-0.7.19 \
		toml-0.8.2 \
		toml-0.9.12+spec-1.1.0 \
		toml-1.1.6+spec-1.1.0 \
		toml_datetime-0.6.3 \
		toml_datetime-0.7.5+spec-1.1.0 \
		toml_datetime-1.1.1+spec-1.1.0 \
		toml_edit-0.19.15 \
		toml_edit-0.20.2 \
		toml_edit-0.25.15+spec-1.1.0 \
		toml_parser-1.1.3+spec-1.1.0 \
		toml_writer-1.1.2+spec-1.1.0 \
		tower-0.5.3 \
		tower-http-0.6.11 \
		tower-layer-0.3.3 \
		tower-service-0.3.3 \
		tracing-0.1.44 \
		tracing-attributes-0.1.31 \
		tracing-core-0.1.36 \
		tray-icon-0.21.3 \
		tree_magic_mini-3.2.2 \
		try-lock-0.2.5 \
		tungstenite-0.28.0 \
		typeid-1.0.3 \
		typenum-1.20.1 \
		ucd-trie-0.1.7 \
		uds_windows-1.2.1 \
		unic-char-property-0.9.0 \
		unic-char-range-0.9.0 \
		unic-common-0.9.0 \
		unic-ucd-ident-0.9.0 \
		unic-ucd-version-0.9.0 \
		unicode-ident-1.0.26 \
		unicode-segmentation-1.13.3 \
		unindent-0.2.4 \
		untrusted-0.9.0 \
		url-2.5.8 \
		urlpattern-0.3.0 \
		utf-8-0.7.6 \
		utf8_iter-1.0.4 \
		uuid-1.26.1 \
		version-compare-0.2.1 \
		version_check-0.9.5 \
		vswhom-0.1.0 \
		vswhom-sys-0.1.3 \
		walkdir-2.5.0 \
		want-0.3.1 \
		wasi-0.9.0+wasi-snapshot-preview1 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		wasip2-1.0.4+wasi-0.2.12 \
		wasm-bindgen-0.2.129 \
		wasm-bindgen-futures-0.4.79 \
		wasm-bindgen-macro-0.2.129 \
		wasm-bindgen-macro-support-0.2.129 \
		wasm-bindgen-shared-0.2.129 \
		wasm-streams-0.4.2 \
		wayland-backend-0.3.17 \
		wayland-client-0.31.15 \
		wayland-protocols-0.32.13 \
		wayland-protocols-wlr-0.3.12 \
		wayland-scanner-0.31.11 \
		wayland-sys-0.31.11 \
		web-sys-0.3.106 \
		web-time-1.1.0 \
		webkit2gtk-2.0.1 \
		webkit2gtk-sys-2.0.1 \
		webpki-roots-0.26.11 \
		webpki-roots-1.0.9 \
		webview2-com-0.38.2 \
		webview2-com-macros-0.8.1 \
		webview2-com-sys-0.38.2 \
		weezl-0.1.12 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.11 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		window-vibrancy-0.6.0 \
		windows-0.61.3 \
		windows-0.62.2 \
		windows-collections-0.2.0 \
		windows-collections-0.3.2 \
		windows-core-0.61.2 \
		windows-core-0.62.2 \
		windows-future-0.2.1 \
		windows-future-0.3.2 \
		windows-implement-0.60.2 \
		windows-interface-0.59.3 \
		windows-link-0.1.3 \
		windows-link-0.2.1 \
		windows-numerics-0.2.0 \
		windows-numerics-0.3.1 \
		windows-registry-0.5.3 \
		windows-registry-0.6.1 \
		windows-result-0.3.4 \
		windows-result-0.4.1 \
		windows-strings-0.4.2 \
		windows-strings-0.5.1 \
		windows-sys-0.45.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-sys-0.60.2 \
		windows-sys-0.61.2 \
		windows-targets-0.42.2 \
		windows-targets-0.52.6 \
		windows-targets-0.53.5 \
		windows-threading-0.1.0 \
		windows-threading-0.2.1 \
		windows-version-0.1.7 \
		windows_aarch64_gnullvm-0.42.2 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_gnullvm-0.53.1 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.52.6 \
		windows_aarch64_msvc-0.53.1 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnu-0.53.1 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_gnullvm-0.53.1 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.52.6 \
		windows_i686_msvc-0.53.1 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnu-0.53.1 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_gnullvm-0.53.1 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.52.6 \
		windows_x86_64_msvc-0.53.1 \
		winnow-0.5.40 \
		winnow-0.7.15 \
		winnow-1.0.4 \
		winreg-0.10.1 \
		winreg-0.55.0 \
		wit-bindgen-0.57.1 \
		wl-clipboard-rs-0.9.4 \
		writeable-0.6.4 \
		wry-0.53.5 \
		x11-2.21.0 \
		x11-dl-2.21.0 \
		x11rb-0.13.2 \
		x11rb-protocol-0.13.2 \
		xattr-1.6.1 \
		xkeysym-0.2.1 \
		yoke-0.8.3 \
		yoke-derive-0.8.4 \
		zbus-5.19.0 \
		zbus_macros-5.19.0 \
		zbus_names-4.3.4 \
		zcheapstr-1.1.0 \
		zerocopy-0.8.59 \
		zerocopy-derive-0.8.59 \
		zerofrom-0.1.8 \
		zerofrom-derive-0.1.8 \
		zeroize-1.9.0 \
		zerotrie-0.2.5 \
		zerovec-0.11.8 \
		zerovec-derive-0.11.6 \
		zip-4.6.1 \
		zlib-rs-0.6.8 \
		zmij-1.0.23 \
		zune-core-0.5.3 \
		zune-jpeg-0.5.15 \
		zvariant-5.15.0 \
		zvariant_derive-5.15.0 \
		zvariant_utils-4.2.0

CARGO_BUILD=	no
CARGO_INSTALL=	no
CARGO_TEST=	no
CARGO_BUILDDEP=	no
CARGO_TARGET_DIR=	${WRKSRC}/target

MAKE_ENV=	${CARGO_ENV}
TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

DISTFILES+=	${DISTNAME}${EXTRACT_SUFX} # add PYPI-related file to DISTFILES

do-test:
	# run example-tauri-webiew-1.py
	@${RM} -r ${WRKDIR}/mock_tauri
	@${CP} -r ${FILESDIR}/mock_tauri ${WRKDIR}
	@cd ${WRKDIR} && \
		${SETENV} ${TEST_ENV} MOCK_TAURI_DIR=${WRKDIR}/mock_tauri ${PYTHON_CMD} ${FILESDIR}/example-tauri-webiew-1.py

.include <bsd.port.mk>
