git: 934189077ebc - main - devel/py-ty: Update to 0.0.8

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 01 Jan 2026 06:59:48 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=934189077ebc96d7cf2c28c4f8cf740245a9f5ee

commit 934189077ebc96d7cf2c28c4f8cf740245a9f5ee
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-01-01 06:58:25 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-01-01 06:59:41 +0000

    devel/py-ty: Update to 0.0.8
    
    Changelog: https://github.com/astral-sh/ty/blob/0.0.8/CHANGELOG.md
    
    Reported by:    Repology
---
 devel/py-ty/Makefile                               |  3 ++-
 devel/py-ty/distinfo                               |  6 +++---
 devel/py-ty/files/patch-ruff_crates_ty_Cargo.toml  | 11 +++++++++++
 devel/py-ty/files/patch-ruff_crates_ty_src_main.rs | 10 ++++++++++
 4 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/devel/py-ty/Makefile b/devel/py-ty/Makefile
index 4d6b6303b1f5..45b5f93b974b 100644
--- a/devel/py-ty/Makefile
+++ b/devel/py-ty/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ty
-DISTVERSION=	0.0.7
+DISTVERSION=	0.0.8
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,6 +23,7 @@ CARGO_CARGOTOML=${WRKSRC}/ruff/Cargo.toml
 CARGO_CARGOLOCK=${WRKSRC}/ruff/Cargo.lock
 CARGO_BUILD=	no
 CARGO_INSTALL=	no
+CARGO_TEST_ARGS=--no-fail-fast
 
 MAKE_ENV=	${CARGO_ENV}
 
diff --git a/devel/py-ty/distinfo b/devel/py-ty/distinfo
index ad6215d23227..ec2bc314e82a 100644
--- a/devel/py-ty/distinfo
+++ b/devel/py-ty/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1766653272
-SHA256 (ty-0.0.7.tar.gz) = 90e53b20b86c418ee41a8385f17da44cc7f916f96f9eee87593423ce8292ca72
-SIZE (ty-0.0.7.tar.gz) = 4826677
+TIMESTAMP = 1767163293
+SHA256 (ty-0.0.8.tar.gz) = 352ac93d6e0050763be57ad1e02087f454a842887e618ec14ac2103feac48676
+SIZE (ty-0.0.8.tar.gz) = 4828477
 SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
 SIZE (rust/crates/adler2-2.0.1.crate) = 13366
 SHA256 (rust/crates/aho-corasick-1.1.4.crate) = ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
diff --git a/devel/py-ty/files/patch-ruff_crates_ty_Cargo.toml b/devel/py-ty/files/patch-ruff_crates_ty_Cargo.toml
new file mode 100644
index 000000000000..f9385920a242
--- /dev/null
+++ b/devel/py-ty/files/patch-ruff_crates_ty_Cargo.toml
@@ -0,0 +1,11 @@
+--- ruff/crates/ty/Cargo.toml.orig	2025-12-31 06:46:07 UTC
++++ ruff/crates/ty/Cargo.toml
+@@ -56,7 +56,7 @@ default = []
+ [features]
+ default = []
+ 
+-[target.'cfg(all(not(target_os = "macos"), not(target_os = "windows"), not(target_os = "openbsd"), not(target_os = "aix"), not(target_os = "android"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64")))'.dependencies]
++[target.'cfg(all(not(target_os = "macos"), not(target_os = "windows"), not(target_os = "openbsd"), not(target_os = "freebsd"), not(target_os = "aix"), not(target_os = "android"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64")))'.dependencies]
+ tikv-jemallocator = { workspace = true }
+ 
+ [lints]
diff --git a/devel/py-ty/files/patch-ruff_crates_ty_src_main.rs b/devel/py-ty/files/patch-ruff_crates_ty_src_main.rs
new file mode 100644
index 000000000000..84f3da7fe6db
--- /dev/null
+++ b/devel/py-ty/files/patch-ruff_crates_ty_src_main.rs
@@ -0,0 +1,10 @@
+--- ruff/crates/ty/src/main.rs.orig	2025-12-31 06:44:52 UTC
++++ ruff/crates/ty/src/main.rs
+@@ -6,6 +6,7 @@ use ty::{ExitStatus, run};
+     not(target_os = "macos"),
+     not(target_os = "windows"),
+     not(target_os = "openbsd"),
++    not(target_os = "freebsd"),
+     not(target_os = "aix"),
+     not(target_os = "android"),
+     any(