Skip to content

Commit 080400e

Browse files
authored
[maintenance] reduce dependencies and update README badge (#202)
* reduce test dependencies ImageCore includes Colors and ColorVectorSpaces * remove unused stdlibs from deps * [deprecated] update urlbase * update README badges * add Julia 1 test on FreeBSD
1 parent 5b8311e commit 080400e

8 files changed

+23
-23
lines changed

.cirrus.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ task:
55
env:
66
matrix:
77
- JULIA_VERSION: 1.3
8+
- JULIA_VERSION: 1
89
- JULIA_VERSION: nightly
910
install_script:
1011
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"

Project.toml

+1-7
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
77
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
88
ImageMagick_jll = "c73af94c-d91f-53ed-93a7-00f77d67a9d7"
99
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
10-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
11-
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
12-
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1310

1411
[compat]
1512
FileIO = "1"
@@ -18,18 +15,15 @@ ImageMagick_jll = "6.9.10"
1815
julia = "1.3"
1916

2017
[extras]
21-
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
22-
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
2318
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
2419
ImageMetadata = "bc367c6b-8a6b-528e-b4bd-a4b897500b49"
2520
ImageShow = "4e3cecfd-b093-5904-9786-8bbb286a6a31"
2621
ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
2722
IndirectArrays = "9b13fd28-a010-5f03-acff-a1bbcff69959"
2823
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
29-
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
3024
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3125
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3226
ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"
3327

3428
[targets]
35-
test = ["ColorVectorSpace", "Colors", "Downloads", "OffsetArrays", "Pkg", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata"]
29+
test = ["Downloads", "OffsetArrays", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata"]

README.md

+18-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# ImageMagick
22

3-
[![Build Status](https://travis-ci.org/JuliaIO/ImageMagick.jl.svg?branch=master)](https://travis-ci.org/JuliaIO/ImageMagick.jl)
4-
[![Build status](https://ci.appveyor.com/api/projects/status/hl0j4amikte3pl9c/branch/master?svg=true)](https://ci.appveyor.com/project/SimonDanisch/imagemagick-jl/branch/master)
5-
[![Coverage Status](https://coveralls.io/repos/JuliaIO/ImageMagick.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaIO/ImageMagick.jl?branch=master)
6-
[![codecov.io](http://codecov.io/github/JuliaIO/ImageMagick.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaIO/ImageMagick.jl?branch=master)
3+
| **Platform** | **Build Status** |
4+
|:-------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------:|
5+
| Linux & MacOS & Windows | [![Github Action][github-action-img]][github-action-url] |
6+
| FreeBSD x86 | [![Cirrus][cirrus-img]][cirrus-url] |
7+
8+
[![Codecoverage Status][codecov-img]][codecov-url] [![Coveralls Status][coveralls-img]][coveralls-url]
79

810
This package provides a wrapper around
911
[ImageMagick](http://www.imagemagick.org/) version 6. It was split off from
@@ -44,3 +46,15 @@ at some slight cost in terms of performance of future operations.
4446
## Advanced usage
4547

4648
The environment variable `MAGICK_THREAD_LIMIT` can be used to throttle multithreading.
49+
50+
[github-action-img]: https://github.com/JuliaIO/ImageMagick.jl/actions/workflows/CI.yml/badge.svg
51+
[github-action-url]: https://github.com/JuliaIO/ImageMagick.jl/actions/workflows/CI.yml
52+
53+
[cirrus-img]: https://api.cirrus-ci.com/github/JuliaIO/ImageMagick.jl.svg
54+
[cirrus-url]: https://cirrus-ci.com/github/JuliaIO/ImageMagick.jl
55+
56+
[codecov-img]: https://codecov.io/gh/JuliaIO/ImageMagick.jl/branch/master/graph/badge.svg
57+
[codecov-url]: https://codecov.io/gh/JuliaIO/ImageMagick.jl
58+
59+
[coveralls-img]: https://coveralls.io/repos/github/JuliaIO/ImageMagick.jl/badge.svg?branch=master
60+
[coveralls-url]: https://coveralls.io/github/JuliaIO/ImageMagick.jl?branch=master

src/ImageMagick.jl

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module ImageMagick
33
using FileIO: DataFormat, @format_str, Stream, File, filename, stream
44
using InteractiveUtils: subtypes
55
using ImageCore
6-
using Libdl
76
using ImageMagick_jll
87
using Base: convert
98

test/REQUIRE

-7
This file was deleted.

test/constructed_images.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using ImageMagick, IndirectArrays, FileIO, OffsetArrays, ImageMetadata, ImageTransformations
22
using ImageShow # for show(io, ::MIME, img) & ImageMeta
33
using Test
4-
using ImageCore, ColorVectorSpace
4+
using ImageCore
55
using Random, Base.CoreLogging
66

77
mutable struct TestType end

test/readremote.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if !isdir(writedir)
1616
end
1717

1818
@testset "Read remote" begin
19-
urlbase = "http://www.imagemagick.org/Usage/images/"
19+
urlbase = "https://legacy.imagemagick.org/Usage/images/"
2020

2121
function getfile(name)
2222
file = joinpath(workdir, name)

test/runtests.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
using ImageMagick, ColorVectorSpace, ImageMetadata, ImageTransformations
1+
using ImageMagick, ImageMetadata, ImageTransformations
22

33
using Random: bitrand
44
using Base.CoreLogging: SimpleLogger, with_logger
5-
using Pkg
65

76
include("constructed_images.jl")
87
include("readremote.jl")

0 commit comments

Comments
 (0)