mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-02-02 12:49:47 +08:00
Use macro def_upstream
This commit is contained in:
parent
d676f8974e
commit
82d01f7b99
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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"}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user