Prevent upstream build system from downloading Pkg.jl
authorDebian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
Tue, 31 Dec 2019 08:30:40 +0000 (08:30 +0000)
committerMo Zhou <lumin@debian.org>
Tue, 31 Dec 2019 08:30:40 +0000 (08:30 +0000)
Forward: no need

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

stdlib/Makefile

index a08a672b22422d4f0436067bf60d0c2c86f81bd2..0d202a095a7e3e24b6c5372264c0e3e015a76972 100644 (file)
@@ -20,7 +20,8 @@ STDLIBS = Base64 CRC32c Dates DelimitedFiles Distributed FileWatching \
           SharedArrays Sockets SparseArrays Statistics SuiteSparse Test Unicode UUIDs
 STDLIBS_EXT = Pkg
 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
+
 
 $(foreach module, $(STDLIBS_EXT), $(eval $(call stdlib-external,$(module),$(shell echo $(module) | tr a-z A-Z))))