Prevent upstream build system from downloading Pkg.jl
authorDebian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
Tue, 10 Nov 2020 02:04:59 +0000 (02:04 +0000)
committerNorbert Preining <norbert@preining.info>
Tue, 10 Nov 2020 02:04:59 +0000 (02:04 +0000)
Forward: no need

Gbp-Pq: Name do-not-download-pkgjl.patch

stdlib/Makefile

index d6bcfebfed0ce00c8c0ba25c05b5b7e8c5485b79..719a4ece449d5495a2e3836deff4895e00b49949 100644 (file)
@@ -20,7 +20,7 @@ STDLIBS = Base64 CRC32c Dates DelimitedFiles Distributed FileWatching \
           SharedArrays Sockets SparseArrays SuiteSparse Test Unicode UUIDs
 STDLIBS_EXT = Pkg Statistics
 PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
-PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
+PKG_TAR_URL = file://$(CURDIR)/../debian/embedded/$1
 STATISTICS_GIT_URL := git://github.com/JuliaLang/Statistics.jl.git
 STATISTICS_TAR_URL = https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/$1