git: b9ec26d29395 - main - textproc/py-tiktoken: Update to 0.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 05:29:50 UTC
The branch main has been updated by sunpoet:

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

commit b9ec26d2939593c8f7a67c1a5af171d2ef88a61b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:52:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 05:25:48 +0000

    textproc/py-tiktoken: Update to 0.8.0
    
    Changes:        https://github.com/openai/tiktoken/releases
                    https://github.com/openai/tiktoken/blob/main/CHANGELOG.md
---
 textproc/py-tiktoken/Makefile        |   5 +-
 textproc/py-tiktoken/Makefile.crates |  66 +++++++-----------
 textproc/py-tiktoken/distinfo        | 130 +++++++++++++----------------------
 3 files changed, 76 insertions(+), 125 deletions(-)

diff --git a/textproc/py-tiktoken/Makefile b/textproc/py-tiktoken/Makefile
index 18f2dd0d37ea..758eae8df47d 100644
--- a/textproc/py-tiktoken/Makefile
+++ b/textproc/py-tiktoken/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	tiktoken
-PORTVERSION=	0.7.0
-PORTREVISION=	3
+PORTVERSION=	0.8.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +18,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=62.4:devel/py-setuptools@${PY_
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}regex>=2022.1.18:textproc/py-regex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR}
 
-USES=		cargo python
+USES=		cargo python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 CARGO_BUILD=	no
diff --git a/textproc/py-tiktoken/Makefile.crates b/textproc/py-tiktoken/Makefile.crates
index d79a3d53d4f3..97cb9fc6180d 100644
--- a/textproc/py-tiktoken/Makefile.crates
+++ b/textproc/py-tiktoken/Makefile.crates
@@ -1,48 +1,32 @@
-===> /usr/ports/works/home/FreeBSD/ports/textproc/py-tiktoken/work-py311/tiktoken-0.7.0/Cargo.lock not found.  Trying to generate it...
+===> /usr/ports/works/home/FreeBSD/ports/textproc/py-tiktoken/work-py311/tiktoken-0.8.0/Cargo.lock not found.  Trying to generate it...
 CARGO_CRATES=	aho-corasick-1.1.3 \
-		autocfg-1.3.0 \
+		autocfg-1.4.0 \
 		bit-set-0.5.3 \
 		bit-vec-0.6.3 \
-		bitflags-2.5.0 \
-		bstr-1.9.1 \
+		bstr-1.10.0 \
 		cfg-if-1.0.0 \
-		fancy-regex-0.11.0 \
-		heck-0.4.1 \
+		fancy-regex-0.13.0 \
+		heck-0.5.0 \
 		indoc-2.0.5 \
-		libc-0.2.153 \
-		lock_api-0.4.12 \
-		memchr-2.7.2 \
+		libc-0.2.159 \
+		memchr-2.7.4 \
 		memoffset-0.9.1 \
-		once_cell-1.19.0 \
-		parking_lot-0.12.2 \
-		parking_lot_core-0.9.10 \
-		portable-atomic-1.6.0 \
-		proc-macro2-1.0.82 \
-		pyo3-0.20.3 \
-		pyo3-build-config-0.20.3 \
-		pyo3-ffi-0.20.3 \
-		pyo3-macros-0.20.3 \
-		pyo3-macros-backend-0.20.3 \
-		quote-1.0.36 \
-		redox_syscall-0.5.1 \
-		regex-1.10.4 \
-		regex-automata-0.4.6 \
-		regex-syntax-0.8.3 \
+		once_cell-1.20.2 \
+		portable-atomic-1.9.0 \
+		proc-macro2-1.0.87 \
+		pyo3-0.22.4 \
+		pyo3-build-config-0.22.4 \
+		pyo3-ffi-0.22.4 \
+		pyo3-macros-0.22.4 \
+		pyo3-macros-backend-0.22.4 \
+		quote-1.0.37 \
+		regex-1.11.0 \
+		regex-automata-0.4.8 \
+		regex-syntax-0.8.5 \
 		rustc-hash-1.1.0 \
