Skip to content

Commit 436eecc

Browse files
authored
Merge pull request #101 from giordano/project-toml
Add Project.toml and remove REQUIRE files
2 parents 3102be7 + f43cf63 commit 436eecc

File tree

6 files changed

+25
-10
lines changed

6 files changed

+25
-10
lines changed

Project.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name = "GSL"
2+
uuid = "92c85e6c-cbff-5e0c-80f7-495c94daaecd"
3+
version = "0.5.1"
4+
5+
[deps]
6+
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
7+
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
8+
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
9+
10+
[compat]
11+
BinaryProvider = "≥ 0.5.2"
12+
SpecialFunctions = "≥ 0.6.0"
13+
julia = "^1.0.0"
14+
15+
[extras]
16+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
17+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
18+
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
19+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
20+
21+
[targets]
22+
test = ["LinearAlgebra", "Random", "SpecialFunctions", "Test"]

REQUIRE

Lines changed: 0 additions & 3 deletions
This file was deleted.

deps/build.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
# https://github.com/giordano/GSLBuilder.jl
33

44
using BinaryProvider # requires BinaryProvider 0.3.0 or later
5-
using Compat
65

76
# Parse some basic command-line arguments
87
const verbose = "--verbose" in ARGS
98
const prefix = Prefix(get([a for a in ARGS if a != "--verbose"], 1, joinpath(@__DIR__, "usr")))
109
products = [
1110
# work around for https://github.com/JuliaPackaging/BinaryProvider.jl/issues/133
12-
LibraryProduct(prefix, [Compat.Sys.iswindows() ? "libgsl" : "libgsl."], :libgsl),
13-
LibraryProduct(prefix, [Compat.Sys.iswindows() ? "libgslcblas" : "libgslcblas."], :libgslcblas),
11+
LibraryProduct(prefix, [Sys.iswindows() ? "libgsl" : "libgsl."], :libgsl),
12+
LibraryProduct(prefix, [Sys.iswindows() ? "libgslcblas" : "libgslcblas."], :libgslcblas),
1413
]
1514

1615
# Download binaries from hosted location

test/REQUIRE

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/nonworking/basic.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using GSL
2-
using Compat
32

43
try
54
# Replace with `@isdefined` check on 0.7

test/nonworking/testfunctions.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Compat.Test
2-
using Compat
1+
using Test
32

43
#Tests GSL special functions and their error-propagating _e variants
54
macro sf_test(sf, args...)

0 commit comments

Comments
 (0)