pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/bat textproc/bat: Refactor the crates into it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6df71576763
branches:  trunk
changeset: 769110:d6df71576763
user:      fox <fox%pkgsrc.org@localhost>
date:      Mon Nov 08 05:23:57 2021 +0000

description:
textproc/bat: Refactor the crates into it's own file.

diffstat:

 textproc/bat/Makefile         |  152 +-----------------------------------------
 textproc/bat/cargo-depends.mk |  149 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 152 insertions(+), 149 deletions(-)

diffs (truncated from 320 to 300 lines):

diff -r c140078694ef -r d6df71576763 textproc/bat/Makefile
--- a/textproc/bat/Makefile     Mon Nov 08 05:11:27 2021 +0000
+++ b/textproc/bat/Makefile     Mon Nov 08 05:23:57 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2021/08/24 05:14:14 fox Exp $
+# $NetBSD: Makefile,v 1.23 2021/11/08 05:23:57 fox Exp $
 
 DISTNAME=      bat-0.18.3
 CATEGORIES=    textproc
@@ -12,155 +12,9 @@
 COMMENT=       Clone of cat with syntax highlighting
 LICENSE=       apache-2.0
 
-USE_LANGUAGES= c
+.include "cargo-depends.mk"
 
-CARGO_CRATE_DEPENDS+=  adler-1.0.2
-CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
-CARGO_CRATE_DEPENDS+=  ansi_colours-1.0.4
-CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
-CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+=  assert_cmd-1.0.5
-CARGO_CRATE_DEPENDS+=  atty-0.2.14
-CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
-CARGO_CRATE_DEPENDS+=  base64-0.13.0
-CARGO_CRATE_DEPENDS+=  bincode-1.3.3
-CARGO_CRATE_DEPENDS+=  bit-set-0.5.2
-CARGO_CRATE_DEPENDS+=  bit-vec-0.6.3
-CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
-CARGO_CRATE_DEPENDS+=  bstr-0.2.16
-CARGO_CRATE_DEPENDS+=  bugreport-0.4.1
-CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
-CARGO_CRATE_DEPENDS+=  cc-1.0.67
-CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
-CARGO_CRATE_DEPENDS+=  chrono-0.4.19
-CARGO_CRATE_DEPENDS+=  clap-2.33.3
-CARGO_CRATE_DEPENDS+=  clircle-0.3.0
-CARGO_CRATE_DEPENDS+=  console-0.14.1
-CARGO_CRATE_DEPENDS+=  content_inspector-0.2.4
-CARGO_CRATE_DEPENDS+=  crc32fast-1.2.1
-CARGO_CRATE_DEPENDS+=  difference-2.0.0
-CARGO_CRATE_DEPENDS+=  dirs-next-2.0.0
-CARGO_CRATE_DEPENDS+=  dirs-sys-next-0.1.2
-CARGO_CRATE_DEPENDS+=  doc-comment-0.3.3
-CARGO_CRATE_DEPENDS+=  dtoa-0.4.8
-CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
-CARGO_CRATE_DEPENDS+=  encoding-0.2.33
-CARGO_CRATE_DEPENDS+=  encoding-index-japanese-1.20141219.5
-CARGO_CRATE_DEPENDS+=  encoding-index-korean-1.20141219.5
-CARGO_CRATE_DEPENDS+=  encoding-index-simpchinese-1.20141219.5
-CARGO_CRATE_DEPENDS+=  encoding-index-singlebyte-1.20141219.5
-CARGO_CRATE_DEPENDS+=  encoding-index-tradchinese-1.20141219.5
-CARGO_CRATE_DEPENDS+=  encoding_index_tests-0.1.4
-CARGO_CRATE_DEPENDS+=  error-chain-0.12.4
-CARGO_CRATE_DEPENDS+=  fancy-regex-0.3.5
-CARGO_CRATE_DEPENDS+=  flate2-1.0.20
-CARGO_CRATE_DEPENDS+=  float-cmp-0.8.0
-CARGO_CRATE_DEPENDS+=  fnv-1.0.7
-CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
-CARGO_CRATE_DEPENDS+=  getrandom-0.2.2
-CARGO_CRATE_DEPENDS+=  git-version-0.3.4
-CARGO_CRATE_DEPENDS+=  git-version-macro-0.3.4
-CARGO_CRATE_DEPENDS+=  git2-0.13.20
-CARGO_CRATE_DEPENDS+=  glob-0.3.0
-CARGO_CRATE_DEPENDS+=  globset-0.4.8
-CARGO_CRATE_DEPENDS+=  grep-cli-0.1.6
-CARGO_CRATE_DEPENDS+=  hashbrown-0.9.1
-CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.18
-CARGO_CRATE_DEPENDS+=  idna-0.2.3
-CARGO_CRATE_DEPENDS+=  indexmap-1.6.2
-CARGO_CRATE_DEPENDS+=  instant-0.1.9
-CARGO_CRATE_DEPENDS+=  itoa-0.4.7
-CARGO_CRATE_DEPENDS+=  jobserver-0.1.22
-CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+=  lazycell-1.3.0
-CARGO_CRATE_DEPENDS+=  libc-0.2.95
-CARGO_CRATE_DEPENDS+=  libgit2-sys-0.12.21+1.1.0
-CARGO_CRATE_DEPENDS+=  libz-sys-1.1.3
-CARGO_CRATE_DEPENDS+=  line-wrap-0.1.1
-CARGO_CRATE_DEPENDS+=  linked-hash-map-0.5.4
-CARGO_CRATE_DEPENDS+=  lock_api-0.4.4
-CARGO_CRATE_DEPENDS+=  log-0.4.14
-CARGO_CRATE_DEPENDS+=  matches-0.1.8
-CARGO_CRATE_DEPENDS+=  memchr-2.4.0
-CARGO_CRATE_DEPENDS+=  memoffset-0.6.4
-CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.4
-CARGO_CRATE_DEPENDS+=  nix-0.21.0
-CARGO_CRATE_DEPENDS+=  normalize-line-endings-0.3.0
-CARGO_CRATE_DEPENDS+=  num-integer-0.1.44
-CARGO_CRATE_DEPENDS+=  num-traits-0.2.14
-CARGO_CRATE_DEPENDS+=  onig-6.1.1
-CARGO_CRATE_DEPENDS+=  onig_sys-69.6.0
-CARGO_CRATE_DEPENDS+=  parking_lot-0.11.1
-CARGO_CRATE_DEPENDS+=  parking_lot_core-0.8.3
-CARGO_CRATE_DEPENDS+=  path_abs-0.5.1
-CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
-CARGO_CRATE_DEPENDS+=  pest-2.1.3
-CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
-CARGO_CRATE_DEPENDS+=  plist-1.1.0
-CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.10
-CARGO_CRATE_DEPENDS+=  predicates-1.0.8
-CARGO_CRATE_DEPENDS+=  predicates-core-1.0.2
-CARGO_CRATE_DEPENDS+=  predicates-tree-1.0.2
-CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.19
-CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.26
-CARGO_CRATE_DEPENDS+=  quote-1.0.9
-CARGO_CRATE_DEPENDS+=  rand-0.8.3
-CARGO_CRATE_DEPENDS+=  rand_chacha-0.3.0
-CARGO_CRATE_DEPENDS+=  rand_core-0.6.2
-CARGO_CRATE_DEPENDS+=  rand_hc-0.3.0
-CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.8
-CARGO_CRATE_DEPENDS+=  redox_users-0.4.0
-CARGO_CRATE_DEPENDS+=  regex-1.5.4
-CARGO_CRATE_DEPENDS+=  regex-automata-0.1.9
-CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
-CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
-CARGO_CRATE_DEPENDS+=  ryu-1.0.5
-CARGO_CRATE_DEPENDS+=  safemem-0.3.3
-CARGO_CRATE_DEPENDS+=  same-file-1.0.6
-CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
-CARGO_CRATE_DEPENDS+=  semver-0.11.0
-CARGO_CRATE_DEPENDS+=  semver-parser-0.10.2
-CARGO_CRATE_DEPENDS+=  serde-1.0.126
-CARGO_CRATE_DEPENDS+=  serde_derive-1.0.126
-CARGO_CRATE_DEPENDS+=  serde_json-1.0.64
-CARGO_CRATE_DEPENDS+=  serde_yaml-0.8.17
-CARGO_CRATE_DEPENDS+=  serial_test-0.5.1
-CARGO_CRATE_DEPENDS+=  serial_test_derive-0.5.1
-CARGO_CRATE_DEPENDS+=  shell-escape-0.1.5
-CARGO_CRATE_DEPENDS+=  shell-words-1.0.0
-CARGO_CRATE_DEPENDS+=  smallvec-1.6.1
-CARGO_CRATE_DEPENDS+=  std_prelude-0.2.12
-CARGO_CRATE_DEPENDS+=  strsim-0.8.0
-CARGO_CRATE_DEPENDS+=  syn-1.0.72
-CARGO_CRATE_DEPENDS+=  syntect-4.5.0
-CARGO_CRATE_DEPENDS+=  sys-info-0.9.0
-CARGO_CRATE_DEPENDS+=  tempfile-3.2.0
-CARGO_CRATE_DEPENDS+=  term_size-0.3.2
-CARGO_CRATE_DEPENDS+=  termcolor-1.1.2
-CARGO_CRATE_DEPENDS+=  terminal_size-0.1.16
-CARGO_CRATE_DEPENDS+=  textwrap-0.11.0
-CARGO_CRATE_DEPENDS+=  tinyvec-1.2.0
-CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0
-CARGO_CRATE_DEPENDS+=  treeline-0.1.0
-CARGO_CRATE_DEPENDS+=  ucd-trie-0.1.3
-CARGO_CRATE_DEPENDS+=  unicode-bidi-0.3.5
-CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.17
-CARGO_CRATE_DEPENDS+=  unicode-width-0.1.8
-CARGO_CRATE_DEPENDS+=  unicode-xid-0.2.2
-CARGO_CRATE_DEPENDS+=  url-2.2.2
-CARGO_CRATE_DEPENDS+=  vcpkg-0.2.12
-CARGO_CRATE_DEPENDS+=  vec_map-0.8.2
-CARGO_CRATE_DEPENDS+=  version_check-0.9.3
-CARGO_CRATE_DEPENDS+=  wait-timeout-0.2.0
-CARGO_CRATE_DEPENDS+=  walkdir-2.3.2
-CARGO_CRATE_DEPENDS+=  wasi-0.10.2+wasi-snapshot-preview1
-CARGO_CRATE_DEPENDS+=  wild-2.0.4
-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+=  xml-rs-0.8.3
-CARGO_CRATE_DEPENDS+=  yaml-rust-0.4.5
+USE_LANGUAGES= c
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
diff -r c140078694ef -r d6df71576763 textproc/bat/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/bat/cargo-depends.mk     Mon Nov 08 05:23:57 2021 +0000
@@ -0,0 +1,149 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/11/08 05:23:57 fox Exp $
+
+CARGO_CRATE_DEPENDS+=  adler-1.0.2
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+=  ansi_colours-1.0.4
+CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  assert_cmd-1.0.5
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
+CARGO_CRATE_DEPENDS+=  base64-0.13.0
+CARGO_CRATE_DEPENDS+=  bincode-1.3.3
+CARGO_CRATE_DEPENDS+=  bit-set-0.5.2
+CARGO_CRATE_DEPENDS+=  bit-vec-0.6.3
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
+CARGO_CRATE_DEPENDS+=  bstr-0.2.16
+CARGO_CRATE_DEPENDS+=  bugreport-0.4.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
+CARGO_CRATE_DEPENDS+=  cc-1.0.67
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  chrono-0.4.19
+CARGO_CRATE_DEPENDS+=  clap-2.33.3
+CARGO_CRATE_DEPENDS+=  clircle-0.3.0
+CARGO_CRATE_DEPENDS+=  console-0.14.1
+CARGO_CRATE_DEPENDS+=  content_inspector-0.2.4
+CARGO_CRATE_DEPENDS+=  crc32fast-1.2.1
+CARGO_CRATE_DEPENDS+=  difference-2.0.0
+CARGO_CRATE_DEPENDS+=  dirs-next-2.0.0
+CARGO_CRATE_DEPENDS+=  dirs-sys-next-0.1.2
+CARGO_CRATE_DEPENDS+=  doc-comment-0.3.3
+CARGO_CRATE_DEPENDS+=  dtoa-0.4.8
+CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+=  encoding-0.2.33
+CARGO_CRATE_DEPENDS+=  encoding-index-japanese-1.20141219.5
+CARGO_CRATE_DEPENDS+=  encoding-index-korean-1.20141219.5
+CARGO_CRATE_DEPENDS+=  encoding-index-simpchinese-1.20141219.5
+CARGO_CRATE_DEPENDS+=  encoding-index-singlebyte-1.20141219.5
+CARGO_CRATE_DEPENDS+=  encoding-index-tradchinese-1.20141219.5
+CARGO_CRATE_DEPENDS+=  encoding_index_tests-0.1.4
+CARGO_CRATE_DEPENDS+=  error-chain-0.12.4
+CARGO_CRATE_DEPENDS+=  fancy-regex-0.3.5
+CARGO_CRATE_DEPENDS+=  flate2-1.0.20
+CARGO_CRATE_DEPENDS+=  float-cmp-0.8.0
+CARGO_CRATE_DEPENDS+=  fnv-1.0.7
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.2
+CARGO_CRATE_DEPENDS+=  git-version-0.3.4
+CARGO_CRATE_DEPENDS+=  git-version-macro-0.3.4
+CARGO_CRATE_DEPENDS+=  git2-0.13.20
+CARGO_CRATE_DEPENDS+=  glob-0.3.0
+CARGO_CRATE_DEPENDS+=  globset-0.4.8
+CARGO_CRATE_DEPENDS+=  grep-cli-0.1.6
+CARGO_CRATE_DEPENDS+=  hashbrown-0.9.1
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.18
+CARGO_CRATE_DEPENDS+=  idna-0.2.3
+CARGO_CRATE_DEPENDS+=  indexmap-1.6.2
+CARGO_CRATE_DEPENDS+=  instant-0.1.9
+CARGO_CRATE_DEPENDS+=  itoa-0.4.7
+CARGO_CRATE_DEPENDS+=  jobserver-0.1.22
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  lazycell-1.3.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.95
+CARGO_CRATE_DEPENDS+=  libgit2-sys-0.12.21+1.1.0
+CARGO_CRATE_DEPENDS+=  libz-sys-1.1.3
+CARGO_CRATE_DEPENDS+=  line-wrap-0.1.1
+CARGO_CRATE_DEPENDS+=  linked-hash-map-0.5.4
+CARGO_CRATE_DEPENDS+=  lock_api-0.4.4
+CARGO_CRATE_DEPENDS+=  log-0.4.14
+CARGO_CRATE_DEPENDS+=  matches-0.1.8
+CARGO_CRATE_DEPENDS+=  memchr-2.4.0
+CARGO_CRATE_DEPENDS+=  memoffset-0.6.4
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.4
+CARGO_CRATE_DEPENDS+=  nix-0.21.0
+CARGO_CRATE_DEPENDS+=  normalize-line-endings-0.3.0
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.44
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.14
+CARGO_CRATE_DEPENDS+=  onig-6.1.1
+CARGO_CRATE_DEPENDS+=  onig_sys-69.6.0
+CARGO_CRATE_DEPENDS+=  parking_lot-0.11.1
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.8.3
+CARGO_CRATE_DEPENDS+=  path_abs-0.5.1
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+=  pest-2.1.3
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
+CARGO_CRATE_DEPENDS+=  plist-1.1.0
+CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.10
+CARGO_CRATE_DEPENDS+=  predicates-1.0.8
+CARGO_CRATE_DEPENDS+=  predicates-core-1.0.2
+CARGO_CRATE_DEPENDS+=  predicates-tree-1.0.2
+CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.19
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.26
+CARGO_CRATE_DEPENDS+=  quote-1.0.9
+CARGO_CRATE_DEPENDS+=  rand-0.8.3
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.3.0
+CARGO_CRATE_DEPENDS+=  rand_core-0.6.2
+CARGO_CRATE_DEPENDS+=  rand_hc-0.3.0
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.8
+CARGO_CRATE_DEPENDS+=  redox_users-0.4.0
+CARGO_CRATE_DEPENDS+=  regex-1.5.4
+CARGO_CRATE_DEPENDS+=  regex-automata-0.1.9
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  ryu-1.0.5
+CARGO_CRATE_DEPENDS+=  safemem-0.3.3
+CARGO_CRATE_DEPENDS+=  same-file-1.0.6
+CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+=  semver-0.11.0
+CARGO_CRATE_DEPENDS+=  semver-parser-0.10.2
+CARGO_CRATE_DEPENDS+=  serde-1.0.126
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.126
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.64
+CARGO_CRATE_DEPENDS+=  serde_yaml-0.8.17
+CARGO_CRATE_DEPENDS+=  serial_test-0.5.1
+CARGO_CRATE_DEPENDS+=  serial_test_derive-0.5.1
+CARGO_CRATE_DEPENDS+=  shell-escape-0.1.5
+CARGO_CRATE_DEPENDS+=  shell-words-1.0.0
+CARGO_CRATE_DEPENDS+=  smallvec-1.6.1
+CARGO_CRATE_DEPENDS+=  std_prelude-0.2.12
+CARGO_CRATE_DEPENDS+=  strsim-0.8.0
+CARGO_CRATE_DEPENDS+=  syn-1.0.72
+CARGO_CRATE_DEPENDS+=  syntect-4.5.0
+CARGO_CRATE_DEPENDS+=  sys-info-0.9.0
+CARGO_CRATE_DEPENDS+=  tempfile-3.2.0
+CARGO_CRATE_DEPENDS+=  term_size-0.3.2
+CARGO_CRATE_DEPENDS+=  termcolor-1.1.2
+CARGO_CRATE_DEPENDS+=  terminal_size-0.1.16
+CARGO_CRATE_DEPENDS+=  textwrap-0.11.0
+CARGO_CRATE_DEPENDS+=  tinyvec-1.2.0
+CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0



Home | Main Index | Thread Index | Old Index