net-dns/dog: make pkgcheck happy

SuboptimalCratesSeparator: version 0.1.0: line: 9: using - as name-version separator in CRATES is suboptimal, use name@version instead
SuboptimalCratesURICall: version 0.1.0: line: 96: calling '$(cargo_crate_uris)' is suboptimal, use '${CARGO_CRATE_URIS}' for global CRATES instead

Signed-off-by: liuyujielol <2073201758GD@gmail.com>
This commit is contained in:
liuyujielol 2023-11-18 17:55:22 +08:00 committed by 梁永祥
parent 4613c51572
commit f561c50e36

View File

@ -6,81 +6,81 @@
EAPI=8 EAPI=8
CRATES=" CRATES="
addr2line-0.14.0 addr2line@0.14.0
adler-0.2.3 adler@0.2.3
ansi_term-0.11.0 ansi_term@0.11.0
ansi_term-0.12.1 ansi_term@0.12.1
atty-0.2.14 atty@0.2.14
autocfg-1.0.1 autocfg@1.0.1
backtrace-0.3.54 backtrace@0.3.54
bitflags-1.2.1 bitflags@1.2.1
byteorder-1.3.4 byteorder@1.3.4
cc-1.0.61 cc@1.0.61
cfg-if-0.1.10 cfg-if@0.1.10
cfg-if-1.0.0 cfg-if@1.0.0
core-foundation-0.7.0 core-foundation@0.7.0
core-foundation-sys-0.7.0 core-foundation-sys@0.7.0
ctor-0.1.16 ctor@0.1.16
datetime-0.5.1 datetime@0.5.1
difference-2.0.0 difference@2.0.0
failure-0.1.8 failure@0.1.8
failure_derive-0.1.8 failure_derive@0.1.8
foreign-types-0.3.2 foreign-types@0.3.2
foreign-types-shared-0.1.1 foreign-types-shared@0.1.1
getopts-0.2.21 getopts@0.2.21
getrandom-0.1.15 getrandom@0.1.15
gimli-0.23.0 gimli@0.23.0
hermit-abi-0.1.17 hermit-abi@0.1.17
httparse-1.3.4 httparse@1.3.4
ipconfig-0.2.2 ipconfig@0.2.2
itoa-0.4.6 itoa@0.4.6
json-0.12.4 json@0.12.4
lazy_static-1.4.0 lazy_static@1.4.0
libc-0.2.80 libc@0.2.80
log-0.4.11 log@0.4.11
miniz_oxide-0.4.3 miniz_oxide@0.4.3
native-tls-0.2.4 native-tls@0.2.4
object-0.22.0 object@0.22.0
once_cell-1.17.1 once_cell@1.17.1
openssl-0.10.52 openssl@0.10.52
openssl-macros-0.1.0 openssl-macros@0.1.0
openssl-probe-0.1.2 openssl-probe@0.1.2
openssl-sys-0.9.87 openssl-sys@0.9.87
output_vt100-0.1.2 output_vt100@0.1.2
pkg-config-0.3.19 pkg-config@0.3.19
ppv-lite86-0.2.10 ppv-lite86@0.2.10
pretty_assertions-0.6.1 pretty_assertions@0.6.1
proc-macro2-1.0.24 proc-macro2@1.0.24
quote-1.0.7 quote@1.0.7
rand-0.7.3 rand@0.7.3
rand_chacha-0.2.2 rand_chacha@0.2.2
rand_core-0.5.1 rand_core@0.5.1
rand_hc-0.2.0 rand_hc@0.2.0
redox_syscall-0.1.57 redox_syscall@0.1.57
regex-1.4.2 regex@1.4.2
regex-syntax-0.6.21 regex-syntax@0.6.21
remove_dir_all-0.5.3 remove_dir_all@0.5.3
rustc-demangle-0.1.18 rustc-demangle@0.1.18
ryu-1.0.5 ryu@1.0.5
schannel-0.1.19 schannel@0.1.19
security-framework-0.4.4 security-framework@0.4.4
security-framework-sys-0.4.3 security-framework-sys@0.4.3
serde-1.0.117 serde@1.0.117
serde_derive-1.0.117 serde_derive@1.0.117
serde_json-1.0.59 serde_json@1.0.59
socket2-0.3.15 socket2@0.3.15
syn-1.0.48 syn@1.0.48
synstructure-0.12.4 synstructure@0.12.4
tempfile-3.1.0 tempfile@3.1.0
unicode-width-0.1.8 unicode-width@0.1.8
unicode-xid-0.2.1 unicode-xid@0.2.1
vcpkg-0.2.10 vcpkg@0.2.10
wasi-0.9.0+wasi-snapshot-preview1 wasi@0.9.0+wasi-snapshot-preview1
widestring-0.4.3 widestring@0.4.3
winapi-0.3.9 winapi@0.3.9
winapi-i686-pc-windows-gnu-0.4.0 winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0 winapi-x86_64-pc-windows-gnu@0.4.0
winreg-0.6.2 winreg@0.6.2
" "
declare -A GIT_CRATES=( declare -A GIT_CRATES=(
@ -93,7 +93,7 @@ DESCRIPTION="A command-line DNS client"
HOMEPAGE="https://github.com/ogham/dog" HOMEPAGE="https://github.com/ogham/dog"
SRC_URI=" SRC_URI="
https://github.com/ogham/dog/archive/tags/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/ogham/dog/archive/tags/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris) ${CARGO_CRATE_URIS}
" "
S="${WORKDIR}/${PN}-tags-v${PV}" S="${WORKDIR}/${PN}-tags-v${PV}"