File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
pythonforandroid/recipes/tiktoken Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def modified_recipes(branch='origin/develop'):
39
39
# using the contrib version on purpose rather than sh.git, since it comes
40
40
# with a bunch of fixes, e.g. disabled TTY, see:
41
41
# https://stackoverflow.com/a/20128598/185510
42
- git_diff = sh .contrib .git .diff ('--name-only' , branch )
42
+ git_diff = sh .contrib .git .diff ('--name-only' , branch ). split ( " \n " )
43
43
recipes = set ()
44
44
for file_path in git_diff :
45
45
if 'pythonforandroid/recipes/' in file_path :
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class TiktokenRecipe(RustCompiledComponentsRecipe):
5
5
name = 'tiktoken'
6
6
version = '0.7.0'
7
7
url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz'
8
+ sha512sum = "a8028671aa0525e474f2862608ac2edc879071f96c00777e1f8af8b2d4800c8d"
8
9
depends = ['regex' , 'requests' ]
9
10
10
11
You can’t perform that action at this time.
0 commit comments