diff --git a/REQUIRE b/REQUIRE index c4f9257..75bc337 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,4 +1,4 @@ julia 0.4 URIParser SHA -Compat 0.9.5 +Compat 0.17.0 diff --git a/appveyor.yml b/appveyor.yml index 5e526e8..69b757b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,4 +33,4 @@ build_script: Pkg.clone(pwd(), \"BinDeps\"); Pkg.build(\"BinDeps\")" test_script: - - C:\projects\julia\bin\julia -F -e "Pkg.test(\"BinDeps\")" + - C:\projects\julia\bin\julia -e "Pkg.test(\"BinDeps\")" diff --git a/src/BinDeps.jl b/src/BinDeps.jl index c165357..addb810 100644 --- a/src/BinDeps.jl +++ b/src/BinDeps.jl @@ -43,7 +43,7 @@ macro make_rule(condition,command) end end -abstract BuildStep +@compat abstract type BuildStep end downloadcmd = nothing function download_cmd(url::AbstractString, filename::AbstractString) diff --git a/src/dependencies.jl b/src/dependencies.jl index 04afc4c..7212211 100644 --- a/src/dependencies.jl +++ b/src/dependencies.jl @@ -3,10 +3,10 @@ import Base: show const OSNAME = is_windows() ? :Windows : KERNEL # A dependency provider, if successfully executed will satisfy the dependency -abstract DependencyProvider +@compat abstract type DependencyProvider end # A library helper may be used by `DependencyProvider`s but will by itself not provide the library -abstract DependencyHelper +@compat abstract type DependencyHelper end type PackageContext do_install::Bool @@ -91,7 +91,7 @@ export library_dependency, bindir, srcdir, usrdir, libdir library_dependency(args...; properties...) = error("No context provided. Did you forget `@BinDeps.setup`?") -abstract PackageManager <: DependencyProvider +@compat abstract type PackageManager <: DependencyProvider end DEBIAN_VERSION_REGEX = r"^ ([0-9]+\:)? # epoch @@ -227,8 +227,8 @@ libdir(z::Zypper,dep) = ["/usr/lib", "/usr/lib32", "/usr/lib64"] # Can use everything else without restriction by default can_use(::Type) = true -abstract Sources <: DependencyHelper -abstract Binaries <: DependencyProvider +@compat abstract type Sources <: DependencyHelper end +@compat abstract type Binaries <: DependencyProvider end # # A dummy provider checked for every library that @@ -261,7 +261,7 @@ end libdir(p::CustomPathBinaries,dep) = p.path -abstract BuildProcess <: DependencyProvider +@compat abstract type BuildProcess <: DependencyProvider end type SimpleBuild <: BuildProcess steps