pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/onefetch sysutils/onefetch: simplify Makefile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4242ae0aed24
branches:  trunk
changeset: 441091:4242ae0aed24
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Oct 26 08:11:39 2020 +0000

description:
sysutils/onefetch: simplify Makefile

add cargo-depends.mk

diffstat:

 sysutils/onefetch/Makefile         |  219 +------------------------------------
 sysutils/onefetch/cargo-depends.mk |  216 ++++++++++++++++++++++++++++++++++++
 2 files changed, 219 insertions(+), 216 deletions(-)

diffs (truncated from 456 to 300 lines):

diff -r a6aa1370fe73 -r 4242ae0aed24 sysutils/onefetch/Makefile
--- a/sysutils/onefetch/Makefile        Mon Oct 26 07:45:55 2020 +0000
+++ b/sysutils/onefetch/Makefile        Mon Oct 26 08:11:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/10/20 11:06:28 pin Exp $
+# $NetBSD: Makefile,v 1.4 2020/10/26 08:11:39 pin Exp $
 
 DISTNAME=      onefetch-2.5.0
 CATEGORIES=    sysutils
@@ -10,224 +10,11 @@
 COMMENT=       Git repository summary on your terminal
 LICENSE=       mit
 
+.include "cargo-depends.mk"
+
 USE_LANGUAGES+=                c       # rust, but needs a toolchain to link
 USE_TOOLS+=            pkg-config
 