-		scopeguard-1.2.0 \
-		serde-1.0.202 \
-		serde_derive-1.0.202 \
-		smallvec-1.13.2 \
-		syn-2.0.64 \
-		target-lexicon-0.12.14 \
-		unicode-ident-1.0.12 \
-		unindent-0.2.3 \
-		windows-targets-0.52.5 \
-		windows_aarch64_gnullvm-0.52.5 \
-		windows_aarch64_msvc-0.52.5 \
-		windows_i686_gnu-0.52.5 \
-		windows_i686_gnullvm-0.52.5 \
-		windows_i686_msvc-0.52.5 \
-		windows_x86_64_gnu-0.52.5 \
-		windows_x86_64_gnullvm-0.52.5 \
-		windows_x86_64_msvc-0.52.5
+		serde-1.0.210 \
+		serde_derive-1.0.210 \
+		syn-2.0.79 \
+		target-lexicon-0.12.16 \
+		unicode-ident-1.0.13 \
+		unindent-0.2.3
diff --git a/textproc/py-tiktoken/distinfo b/textproc/py-tiktoken/distinfo
index 468416e66660..afc3ebc7afa9 100644
--- a/textproc/py-tiktoken/distinfo
+++ b/textproc/py-tiktoken/distinfo
@@ -1,97 +1,65 @@
-TIMESTAMP = 1715842842
-SHA256 (tiktoken-0.7.0.tar.gz) = 1077266e949c24e0291f6c350433c6f0971365ece2b173a23bc3b9f9defef6b6
-SIZE (tiktoken-0.7.0.tar.gz) = 33437
+TIMESTAMP = 1728632490
+SHA256 (tiktoken-0.8.0.tar.gz) = 9ccbb2740f24542534369c5635cfd9b2b3c2490754a78ac8831d99f89f94eeb2
+SIZE (tiktoken-0.8.0.tar.gz) = 35107
 SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
 SIZE (rust/crates/aho-corasick-1.1.3.crate) = 183311
-SHA256 (rust/crates/autocfg-1.3.0.crate) = 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0
-SIZE (rust/crates/autocfg-1.3.0.crate) = 16524
+SHA256 (rust/crates/autocfg-1.4.0.crate) = ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26
+SIZE (rust/crates/autocfg-1.4.0.crate) = 17712
 SHA256 (rust/crates/bit-set-0.5.3.crate) = 0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1
 SIZE (rust/crates/bit-set-0.5.3.crate) = 14470
 SHA256 (rust/crates/bit-vec-0.6.3.crate) = 349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb
 SIZE (rust/crates/bit-vec-0.6.3.crate) = 19927
-SHA256 (rust/crates/bitflags-2.5.0.crate) = cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1
-SIZE (rust/crates/bitflags-2.5.0.crate) = 43821
-SHA256 (rust/crates/bstr-1.9.1.crate) = 05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706
-SIZE (rust/crates/bstr-1.9.1.crate) = 380305
+SHA256 (rust/crates/bstr-1.10.0.crate) = 40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c
+SIZE (rust/crates/bstr-1.10.0.crate) = 380426
 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
 SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
-SHA256 (rust/crates/fancy-regex-0.11.0.crate) = b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2
-SIZE (rust/crates/fancy-regex-0.11.0.crate) = 82918
-SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
-SIZE (rust/crates/heck-0.4.1.crate) = 11567
+SHA256 (rust/crates/fancy-regex-0.13.0.crate) = 531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2
+SIZE (rust/crates/fancy-regex-0.13.0.crate) = 85930
+SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
+SIZE (rust/crates/heck-0.5.0.crate) = 11517
 SHA256 (rust/crates/indoc-2.0.5.crate) = b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5
 SIZE (rust/crates/indoc-2.0.5.crate) = 14396
-SHA256 (rust/crates/libc-0.2.153.crate) = 9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd
-SIZE (rust/crates/libc-0.2.153.crate) = 740614
-SHA256 (rust/crates/lock_api-0.4.12.crate) = 07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17
-SIZE (rust/crates/lock_api-0.4.12.crate) = 27591
-SHA256 (rust/crates/memchr-2.7.2.crate) = 6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d
-SIZE (rust/crates/memchr-2.7.2.crate) = 96220
+SHA256 (rust/crates/libc-0.2.159.crate) = 561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5
+SIZE (rust/crates/libc-0.2.159.crate) = 755366
+SHA256 (rust/crates/memchr-2.7.4.crate) = 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3
+SIZE (rust/crates/memchr-2.7.4.crate) = 96670
 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a
 SIZE (rust/crates/memoffset-0.9.1.crate) = 9032
