pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/exa sysutils/exa: Refactor the crates into it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c140078694ef
branches:  trunk
changeset: 769109:c140078694ef
user:      fox <fox%pkgsrc.org@localhost>
date:      Mon Nov 08 05:11:27 2021 +0000

description:
sysutils/exa: Refactor the crates into it's own file.

diffstat:

 sysutils/exa/Makefile         |  50 ++----------------------------------------
 sysutils/exa/cargo-depends.mk |  46 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 47 deletions(-)

diffs (121 lines):

diff -r dc9480e55674 -r c140078694ef sysutils/exa/Makefile
--- a/sysutils/exa/Makefile     Mon Nov 08 03:00:00 2021 +0000
+++ b/sysutils/exa/Makefile     Mon Nov 08 05:11:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/04/13 03:34:50 fox Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/08 05:11:27 fox Exp $
 
 DISTNAME=      exa-0.10.1
 CATEGORIES=    sysutils
@@ -12,52 +12,9 @@
 COMMENT=       Replacement for ls(1) written in Rust
 LICENSE=       mit
 
-USE_LANGUAGES= c
+.include "cargo-depends.mk"
 
-CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
-CARGO_CRATE_DEPENDS+=  bitflags-1.2.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+=  datetime-0.5.2
-CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
-CARGO_CRATE_DEPENDS+=  git2-0.13.17
-CARGO_CRATE_DEPENDS+=  glob-0.3.0
-CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.18
-CARGO_CRATE_DEPENDS+=  idna-0.2.2
-CARGO_CRATE_DEPENDS+=  jobserver-0.1.21
-CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+=  libc-0.2.93
-CARGO_CRATE_DEPENDS+=  libgit2-sys-0.12.18+1.1.0
-CARGO_CRATE_DEPENDS+=  libz-sys-1.1.2
-CARGO_CRATE_DEPENDS+=  locale-0.2.2
-CARGO_CRATE_DEPENDS+=  log-0.4.14
-CARGO_CRATE_DEPENDS+=  matches-0.1.8
-CARGO_CRATE_DEPENDS+=  natord-1.0.9
-CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
-CARGO_CRATE_DEPENDS+=  number_prefix-0.4.0
-CARGO_CRATE_DEPENDS+=  openssl-src-111.15.0+1.1.1k
-CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.61
-CARGO_CRATE_DEPENDS+=  pad-0.1.6
-CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
-CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
-CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.57
-CARGO_CRATE_DEPENDS+=  scoped_threadpool-0.1.9
-CARGO_CRATE_DEPENDS+=  term_grid-0.1.7
-CARGO_CRATE_DEPENDS+=  term_size-0.3.2
-CARGO_CRATE_DEPENDS+=  tinyvec-1.2.0
-CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0
-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+=  url-2.2.1
-CARGO_CRATE_DEPENDS+=  users-0.11.0
-CARGO_CRATE_DEPENDS+=  vcpkg-0.2.11
-CARGO_CRATE_DEPENDS+=  winapi-0.3.9
-CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
-CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
-CARGO_CRATE_DEPENDS+=  zoneinfo_compiled-0.5.1
+USE_LANGUAGES= c
 
 INSTALLATION_DIRS=     bin \
                        ${PKGMANDIR}/man1 \
@@ -81,6 +38,5 @@
        ${INSTALL_DATA} ${WRKSRC}/completions/completions.zsh \
                        ${DESTDIR}${PREFIX}/share/zsh/site-functions/_exa
 
-
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dc9480e55674 -r c140078694ef sysutils/exa/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/exa/cargo-depends.mk     Mon Nov 08 05:11:27 2021 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/11/08 05:11:27 fox Exp $
+
+CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.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+=  datetime-0.5.2
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  git2-0.13.17
+CARGO_CRATE_DEPENDS+=  glob-0.3.0
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.18
+CARGO_CRATE_DEPENDS+=  idna-0.2.2
+CARGO_CRATE_DEPENDS+=  jobserver-0.1.21
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.93
+CARGO_CRATE_DEPENDS+=  libgit2-sys-0.12.18+1.1.0
+CARGO_CRATE_DEPENDS+=  libz-sys-1.1.2
+CARGO_CRATE_DEPENDS+=  locale-0.2.2
+CARGO_CRATE_DEPENDS+=  log-0.4.14
+CARGO_CRATE_DEPENDS+=  matches-0.1.8
+CARGO_CRATE_DEPENDS+=  natord-1.0.9
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+=  number_prefix-0.4.0
+CARGO_CRATE_DEPENDS+=  openssl-src-111.15.0+1.1.1k
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.61
+CARGO_CRATE_DEPENDS+=  pad-0.1.6
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.57
+CARGO_CRATE_DEPENDS+=  scoped_threadpool-0.1.9
+CARGO_CRATE_DEPENDS+=  term_grid-0.1.7
+CARGO_CRATE_DEPENDS+=  term_size-0.3.2
+CARGO_CRATE_DEPENDS+=  tinyvec-1.2.0
+CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0
+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+=  url-2.2.1
+CARGO_CRATE_DEPENDS+=  users-0.11.0
+CARGO_CRATE_DEPENDS+=  vcpkg-0.2.11
+CARGO_CRATE_DEPENDS+=  winapi-0.3.9
+CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  zoneinfo_compiled-0.5.1



Home | Main Index | Thread Index | Old Index