-CARGO_CRATE_DEPENDS+=  addr2line-0.13.0
-CARGO_CRATE_DEPENDS+=  adler-0.2.3
-CARGO_CRATE_DEPENDS+=  adler32-1.2.0
-CARGO_CRATE_DEPENDS+=  ahash-0.3.8
-CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.13
-CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
-CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+=  arc-swap-0.4.7
-CARGO_CRATE_DEPENDS+=  arrayref-0.3.6
-CARGO_CRATE_DEPENDS+=  arrayvec-0.5.1
-CARGO_CRATE_DEPENDS+=  askalono-0.4.3
-CARGO_CRATE_DEPENDS+=  atty-0.2.14
-CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
-CARGO_CRATE_DEPENDS+=  backtrace-0.3.51
-CARGO_CRATE_DEPENDS+=  base64-0.12.3
-CARGO_CRATE_DEPENDS+=  base64-0.13.0
-CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
-CARGO_CRATE_DEPENDS+=  blake2b_simd-0.5.10
-CARGO_CRATE_DEPENDS+=  block-buffer-0.7.3
-CARGO_CRATE_DEPENDS+=  block-padding-0.1.5
-CARGO_CRATE_DEPENDS+=  bstr-0.2.13
-CARGO_CRATE_DEPENDS+=  byte-tools-0.3.1
-CARGO_CRATE_DEPENDS+=  bytecount-0.6.0
-CARGO_CRATE_DEPENDS+=  bytemuck-1.4.1
-CARGO_CRATE_DEPENDS+=  byteorder-1.3.4
-CARGO_CRATE_DEPENDS+=  bytes-0.5.6
-CARGO_CRATE_DEPENDS+=  cc-1.0.60
-CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
-CARGO_CRATE_DEPENDS+=  chrono-0.4.19
-CARGO_CRATE_DEPENDS+=  chrono-tz-0.5.3
-CARGO_CRATE_DEPENDS+=  clap-2.33.3
-CARGO_CRATE_DEPENDS+=  cloudabi-0.0.3
-CARGO_CRATE_DEPENDS+=  cloudabi-0.1.0
-CARGO_CRATE_DEPENDS+=  color_quant-1.0.1
-CARGO_CRATE_DEPENDS+=  colored-2.0.0
-CARGO_CRATE_DEPENDS+=  const-random-0.1.11
-CARGO_CRATE_DEPENDS+=  const-random-macro-0.1.11
-CARGO_CRATE_DEPENDS+=  constant_time_eq-0.1.5
-CARGO_CRATE_DEPENDS+=  crc32fast-1.2.0
-CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.4.4
-CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.7.3
-CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.8.2
-CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.7.2
-CARGO_CRATE_DEPENDS+=  dashmap-3.11.10
-CARGO_CRATE_DEPENDS+=  deflate-0.8.6
-CARGO_CRATE_DEPENDS+=  deunicode-0.4.3
-CARGO_CRATE_DEPENDS+=  digest-0.8.1
-CARGO_CRATE_DEPENDS+=  dirs-2.0.2
-CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.5
-CARGO_CRATE_DEPENDS+=  either-1.6.1
-CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.24
-CARGO_CRATE_DEPENDS+=  encoding_rs_io-0.1.7
-CARGO_CRATE_DEPENDS+=  env_logger-0.7.1
-CARGO_CRATE_DEPENDS+=  error-chain-0.12.4
-CARGO_CRATE_DEPENDS+=  failure-0.1.8
-CARGO_CRATE_DEPENDS+=  failure_derive-0.1.8
-CARGO_CRATE_DEPENDS+=  fake-simd-0.1.2
-CARGO_CRATE_DEPENDS+=  flate2-1.0.18
-CARGO_CRATE_DEPENDS+=  fnv-1.0.7
-CARGO_CRATE_DEPENDS+=  futures-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-channel-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-core-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-executor-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-io-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-macro-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-sink-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-task-0.3.6
-CARGO_CRATE_DEPENDS+=  futures-util-0.3.6
-CARGO_CRATE_DEPENDS+=  generic-array-0.12.3
-CARGO_CRATE_DEPENDS+=  getrandom-0.1.15
-CARGO_CRATE_DEPENDS+=  getrandom-0.2.0
-CARGO_CRATE_DEPENDS+=  gif-0.11.1
-CARGO_CRATE_DEPENDS+=  gimli-0.22.0
-CARGO_CRATE_DEPENDS+=  git2-0.13.12
-CARGO_CRATE_DEPENDS+=  glob-0.3.0
-CARGO_CRATE_DEPENDS+=  globset-0.4.5
-CARGO_CRATE_DEPENDS+=  globwalk-0.8.0
-CARGO_CRATE_DEPENDS+=  grep-matcher-0.1.4
-CARGO_CRATE_DEPENDS+=  grep-searcher-0.1.7
-CARGO_CRATE_DEPENDS+=  heck-0.3.1
-CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.17
-CARGO_CRATE_DEPENDS+=  humansize-1.1.0
-CARGO_CRATE_DEPENDS+=  humantime-1.3.0
-CARGO_CRATE_DEPENDS+=  idna-0.2.0
-CARGO_CRATE_DEPENDS+=  ignore-0.4.16
-CARGO_CRATE_DEPENDS+=  image-0.23.10
-CARGO_CRATE_DEPENDS+=  instant-0.1.7
-CARGO_CRATE_DEPENDS+=  itertools-0.9.0
-CARGO_CRATE_DEPENDS+=  itoa-0.4.6
-CARGO_CRATE_DEPENDS+=  jobserver-0.1.21
-CARGO_CRATE_DEPENDS+=  jpeg-decoder-0.1.20
-CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+=  libc-0.2.79
-CARGO_CRATE_DEPENDS+=  libgit2-sys-0.12.14+1.1.0
-CARGO_CRATE_DEPENDS+=  libz-sys-1.1.2
-CARGO_CRATE_DEPENDS+=  lock_api-0.3.4
-CARGO_CRATE_DEPENDS+=  lock_api-0.4.1
-CARGO_CRATE_DEPENDS+=  log-0.4.11
-CARGO_CRATE_DEPENDS+=  lzw-0.10.0
-CARGO_CRATE_DEPENDS+=  maplit-1.0.2
-CARGO_CRATE_DEPENDS+=  matches-0.1.8
-CARGO_CRATE_DEPENDS+=  maybe-uninit-2.0.0
-CARGO_CRATE_DEPENDS+=  memchr-2.3.3
-CARGO_CRATE_DEPENDS+=  memmap-0.7.0
-CARGO_CRATE_DEPENDS+=  memoffset-0.5.6
-CARGO_CRATE_DEPENDS+=  miniz_oxide-0.3.7
-CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.3
-CARGO_CRATE_DEPENDS+=  mio-0.7.3
-CARGO_CRATE_DEPENDS+=  miow-0.3.5
-CARGO_CRATE_DEPENDS+=  more-asserts-0.2.1
-CARGO_CRATE_DEPENDS+=  ntapi-0.3.4
-CARGO_CRATE_DEPENDS+=  num-integer-0.1.43
-CARGO_CRATE_DEPENDS+=  num-iter-0.1.41
-CARGO_CRATE_DEPENDS+=  num-rational-0.3.0
-CARGO_CRATE_DEPENDS+=  num-traits-0.2.12
-CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
-CARGO_CRATE_DEPENDS+=  object-0.20.0
-CARGO_CRATE_DEPENDS+=  once_cell-1.4.1
-CARGO_CRATE_DEPENDS+=  opaque-debug-0.2.3
-CARGO_CRATE_DEPENDS+=  parking_lot-0.10.2
-CARGO_CRATE_DEPENDS+=  parking_lot-0.11.0
-CARGO_CRATE_DEPENDS+=  parking_lot_core-0.7.2
-CARGO_CRATE_DEPENDS+=  parking_lot_core-0.8.0
-CARGO_CRATE_DEPENDS+=  parse-zoneinfo-0.3.0
-CARGO_CRATE_DEPENDS+=  paste-1.0.1
-CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
-CARGO_CRATE_DEPENDS+=  pest-2.1.3
-CARGO_CRATE_DEPENDS+=  pest_derive-2.1.0
-CARGO_CRATE_DEPENDS+=  pest_generator-2.1.3
-CARGO_CRATE_DEPENDS+=  pest_meta-2.1.3
-CARGO_CRATE_DEPENDS+=  pin-project-0.4.26
-CARGO_CRATE_DEPENDS+=  pin-project-internal-0.4.26
-CARGO_CRATE_DEPENDS+=  pin-project-lite-0.1.10
-CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
-CARGO_CRATE_DEPENDS+=  pkg-config-0.3.18
-CARGO_CRATE_DEPENDS+=  png-0.16.7
-CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.9
-CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.18
-CARGO_CRATE_DEPENDS+=  proc-macro-nested-0.1.6
-CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.24
-CARGO_CRATE_DEPENDS+=  quick-error-1.2.3
-CARGO_CRATE_DEPENDS+=  quote-1.0.7
-CARGO_CRATE_DEPENDS+=  rand-0.7.3
-CARGO_CRATE_DEPENDS+=  rand_chacha-0.2.2
-CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
-CARGO_CRATE_DEPENDS+=  rand_hc-0.2.0
-CARGO_CRATE_DEPENDS+=  rayon-1.4.1
-CARGO_CRATE_DEPENDS+=  rayon-core-1.8.1
-CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.57
-CARGO_CRATE_DEPENDS+=  redox_users-0.3.5
-CARGO_CRATE_DEPENDS+=  regex-1.4.1
-CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.20
-CARGO_CRATE_DEPENDS+=  rmp-0.8.9
-CARGO_CRATE_DEPENDS+=  rmp-serde-0.14.4
-CARGO_CRATE_DEPENDS+=  rust-argon2-0.8.2
-CARGO_CRATE_DEPENDS+=  rustc-demangle-0.1.17
-CARGO_CRATE_DEPENDS+=  ryu-1.0.5
-CARGO_CRATE_DEPENDS+=  same-file-1.0.6
-CARGO_CRATE_DEPENDS+=  scoped_threadpool-0.1.9
-CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
-CARGO_CRATE_DEPENDS+=  serde-1.0.116
-CARGO_CRATE_DEPENDS+=  serde_derive-1.0.116
-CARGO_CRATE_DEPENDS+=  serde_json-1.0.58
-CARGO_CRATE_DEPENDS+=  sha-1-0.8.2
-CARGO_CRATE_DEPENDS+=  signal-hook-registry-1.2.1
-CARGO_CRATE_DEPENDS+=  slab-0.4.2
-CARGO_CRATE_DEPENDS+=  slug-0.1.4
-CARGO_CRATE_DEPENDS+=  smallvec-1.4.2
-CARGO_CRATE_DEPENDS+=  socket2-0.3.15
-CARGO_CRATE_DEPENDS+=  strsim-0.8.0
-CARGO_CRATE_DEPENDS+=  strum-0.19.5
-CARGO_CRATE_DEPENDS+=  strum_macros-0.19.4
-CARGO_CRATE_DEPENDS+=  syn-1.0.42
-CARGO_CRATE_DEPENDS+=  synstructure-0.12.4
-CARGO_CRATE_DEPENDS+=  tera-1.5.0
-CARGO_CRATE_DEPENDS+=  term_size-0.3.2
-CARGO_CRATE_DEPENDS+=  termcolor-1.1.0
-CARGO_CRATE_DEPENDS+=  textwrap-0.11.0
-CARGO_CRATE_DEPENDS+=  thread_local-1.0.1
-CARGO_CRATE_DEPENDS+=  tiff-0.5.0
-CARGO_CRATE_DEPENDS+=  time-0.1.44
-CARGO_CRATE_DEPENDS+=  tinyvec-0.3.4
-CARGO_CRATE_DEPENDS+=  tokei-12.0.4
-CARGO_CRATE_DEPENDS+=  tokio-0.3.0
-CARGO_CRATE_DEPENDS+=  tokio-macros-0.3.0
-CARGO_CRATE_DEPENDS+=  toml-0.5.6
-CARGO_CRATE_DEPENDS+=  typenum-1.12.0
-CARGO_CRATE_DEPENDS+=  ucd-trie-0.1.3
-CARGO_CRATE_DEPENDS+=  unic-char-property-0.9.0
-CARGO_CRATE_DEPENDS+=  unic-char-range-0.9.0
-CARGO_CRATE_DEPENDS+=  unic-common-0.9.0
-CARGO_CRATE_DEPENDS+=  unic-segment-0.9.0
-CARGO_CRATE_DEPENDS+=  unic-ucd-segment-0.9.0
-CARGO_CRATE_DEPENDS+=  unic-ucd-version-0.9.0
-CARGO_CRATE_DEPENDS+=  unicode-bidi-0.3.4
-CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.13
-CARGO_CRATE_DEPENDS+=  unicode-segmentation-1.6.0
-CARGO_CRATE_DEPENDS+=  unicode-width-0.1.8
-CARGO_CRATE_DEPENDS+=  unicode-xid-0.2.1
-CARGO_CRATE_DEPENDS+=  url-2.1.1
-CARGO_CRATE_DEPENDS+=  vcpkg-0.2.10
-CARGO_CRATE_DEPENDS+=  vec_map-0.8.2
-CARGO_CRATE_DEPENDS+=  version_check-0.9.2
-CARGO_CRATE_DEPENDS+=  walkdir-2.3.1
-CARGO_CRATE_DEPENDS+=  wasi-0.9.0+wasi-snapshot-preview1
-CARGO_CRATE_DEPENDS+=  wasi-0.10.0+wasi-snapshot-preview1
-CARGO_CRATE_DEPENDS+=  weezl-0.1.1
-CARGO_CRATE_DEPENDS+=  winapi-0.3.9
-CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
-CARGO_CRATE_DEPENDS+=  winapi-util-0.1.5
-CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
-CARGO_CRATE_DEPENDS+=  zstd-0.5.3+zstd.1.4.5
-CARGO_CRATE_DEPENDS+=  zstd-safe-2.0.5+zstd.1.4.5
-CARGO_CRATE_DEPENDS+=  zstd-sys-1.4.17+zstd.1.4.5
-
 INSTALLATION_DIRS=     bin
 
 do-install:
