Use macro def_upstream

This commit is contained in:
Aoran Zeng 2024-12-18 20:36:25 +08:00
parent d676f8974e
commit 82d01f7b99
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
static SourceProvider_t pl_nodejs_npm_upstream =
{
"upstream", "Upstream", "上游默认源", "https://www.npmjs.com/",
def_upstream, "https://www.npmjs.com/",
{NotSkip, NA, NA, "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-4.22.0.tgz"}
};
@ -46,7 +46,7 @@ def_sources_n(pl_nodejs);
static SourceProvider_t pl_nodejs_binary_release_upstream =
{
"upstream", "Upstream", "上游默认源", "https://nodejs.org/",
def_upstream, "https://nodejs.org/",
{NotSkip, NA, NA, "https://nodejs.org/dist/v23.4.0/node-v23.4.0.tar.gz"} // 100MB
};

View File

@ -12,7 +12,7 @@
static SourceProvider_t pl_python_pypi_upstream =
{
"upstream", "Upstream", "上游默认源", "https://pypi.org/",
def_upstream, "https://pypi.org/",
{NotSkip, NA, NA, "https://files.pythonhosted.org/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"} // 260MB
};

View File

@ -10,7 +10,7 @@
static SourceProvider_t pl_ruby_upstream =
{
"upstream", "Upstream", "上游默认源", "https://rubygems.org",
def_upstream, "https://rubygems.org",
{NotSkip, NA, NA, "https://rubygems.org/gems/nokogiri-1.15.0-java.gem"}
};