Skip to content

Commit

Permalink
sysutils/erdtree: update to 2.0.0
Browse files Browse the repository at this point in the history
erdtree v2.0.0 introduces numerous breaking changes as well as a plethora of
new features. Most breaking changes are predicated on the fact that arguments
were either renamed, removed, or fundamentally modified. The following is a
list of all the PRs that document these changes and feature additions:

  - Regular expressions #130
  - Unix permissions #132
  - Force color #135
  - Show hardlinks without double counting file size #136
  - Regular expressions and globbing with file-type #137
  - Truncate output #138
  - Inverted tree layout #139

Perhaps the most important change to note is that the compiled binary has been
renamed from et to erd in order to address the following issue regarding name
collisions with other programs: #23
  • Loading branch information
0323pin committed Apr 29, 2023
1 parent 237f828 commit 36837f8
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 22 deletions.
6 changes: 3 additions & 3 deletions sysutils/erdtree/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.5 2023/04/16 18:29:58 pin Exp $
# $NetBSD: Makefile,v 1.6 2023/04/29 15:59:58 pin Exp $

DISTNAME= erdtree-1.8.1
DISTNAME= erdtree-2.0.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=solidiquis/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -15,7 +15,7 @@ LICENSE= mit
INSTALLATION_DIRS= bin

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/et \
${INSTALL_PROGRAM} ${WRKSRC}/target/release/erd \
${DESTDIR}${PREFIX}/bin

.include "../../lang/rust/cargo.mk"
Expand Down
4 changes: 2 additions & 2 deletions sysutils/erdtree/PLIST
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2023/03/15 10:06:33 pin Exp $
bin/et
@comment $NetBSD: PLIST,v 1.2 2023/04/29 15:59:58 pin Exp $
bin/erd
42 changes: 38 additions & 4 deletions sysutils/erdtree/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
# $NetBSD: cargo-depends.mk,v 1.4 2023/04/16 18:29:58 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.5 2023/04/29 15:59:58 pin Exp $

CARGO_CRATE_DEPENDS+= aho-corasick-0.7.20
CARGO_CRATE_DEPENDS+= android_system_properties-0.1.5
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
CARGO_CRATE_DEPENDS+= arrayvec-0.5.2
CARGO_CRATE_DEPENDS+= autocfg-1.1.0
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= bstr-1.3.0
CARGO_CRATE_DEPENDS+= bumpalo-3.12.0
CARGO_CRATE_DEPENDS+= cc-1.0.79
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= chrono-0.4.24
CARGO_CRATE_DEPENDS+= clap-4.1.9
CARGO_CRATE_DEPENDS+= clap_complete-4.1.5
CARGO_CRATE_DEPENDS+= clap_derive-4.1.9
CARGO_CRATE_DEPENDS+= clap_lex-0.3.3
CARGO_CRATE_DEPENDS+= codespan-reporting-0.11.1
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.4
CARGO_CRATE_DEPENDS+= cxx-1.0.94
CARGO_CRATE_DEPENDS+= cxx-build-1.0.94
CARGO_CRATE_DEPENDS+= cxxbridge-flags-1.0.94
CARGO_CRATE_DEPENDS+= cxxbridge-macro-1.0.94
CARGO_CRATE_DEPENDS+= errno-0.2.8
CARGO_CRATE_DEPENDS+= errno-0.3.0
CARGO_CRATE_DEPENDS+= errno-dragonfly-0.1.2
Expand All @@ -20,20 +30,26 @@ CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= globset-0.4.10
CARGO_CRATE_DEPENDS+= heck-0.4.1
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.1
CARGO_CRATE_DEPENDS+= iana-time-zone-0.1.56
CARGO_CRATE_DEPENDS+= iana-time-zone-haiku-0.1.1
CARGO_CRATE_DEPENDS+= ignore-0.4.20
CARGO_CRATE_DEPENDS+= indextree-4.6.0
CARGO_CRATE_DEPENDS+= indoc-2.0.1
CARGO_CRATE_DEPENDS+= instant-0.1.12
CARGO_CRATE_DEPENDS+= io-lifetimes-1.0.7
CARGO_CRATE_DEPENDS+= is-terminal-0.4.6
CARGO_CRATE_DEPENDS+= js-sys-0.3.61
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.140
CARGO_CRATE_DEPENDS+= libc-0.2.141
CARGO_CRATE_DEPENDS+= link-cplusplus-1.0.8
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.1.4
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.3.1
CARGO_CRATE_DEPENDS+= log-0.4.17
CARGO_CRATE_DEPENDS+= lscolors-0.13.0
CARGO_CRATE_DEPENDS+= memchr-2.5.0
CARGO_CRATE_DEPENDS+= nu-ansi-term-0.46.0
CARGO_CRATE_DEPENDS+= num-integer-0.1.45
CARGO_CRATE_DEPENDS+= num-traits-0.2.15
CARGO_CRATE_DEPENDS+= once_cell-1.17.1
CARGO_CRATE_DEPENDS+= os_str_bytes-6.4.1
CARGO_CRATE_DEPENDS+= overload-0.1.1
Expand All @@ -42,11 +58,12 @@ CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.52
CARGO_CRATE_DEPENDS+= quote-1.0.26
CARGO_CRATE_DEPENDS+= redox_syscall-0.2.16
CARGO_CRATE_DEPENDS+= regex-1.7.1
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.28
CARGO_CRATE_DEPENDS+= regex-1.7.3
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.29
CARGO_CRATE_DEPENDS+= rustix-0.36.9
CARGO_CRATE_DEPENDS+= rustix-0.37.7
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scratch-1.0.5
CARGO_CRATE_DEPENDS+= serde-1.0.156
CARGO_CRATE_DEPENDS+= strip-ansi-escapes-0.1.1
CARGO_CRATE_DEPENDS+= strsim-0.10.0
Expand All @@ -57,23 +74,40 @@ CARGO_CRATE_DEPENDS+= termcolor-1.2.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.40
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.40
CARGO_CRATE_DEPENDS+= thread_local-1.1.7
CARGO_CRATE_DEPENDS+= time-0.1.45
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.8
CARGO_CRATE_DEPENDS+= unicode-width-0.1.10
CARGO_CRATE_DEPENDS+= utf8parse-0.2.1
CARGO_CRATE_DEPENDS+= version_check-0.9.4
CARGO_CRATE_DEPENDS+= vte-0.10.1
CARGO_CRATE_DEPENDS+= vte_generate_state_changes-0.1.1
CARGO_CRATE_DEPENDS+= walkdir-2.3.3
CARGO_CRATE_DEPENDS+= wasi-0.10.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.84
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.84
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.84
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.84
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.84
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+= windows-0.48.0
CARGO_CRATE_DEPENDS+= windows-sys-0.42.0
CARGO_CRATE_DEPENDS+= windows-sys-0.45.0
CARGO_CRATE_DEPENDS+= windows-targets-0.42.2
CARGO_CRATE_DEPENDS+= windows-targets-0.48.0
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.42.2
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.48.0
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.42.2
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.48.0
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.42.2
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.48.0
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.42.2
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.48.0
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.42.2
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.48.0
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.42.2
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.48.0
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.42.2
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.48.0
Loading

0 comments on commit 36837f8

Please sign in to comment.