diff -r a6aa1370fe73 -r 4242ae0aed24 sysutils/onefetch/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/onefetch/cargo-depends.mk        Mon Oct 26 08:11:39 2020 +0000
@@ -0,0 +1,216 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2020/10/26 08:11:39 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  addr2line-0.13.0
+CARGO_CRATE_DEPENDS+=  adler-0.2.3
+CARGO_CRATE_DEPENDS+=  adler32-1.2.0
+CARGO_CRATE_DEPENDS+=  ahash-0.3.8
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.13
+CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  arc-swap-0.4.7
+CARGO_CRATE_DEPENDS+=  arrayref-0.3.6
+CARGO_CRATE_DEPENDS+=  arrayvec-0.5.1
+CARGO_CRATE_DEPENDS+=  askalono-0.4.3
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
+CARGO_CRATE_DEPENDS+=  backtrace-0.3.51
+CARGO_CRATE_DEPENDS+=  base64-0.12.3
+CARGO_CRATE_DEPENDS+=  base64-0.13.0
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
+CARGO_CRATE_DEPENDS+=  blake2b_simd-0.5.10
+CARGO_CRATE_DEPENDS+=  block-buffer-0.7.3
+CARGO_CRATE_DEPENDS+=  block-padding-0.1.5
+CARGO_CRATE_DEPENDS+=  bstr-0.2.13
+CARGO_CRATE_DEPENDS+=  byte-tools-0.3.1
+CARGO_CRATE_DEPENDS+=  bytecount-0.6.0
+CARGO_CRATE_DEPENDS+=  bytemuck-1.4.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.3.4
+CARGO_CRATE_DEPENDS+=  bytes-0.5.6
+CARGO_CRATE_DEPENDS+=  cc-1.0.60
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+=  chrono-0.4.19
+CARGO_CRATE_DEPENDS+=  chrono-tz-0.5.3
+CARGO_CRATE_DEPENDS+=  clap-2.33.3
+CARGO_CRATE_DEPENDS+=  cloudabi-0.0.3
+CARGO_CRATE_DEPENDS+=  cloudabi-0.1.0
+CARGO_CRATE_DEPENDS+=  color_quant-1.0.1
+CARGO_CRATE_DEPENDS+=  colored-2.0.0
+CARGO_CRATE_DEPENDS+=  const-random-0.1.11
+CARGO_CRATE_DEPENDS+=  const-random-macro-0.1.11
+CARGO_CRATE_DEPENDS+=  constant_time_eq-0.1.5
+CARGO_CRATE_DEPENDS+=  crc32fast-1.2.0
+CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.4.4
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.7.3
+CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.8.2
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.7.2
+CARGO_CRATE_DEPENDS+=  dashmap-3.11.10
+CARGO_CRATE_DEPENDS+=  deflate-0.8.6
+CARGO_CRATE_DEPENDS+=  deunicode-0.4.3
+CARGO_CRATE_DEPENDS+=  digest-0.8.1
+CARGO_CRATE_DEPENDS+=  dirs-2.0.2
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.5
+CARGO_CRATE_DEPENDS+=  either-1.6.1
+CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.24
+CARGO_CRATE_DEPENDS+=  encoding_rs_io-0.1.7
+CARGO_CRATE_DEPENDS+=  env_logger-0.7.1
+CARGO_CRATE_DEPENDS+=  error-chain-0.12.4
+CARGO_CRATE_DEPENDS+=  failure-0.1.8
+CARGO_CRATE_DEPENDS+=  failure_derive-0.1.8
+CARGO_CRATE_DEPENDS+=  fake-simd-0.1.2
+CARGO_CRATE_DEPENDS+=  flate2-1.0.18



Home | Main Index | Thread Index | Old Index