Skip to content

Commit

Permalink
Move *_URL stdlib definitions into .version files
Browse files Browse the repository at this point in the history
These pieces of information should live together, cleans up
`stdlib/Makefile` a bit.
  • Loading branch information
staticfloat committed Jul 8, 2021
1 parent 1b23b8d commit 202d5ca
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 2 additions & 0 deletions stdlib/ArgTools.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ARGTOOLS_BRANCH = master
ARGTOOLS_SHA1 = fa878696ff2ae4ba7ca9942bf9544556c0d86ce4
ARGTOOLS_GIT_URL := git://github.com/JuliaIO/ArgTools.jl.git
ARGTOOLS_TAR_URL = https://api.github.com/repos/JuliaIO/ArgTools.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/Downloads.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
DOWNLOADS_BRANCH = master
DOWNLOADS_SHA1 = cd002c3c6936d144ae668d70e18337931706c63a
DOWNLOADS_GIT_URL := git://github.com/JuliaLang/Downloads.jl.git
DOWNLOADS_TAR_URL = https://api.github.com/repos/JuliaLang/Downloads.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/LibCURL.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
LIBCURL_BRANCH = master
LIBCURL_SHA1 = cddeb7f4a7d5718a4a1be602ffcbe68299a1a37e
LIBCURL_GIT_URL := git://github.com/JuliaWeb/LibCURL.jl.git
LIBCURL_TAR_URL = https://api.github.com/repos/JuliaWeb/LibCURL.jl/tarball/$1
18 changes: 0 additions & 18 deletions stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,6 @@ STDLIBS = Artifacts Base64 CRC32c Dates DelimitedFiles Distributed FileWatching
$(JLL_NAMES)

STDLIBS_EXT = Pkg Statistics LibCURL Downloads ArgTools Tar NetworkOptions SuiteSparse SHA
PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
STATISTICS_GIT_URL := git://github.com/JuliaLang/Statistics.jl.git
STATISTICS_TAR_URL = https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/$1
LIBCURL_GIT_URL := git://github.com/JuliaWeb/LibCURL.jl.git
LIBCURL_TAR_URL = https://api.github.com/repos/JuliaWeb/LibCURL.jl/tarball/$1
DOWNLOADS_GIT_URL := git://github.com/JuliaLang/Downloads.jl.git
DOWNLOADS_TAR_URL = https://api.github.com/repos/JuliaLang/Downloads.jl/tarball/$1
ARGTOOLS_GIT_URL := git://github.com/JuliaIO/ArgTools.jl.git
ARGTOOLS_TAR_URL = https://api.github.com/repos/JuliaIO/ArgTools.jl/tarball/$1
TAR_GIT_URL := git://github.com/JuliaIO/Tar.jl.git
TAR_TAR_URL = https://api.github.com/repos/JuliaIO/Tar.jl/tarball/$1
NETWORKOPTIONS_GIT_URL := git://github.com/JuliaLang/NetworkOptions.jl.git
NETWORKOPTIONS_TAR_URL = https://api.github.com/repos/JuliaLang/NetworkOptions.jl/tarball/$1
SUITESPARSE_GIT_URL := git://github.com/JuliaLang/SuiteSparse.jl.git
SUITESPARSE_TAR_URL = https://api.github.com/repos/JuliaLang/SuiteSparse.jl/tarball/$1
SHA_GIT_URL := git://github.com/JuliaCrypto/SHA.jl.git
SHA_TAR_URL = https://api.github.com/repos/JuliaCrypto/SHA.jl/tarball/$1

$(foreach module, $(STDLIBS_EXT), $(eval $(call stdlib-external,$(module),$(shell echo $(module) | tr a-z A-Z))))

Expand Down
2 changes: 2 additions & 0 deletions stdlib/NetworkOptions.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
NETWORKOPTIONS_BRANCH = master
NETWORKOPTIONS_SHA1 = 6cea813ca841c400627b6cf4d4f4ec2599965ab6
NETWORKOPTIONS_GIT_URL := git://github.com/JuliaLang/NetworkOptions.jl.git
NETWORKOPTIONS_TAR_URL = https://api.github.com/repos/JuliaLang/NetworkOptions.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/Pkg.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
PKG_BRANCH = master
PKG_SHA1 = e476cd0c61e19b645cc0e32bb30f8e44f60001f7
PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/SHA.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SHA_BRANCH = master
SHA_SHA1 = 7ac490dfa78449ae81354cff9471a317f211a8f6
SHA_GIT_URL := git://github.com/JuliaCrypto/SHA.jl.git
SHA_TAR_URL = https://api.github.com/repos/JuliaCrypto/SHA.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/Statistics.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
STATISTICS_BRANCH = master
STATISTICS_SHA1 = 54f9b0d999813aa9fab039f632df222ffd2a96a8
STATISTICS_GIT_URL := git://github.com/JuliaLang/Statistics.jl.git
STATISTICS_TAR_URL = https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/SuiteSparse.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SUITESPARSE_BRANCH = master
SUITESPARSE_SHA1 = 76856153eef26c008f13520ffa12288e214fe02c
SUITESPARSE_GIT_URL := git://github.com/JuliaLang/SuiteSparse.jl.git
SUITESPARSE_TAR_URL = https://api.github.com/repos/JuliaLang/SuiteSparse.jl/tarball/$1
2 changes: 2 additions & 0 deletions stdlib/Tar.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
TAR_BRANCH = master
TAR_SHA1 = ffb3dd5e697eb6690fce9cceb67edb82134f8337
TAR_GIT_URL := git://github.com/JuliaIO/Tar.jl.git
TAR_TAR_URL = https://api.github.com/repos/JuliaIO/Tar.jl/tarball/$1

0 comments on commit 202d5ca

Please sign in to comment.