-SHA256 (rust/crates/once_cell-1.19.0.crate) = 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92
-SIZE (rust/crates/once_cell-1.19.0.crate) = 33046
-SHA256 (rust/crates/parking_lot-0.12.2.crate) = 7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb
-SIZE (rust/crates/parking_lot-0.12.2.crate) = 41723
-SHA256 (rust/crates/parking_lot_core-0.9.10.crate) = 1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8
-SIZE (rust/crates/parking_lot_core-0.9.10.crate) = 32406
-SHA256 (rust/crates/portable-atomic-1.6.0.crate) = 7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0
-SIZE (rust/crates/portable-atomic-1.6.0.crate) = 140689
-SHA256 (rust/crates/proc-macro2-1.0.82.crate) = 8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b
-SIZE (rust/crates/proc-macro2-1.0.82.crate) = 48452
-SHA256 (rust/crates/pyo3-0.20.3.crate) = 53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233
-SIZE (rust/crates/pyo3-0.20.3.crate) = 434673
-SHA256 (rust/crates/pyo3-build-config-0.20.3.crate) = deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7
-SIZE (rust/crates/pyo3-build-config-0.20.3.crate) = 30060
-SHA256 (rust/crates/pyo3-ffi-0.20.3.crate) = 62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa
-SIZE (rust/crates/pyo3-ffi-0.20.3.crate) = 65024
-SHA256 (rust/crates/pyo3-macros-0.20.3.crate) = 7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158
-SIZE (rust/crates/pyo3-macros-0.20.3.crate) = 7920
-SHA256 (rust/crates/pyo3-macros-backend-0.20.3.crate) = 7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185
-SIZE (rust/crates/pyo3-macros-backend-0.20.3.crate) = 49797
-SHA256 (rust/crates/quote-1.0.36.crate) = 0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7
-SIZE (rust/crates/quote-1.0.36.crate) = 28507
-SHA256 (rust/crates/redox_syscall-0.5.1.crate) = 469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e
-SIZE (rust/crates/redox_syscall-0.5.1.crate) = 22536
-SHA256 (rust/crates/regex-1.10.4.crate) = c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c
-SIZE (rust/crates/regex-1.10.4.crate) = 253191
-SHA256 (rust/crates/regex-automata-0.4.6.crate) = 86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea
-SIZE (rust/crates/regex-automata-0.4.6.crate) = 617565
-SHA256 (rust/crates/regex-syntax-0.8.3.crate) = adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56
-SIZE (rust/crates/regex-syntax-0.8.3.crate) = 347497
+SHA256 (rust/crates/once_cell-1.20.2.crate) = 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775
+SIZE (rust/crates/once_cell-1.20.2.crate) = 33394
+SHA256 (rust/crates/portable-atomic-1.9.0.crate) = cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2
+SIZE (rust/crates/portable-atomic-1.9.0.crate) = 166365
+SHA256 (rust/crates/proc-macro2-1.0.87.crate) = b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a
+SIZE (rust/crates/proc-macro2-1.0.87.crate) = 49121
+SHA256 (rust/crates/pyo3-0.22.4.crate) = 00e89ce2565d6044ca31a3eb79a334c3a79a841120a98f64eea9f579564cb691
+SIZE (rust/crates/pyo3-0.22.4.crate) = 546534
+SHA256 (rust/crates/pyo3-build-config-0.22.4.crate) = d8afbaf3abd7325e08f35ffb8deb5892046fcb2608b703db6a583a5ba4cea01e
+SIZE (rust/crates/pyo3-build-config-0.22.4.crate) = 31296
+SHA256 (rust/crates/pyo3-ffi-0.22.4.crate) = ec15a5ba277339d04763f4c23d85987a5b08cbb494860be141e6a10a8eb88022
+SIZE (rust/crates/pyo3-ffi-0.22.4.crate) = 69360
+SHA256 (rust/crates/pyo3-macros-0.22.4.crate) = 15e0f01b5364bcfbb686a52fc4181d412b708a68ed20c330db9fc8d2c2bf5a43
+SIZE (rust/crates/pyo3-macros-0.22.4.crate) = 8188
+SHA256 (rust/crates/pyo3-macros-backend-0.22.4.crate) = a09b550200e1e5ed9176976d0060cbc2ea82dc8515da07885e7b8153a85caacb
+SIZE (rust/crates/pyo3-macros-backend-0.22.4.crate) = 66307
+SHA256 (rust/crates/quote-1.0.37.crate) = b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af
+SIZE (rust/crates/quote-1.0.37.crate) = 28558
+SHA256 (rust/crates/regex-1.11.0.crate) = 38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8
+SIZE (rust/crates/regex-1.11.0.crate) = 254059
+SHA256 (rust/crates/regex-automata-0.4.8.crate) = 368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3
+SIZE (rust/crates/regex-automata-0.4.8.crate) = 617784
+SHA256 (rust/crates/regex-syntax-0.8.5.crate) = 2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c
+SIZE (rust/crates/regex-syntax-0.8.5.crate) = 357541
 SHA256 (rust/crates/rustc-hash-1.1.0.crate) = 08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2
 SIZE (rust/crates/rustc-hash-1.1.0.crate) = 9331
-SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49
-SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619
-SHA256 (rust/crates/serde-1.0.202.crate) = 226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395
-SIZE (rust/crates/serde-1.0.202.crate) = 77722
-SHA256 (rust/crates/serde_derive-1.0.202.crate) = 6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838
-SIZE (rust/crates/serde_derive-1.0.202.crate) = 55867
-SHA256 (rust/crates/smallvec-1.13.2.crate) = 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67
-SIZE (rust/crates/smallvec-1.13.2.crate) = 35216
-SHA256 (rust/crates/syn-2.0.64.crate) = 7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f
-SIZE (rust/crates/syn-2.0.64.crate) = 264945
-SHA256 (rust/crates/target-lexicon-0.12.14.crate) = e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f
-SIZE (rust/crates/target-lexicon-0.12.14.crate) = 25508
-SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b
-SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168
+SHA256 (rust/crates/serde-1.0.210.crate) = c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a
+SIZE (rust/crates/serde-1.0.210.crate) = 78338
+SHA256 (rust/crates/serde_derive-1.0.210.crate) = 243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f
+SIZE (rust/crates/serde_derive-1.0.210.crate) = 56020
+SHA256 (rust/crates/syn-2.0.79.crate) = 89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590
+SIZE (rust/crates/syn-2.0.79.crate) = 268981
+SHA256 (rust/crates/target-lexicon-0.12.16.crate) = 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1
+SIZE (rust/crates/target-lexicon-0.12.16.crate) = 26488
+SHA256 (rust/crates/unicode-ident-1.0.13.crate) = e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe
+SIZE (rust/crates/unicode-ident-1.0.13.crate) = 43279
 SHA256 (rust/crates/unindent-0.2.3.crate) = c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce
 SIZE (rust/crates/unindent-0.2.3.crate) = 7306
-SHA256 (rust/crates/windows-targets-0.52.5.crate) = 6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb
-SIZE (rust/crates/windows-targets-0.52.5.crate) = 6376
-SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.5.crate) = 7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263
-SIZE (rust/crates/windows_aarch64_gnullvm-0.52.5.crate) = 433266
-SHA256 (rust/crates/windows_aarch64_msvc-0.52.5.crate) = 9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6
-SIZE (rust/crates/windows_aarch64_msvc-0.52.5.crate) = 827944
-SHA256 (rust/crates/windows_i686_gnu-0.52.5.crate) = 88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670
-SIZE (rust/crates/windows_i686_gnu-0.52.5.crate) = 875699
-SHA256 (rust/crates/windows_i686_gnullvm-0.52.5.crate) = 87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9
-SIZE (rust/crates/windows_i686_gnullvm-0.52.5.crate) = 473064
-SHA256 (rust/crates/windows_i686_msvc-0.52.5.crate) = db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf
-SIZE (rust/crates/windows_i686_msvc-0.52.5.crate) = 895404
-SHA256 (rust/crates/windows_x86_64_gnu-0.52.5.crate) = 4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9
-SIZE (rust/crates/windows_x86_64_gnu-0.52.5.crate) = 831539
-SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596
-SIZE (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 433246
-SHA256 (rust/crates/windows_x86_64_msvc-0.52.5.crate) = bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0
-SIZE (rust/crates/windows_x86_64_msvc-0.52.5.crate) = 827905