Use chef_allow_gsr for lang

This commit is contained in:
Aoran Zeng
2025-08-10 19:50:17 +08:00
parent b1ee34862c
commit ff65de3a75
32 changed files with 77 additions and 144 deletions

View File

@@ -8,6 +8,7 @@ void
pl_python_pdm_prelude (void)
{
use_this(pl_python_pdm);
chef_allow_gsr(pl_python_pdm);
chef_set_created_on (this, "2024-06-05");
chef_set_last_updated (this, "2025-07-11");
@@ -18,10 +19,6 @@ pl_python_pdm_prelude (void)
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_english(this);
chef_allow_user_define(this);

View File

@@ -8,6 +8,7 @@ void
pl_python_poetry_prelude (void)
{
use_this(pl_python_poetry);
chef_allow_gsr(pl_python_poetry);
chef_set_created_on (this, "2024-08-08");
chef_set_last_updated (this, "2025-07-11");
@@ -18,10 +19,6 @@ pl_python_poetry_prelude (void)
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "Poetry 默认使用项目级换源", "Poetry uses project-level source changing by default");
chef_allow_english(this);
chef_allow_user_define(this);

View File

@@ -8,6 +8,7 @@ void
pl_python_rye_prelude (void)
{
use_this(pl_python_rye);
chef_allow_gsr(pl_python_rye);
chef_set_created_on (this, "2024-12-06");
chef_set_last_updated (this, "2025-08-09");
@@ -18,10 +19,6 @@ pl_python_rye_prelude (void)
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_english(this);
chef_allow_user_define(this);

View File

@@ -13,7 +13,7 @@ def_target(pl_python_group);
static char *
pl_python_speed_url_constructor (char *url, char *user_data)
{
char *str = xy_str_delete_suffix ("/simple");
char *str = xy_str_delete_suffix (url, "/simple");
str = xy_2strjoin (str, "/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl");
return str;
}

View File

@@ -8,6 +8,7 @@ void
pl_python_pip_prelude (void)
{
use_this(pl_python_pip);
chef_allow_gsr(pl_python_pip);
chef_set_created_on (this, "2023-09-03");
chef_set_last_updated (this, "2025-07-11");
@@ -18,10 +19,6 @@ pl_python_pip_prelude (void)
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_forbid_local_mode (this);
chef_allow_english(this);
chef_allow_user_define(this);

View File

@@ -8,6 +8,7 @@ void
pl_python_uv_prelude (void)
{
use_this(pl_python_uv);
chef_allow_gsr(pl_python_uv);
chef_set_created_on (this, "2024-12-11");
chef_set_last_updated (this, "2025-08-09");
@@ -20,10 +21,6 @@ pl_python_uv_prelude (void)
"ccy", "icuichengyi@gmail.com",
"Aoran Zeng", "ccmywish@qq.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_english(this);
chef_allow_user_define(this);