pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[.joined/pkgsrc/trunk]: .joined/pkgsrc/sysutils/tealdeer tealdeer: update to ...
details: https://anonhg.NetBSD.org/.joined/pkgsrc/rev/a14101aefdd2
branches: trunk
changeset: 370922:a14101aefdd2
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Jan 01 19:32:04 2022 +0000
description:
tealdeer: update to 1.5.0.
v1.5.0 (2021-12-31)
This is quite a big release with many new features. In the 15 months since the
last release, 59 pull requests from 16 different contributors were merged!
The highlights:
- Custom pages and patches: You can now create your own local-only tldr
pages. But not just that, you can also extend existing upstream pages with
your own examples.
- Change argument parsing from docopt to clap: We replaced docopt.rs as
argument parsing library with clap v3, resulting in almost 1 MiB smaller
binaries and a 22% speed increase when rendering a tldr page.
- Multi-language support: You can now override the language with -L/--language.
- A new `--show-paths` command: By running tldr --show-paths, you can list
the currently used config dir, cache dir, upstream pages dir and custom pages dir.
- Compliance with the tldr client spec v1.5: We renamed -o/--os to
-p/--platform and implemented transparent lowercasing of the page names.
- Docs: The README based documentation has reached its limits. There are
now new mdbook based docs over at https://dbrgn.github.io/tealdeer/, we hope
these make using tealdeer easier. Of course, documentation improvements are
welcome! Also, if you're confused about how to use a certain feature, feel free
to open an issue, this way we can improve the docs.
diffstat:
sysutils/tealdeer/Makefile | 191 +-
sysutils/tealdeer/cargo-depends.mk | 180 +
sysutils/tealdeer/distinfo | 936 ++++-----
sysutils/tealdeer/patches/patch-.._vendor_libc-0.2.112_src_unix_bsd_netbsdlike_netbsd_mod.rs | 18 +
4 files changed, 671 insertions(+), 654 deletions(-)
diffs (truncated from 1426 to 300 lines):
diff -r 5cc0ea2e113b -r a14101aefdd2 sysutils/tealdeer/Makefile
--- a/sysutils/tealdeer/Makefile Sat Jan 01 19:02:43 2022 +0000
+++ b/sysutils/tealdeer/Makefile Sat Jan 01 19:32:04 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/09/06 16:43:52 bsiegert Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/01 19:32:04 bsiegert Exp $
-DISTNAME= tealdeer-1.4.1
+DISTNAME= tealdeer-1.5.0
GITHUB_TAG= v${PKGVERSION_NOREV}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=dbrgn/}
@@ -12,189 +12,10 @@
USE_LANGUAGES= c # rust
-CARGO_CRATE_DEPENDS+= addr2line-0.13.0
-CARGO_CRATE_DEPENDS+= adler-0.2.3
-CARGO_CRATE_DEPENDS+= aho-corasick-0.7.13
-CARGO_CRATE_DEPENDS+= android_log-sys-0.1.2
-CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+= app_dirs2-2.3.0
-CARGO_CRATE_DEPENDS+= ascii-0.9.3
-CARGO_CRATE_DEPENDS+= assert_cmd-1.0.1
-CARGO_CRATE_DEPENDS+= atty-0.2.14
-CARGO_CRATE_DEPENDS+= autocfg-1.0.1
-CARGO_CRATE_DEPENDS+= backtrace-0.3.50
-CARGO_CRATE_DEPENDS+= base64-0.12.3
-CARGO_CRATE_DEPENDS+= bitflags-1.2.1
-CARGO_CRATE_DEPENDS+= bumpalo-3.4.0
-CARGO_CRATE_DEPENDS+= byteorder-1.3.4
-CARGO_CRATE_DEPENDS+= bytes-0.5.6
-CARGO_CRATE_DEPENDS+= cc-1.0.59
-CARGO_CRATE_DEPENDS+= cesu8-1.1.0
-CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
-CARGO_CRATE_DEPENDS+= combine-3.8.1
-CARGO_CRATE_DEPENDS+= core-foundation-0.7.0
-CARGO_CRATE_DEPENDS+= core-foundation-sys-0.7.0
-CARGO_CRATE_DEPENDS+= crc32fast-1.2.0
-CARGO_CRATE_DEPENDS+= derivative-2.1.1
-CARGO_CRATE_DEPENDS+= difference-2.0.0
-CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
-CARGO_CRATE_DEPENDS+= docopt-1.1.0
-CARGO_CRATE_DEPENDS+= dtoa-0.4.6
-CARGO_CRATE_DEPENDS+= either-1.6.0
-CARGO_CRATE_DEPENDS+= encoding_rs-0.8.24
-CARGO_CRATE_DEPENDS+= env_logger-0.7.1
-CARGO_CRATE_DEPENDS+= errno-0.2.6
-CARGO_CRATE_DEPENDS+= errno-dragonfly-0.1.1
-CARGO_CRATE_DEPENDS+= error-chain-0.12.4
-CARGO_CRATE_DEPENDS+= escargot-0.5.0
-CARGO_CRATE_DEPENDS+= filetime-0.2.12
-CARGO_CRATE_DEPENDS+= flate2-1.0.17
-CARGO_CRATE_DEPENDS+= float-cmp-0.8.0
-CARGO_CRATE_DEPENDS+= fnv-1.0.7
-CARGO_CRATE_DEPENDS+= foreign-types-0.3.2
-CARGO_CRATE_DEPENDS+= foreign-types-shared-0.1.1
-CARGO_CRATE_DEPENDS+= fuchsia-zircon-0.3.3
-CARGO_CRATE_DEPENDS+= fuchsia-zircon-sys-0.3.3
-CARGO_CRATE_DEPENDS+= futures-channel-0.3.5
-CARGO_CRATE_DEPENDS+= futures-core-0.3.5
-CARGO_CRATE_DEPENDS+= futures-io-0.3.5
-CARGO_CRATE_DEPENDS+= futures-sink-0.3.5
-CARGO_CRATE_DEPENDS+= futures-task-0.3.5
-CARGO_CRATE_DEPENDS+= futures-util-0.3.5
-CARGO_CRATE_DEPENDS+= gcc-0.3.55
-CARGO_CRATE_DEPENDS+= getrandom-0.1.14
-CARGO_CRATE_DEPENDS+= gimli-0.22.0
-CARGO_CRATE_DEPENDS+= h2-0.2.6
-CARGO_CRATE_DEPENDS+= hashbrown-0.8.2
-CARGO_CRATE_DEPENDS+= hermit-abi-0.1.15
-CARGO_CRATE_DEPENDS+= http-0.2.1
-CARGO_CRATE_DEPENDS+= http-body-0.3.1
-CARGO_CRATE_DEPENDS+= httparse-1.3.4
-CARGO_CRATE_DEPENDS+= humantime-1.3.0
-CARGO_CRATE_DEPENDS+= hyper-0.13.7
-CARGO_CRATE_DEPENDS+= hyper-tls-0.4.3
-CARGO_CRATE_DEPENDS+= idna-0.2.0
-CARGO_CRATE_DEPENDS+= indexmap-1.5.2
-CARGO_CRATE_DEPENDS+= iovec-0.1.4
-CARGO_CRATE_DEPENDS+= ipnet-2.3.0
-CARGO_CRATE_DEPENDS+= itoa-0.4.6
-CARGO_CRATE_DEPENDS+= jni-0.14.0
-CARGO_CRATE_DEPENDS+= jni-sys-0.3.0
-CARGO_CRATE_DEPENDS+= js-sys-0.3.44
-CARGO_CRATE_DEPENDS+= kernel32-sys-0.2.2
-CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+= libc-0.2.76
-CARGO_CRATE_DEPENDS+= log-0.4.11
-CARGO_CRATE_DEPENDS+= matches-0.1.8
-CARGO_CRATE_DEPENDS+= memchr-2.3.3
-CARGO_CRATE_DEPENDS+= mime-0.3.16
-CARGO_CRATE_DEPENDS+= mime_guess-2.0.3
-CARGO_CRATE_DEPENDS+= miniz_oxide-0.4.1
-CARGO_CRATE_DEPENDS+= mio-0.6.22
-CARGO_CRATE_DEPENDS+= miow-0.2.1
-CARGO_CRATE_DEPENDS+= native-tls-0.2.4
-CARGO_CRATE_DEPENDS+= ndk-0.1.0
-CARGO_CRATE_DEPENDS+= ndk-glue-0.1.0
-CARGO_CRATE_DEPENDS+= ndk-sys-0.1.0
-CARGO_CRATE_DEPENDS+= net2-0.2.34
-CARGO_CRATE_DEPENDS+= normalize-line-endings-0.3.0
-CARGO_CRATE_DEPENDS+= num-traits-0.2.12
-CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
-CARGO_CRATE_DEPENDS+= num_enum-0.4.3
-CARGO_CRATE_DEPENDS+= num_enum_derive-0.4.3
-CARGO_CRATE_DEPENDS+= object-0.20.0
-CARGO_CRATE_DEPENDS+= once_cell-1.4.1
-CARGO_CRATE_DEPENDS+= openssl-0.10.30
-CARGO_CRATE_DEPENDS+= openssl-probe-0.1.2
-CARGO_CRATE_DEPENDS+= openssl-sys-0.9.58
-CARGO_CRATE_DEPENDS+= pager-0.15.0
-CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
-CARGO_CRATE_DEPENDS+= pin-project-0.4.23
-CARGO_CRATE_DEPENDS+= pin-project-internal-0.4.23
-CARGO_CRATE_DEPENDS+= pin-project-lite-0.1.7
-CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
-CARGO_CRATE_DEPENDS+= pkg-config-0.3.18
-CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.9
-CARGO_CRATE_DEPENDS+= predicates-1.0.5
-CARGO_CRATE_DEPENDS+= predicates-core-1.0.0
-CARGO_CRATE_DEPENDS+= predicates-tree-1.0.0
-CARGO_CRATE_DEPENDS+= proc-macro-crate-0.1.5
-CARGO_CRATE_DEPENDS+= proc-macro2-1.0.19
-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+= redox_syscall-0.1.57
-CARGO_CRATE_DEPENDS+= regex-1.3.9
-CARGO_CRATE_DEPENDS+= regex-syntax-0.6.18
-CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.2
-CARGO_CRATE_DEPENDS+= reqwest-0.10.8
-CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.16
-CARGO_CRATE_DEPENDS+= ryu-1.0.5
-CARGO_CRATE_DEPENDS+= same-file-1.0.6
-CARGO_CRATE_DEPENDS+= schannel-0.1.19
-CARGO_CRATE_DEPENDS+= security-framework-0.4.4
-CARGO_CRATE_DEPENDS+= security-framework-sys-0.4.3
-CARGO_CRATE_DEPENDS+= serde-1.0.115
-CARGO_CRATE_DEPENDS+= serde_derive-1.0.115
-CARGO_CRATE_DEPENDS+= serde_json-1.0.57
-CARGO_CRATE_DEPENDS+= serde_urlencoded-0.6.1
-CARGO_CRATE_DEPENDS+= slab-0.4.2
-CARGO_CRATE_DEPENDS+= socket2-0.3.12
-CARGO_CRATE_DEPENDS+= strsim-0.9.3
-CARGO_CRATE_DEPENDS+= syn-1.0.39
-CARGO_CRATE_DEPENDS+= tar-0.4.30
-CARGO_CRATE_DEPENDS+= tempfile-3.1.0
-CARGO_CRATE_DEPENDS+= termcolor-1.1.0
-CARGO_CRATE_DEPENDS+= thread_local-1.0.1
-CARGO_CRATE_DEPENDS+= time-0.1.44
-CARGO_CRATE_DEPENDS+= tinyvec-0.3.4
-CARGO_CRATE_DEPENDS+= tokio-0.2.22
-CARGO_CRATE_DEPENDS+= tokio-tls-0.3.1
-CARGO_CRATE_DEPENDS+= tokio-util-0.3.1
-CARGO_CRATE_DEPENDS+= toml-0.5.6
-CARGO_CRATE_DEPENDS+= tower-service-0.3.0
-CARGO_CRATE_DEPENDS+= tracing-0.1.19
-CARGO_CRATE_DEPENDS+= tracing-core-0.1.15
-CARGO_CRATE_DEPENDS+= treeline-0.1.0
-CARGO_CRATE_DEPENDS+= try-lock-0.2.3
-CARGO_CRATE_DEPENDS+= unicase-2.6.0
-CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.4
-CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.13
-CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1
-CARGO_CRATE_DEPENDS+= unreachable-1.0.0
-CARGO_CRATE_DEPENDS+= url-2.1.1
-CARGO_CRATE_DEPENDS+= vcpkg-0.2.10
-CARGO_CRATE_DEPENDS+= version_check-0.9.2
-CARGO_CRATE_DEPENDS+= void-1.0.2
-CARGO_CRATE_DEPENDS+= wait-timeout-0.2.0
-CARGO_CRATE_DEPENDS+= walkdir-2.3.1
-CARGO_CRATE_DEPENDS+= want-0.3.0
-CARGO_CRATE_DEPENDS+= wasi-0.9.0+wasi-snapshot-preview1
-CARGO_CRATE_DEPENDS+= wasi-0.10.0+wasi-snapshot-preview1
-CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.67
-CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.67
-CARGO_CRATE_DEPENDS+= wasm-bindgen-futures-0.4.17
-CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.67
-CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.67
-CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.67
-CARGO_CRATE_DEPENDS+= web-sys-0.3.44
-CARGO_CRATE_DEPENDS+= winapi-0.2.8
-CARGO_CRATE_DEPENDS+= winapi-0.3.9
-CARGO_CRATE_DEPENDS+= winapi-build-0.1.1
-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+= winreg-0.7.0
-CARGO_CRATE_DEPENDS+= ws2_32-sys-0.2.1
-CARGO_CRATE_DEPENDS+= xattr-0.2.2
-CARGO_CRATE_DEPENDS+= xdg-2.2.0
+MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+INSTALLATION_DIRS= bin share/bash-completion/completions
-MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
-
-INSTALLATION_DIRS= bin share/bash-completion/completions
+.include "cargo-depends.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/tldr ${DESTDIR}${PREFIX}/bin/
@@ -203,5 +24,5 @@
.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
-# $NetBSD: Makefile,v 1.5 2020/09/06 16:43:52 bsiegert Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/01 19:32:04 bsiegert Exp $
diff -r 5cc0ea2e113b -r a14101aefdd2 sysutils/tealdeer/cargo-depends.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tealdeer/cargo-depends.mk Sat Jan 01 19:32:04 2022 +0000
@@ -0,0 +1,180 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/01/01 19:32:04 bsiegert Exp $
+
+CARGO_CRATE_DEPENDS+= adler-1.0.2
+CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+= app_dirs2-2.3.3
+CARGO_CRATE_DEPENDS+= assert_cmd-2.0.2
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= autocfg-1.0.1
+CARGO_CRATE_DEPENDS+= base64-0.13.0
+CARGO_CRATE_DEPENDS+= bitflags-1.3.2
+CARGO_CRATE_DEPENDS+= bstr-0.2.17
+CARGO_CRATE_DEPENDS+= bumpalo-3.8.0
+CARGO_CRATE_DEPENDS+= byteorder-1.4.3
+CARGO_CRATE_DEPENDS+= bytes-1.1.0
+CARGO_CRATE_DEPENDS+= cc-1.0.72
+CARGO_CRATE_DEPENDS+= cesu8-1.1.0
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= clap-3.0.0-rc.11
+CARGO_CRATE_DEPENDS+= clap_derive-3.0.0-rc.11
+CARGO_CRATE_DEPENDS+= combine-4.6.2
+CARGO_CRATE_DEPENDS+= core-foundation-0.9.2
+CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.3
+CARGO_CRATE_DEPENDS+= crc32fast-1.3.0
+CARGO_CRATE_DEPENDS+= darling-0.10.2
+CARGO_CRATE_DEPENDS+= darling_core-0.10.2
+CARGO_CRATE_DEPENDS+= darling_macro-0.10.2
+CARGO_CRATE_DEPENDS+= difflib-0.4.0
+CARGO_CRATE_DEPENDS+= dirs-3.0.2
+CARGO_CRATE_DEPENDS+= dirs-sys-0.3.6
+CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
+CARGO_CRATE_DEPENDS+= either-1.6.1
+CARGO_CRATE_DEPENDS+= encoding_rs-0.8.30
+CARGO_CRATE_DEPENDS+= env_logger-0.9.0
+CARGO_CRATE_DEPENDS+= errno-0.2.8
+CARGO_CRATE_DEPENDS+= errno-dragonfly-0.1.2
+CARGO_CRATE_DEPENDS+= escargot-0.5.7
+CARGO_CRATE_DEPENDS+= filetime-0.2.15
+CARGO_CRATE_DEPENDS+= flate2-1.0.22
+CARGO_CRATE_DEPENDS+= float-cmp-0.9.0
+CARGO_CRATE_DEPENDS+= fnv-1.0.7
+CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+= futures-channel-0.3.19
+CARGO_CRATE_DEPENDS+= futures-core-0.3.19
+CARGO_CRATE_DEPENDS+= futures-io-0.3.19
+CARGO_CRATE_DEPENDS+= futures-sink-0.3.19
+CARGO_CRATE_DEPENDS+= futures-task-0.3.19
+CARGO_CRATE_DEPENDS+= futures-util-0.3.19
+CARGO_CRATE_DEPENDS+= getrandom-0.2.3
+CARGO_CRATE_DEPENDS+= h2-0.3.9
+CARGO_CRATE_DEPENDS+= hashbrown-0.11.2
+CARGO_CRATE_DEPENDS+= heck-0.3.3
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+= http-0.2.6
+CARGO_CRATE_DEPENDS+= http-body-0.4.4
+CARGO_CRATE_DEPENDS+= httparse-1.5.1
+CARGO_CRATE_DEPENDS+= httpdate-1.0.2
+CARGO_CRATE_DEPENDS+= humantime-2.1.0
+CARGO_CRATE_DEPENDS+= hyper-0.14.16
+CARGO_CRATE_DEPENDS+= hyper-rustls-0.23.0
+CARGO_CRATE_DEPENDS+= ident_case-1.0.1
+CARGO_CRATE_DEPENDS+= idna-0.2.3
+CARGO_CRATE_DEPENDS+= indexmap-1.7.0
+CARGO_CRATE_DEPENDS+= ipnet-2.3.1
+CARGO_CRATE_DEPENDS+= itertools-0.10.3
+CARGO_CRATE_DEPENDS+= itoa-0.4.8
+CARGO_CRATE_DEPENDS+= itoa-1.0.1
+CARGO_CRATE_DEPENDS+= jni-0.19.0
+CARGO_CRATE_DEPENDS+= jni-sys-0.3.0
+CARGO_CRATE_DEPENDS+= js-sys-0.3.55
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= libc-0.2.112
+CARGO_CRATE_DEPENDS+= log-0.4.14
+CARGO_CRATE_DEPENDS+= matches-0.1.9
+CARGO_CRATE_DEPENDS+= memchr-2.4.1
+CARGO_CRATE_DEPENDS+= mime-0.3.16
+CARGO_CRATE_DEPENDS+= miniz_oxide-0.4.4
+CARGO_CRATE_DEPENDS+= mio-0.7.14
+CARGO_CRATE_DEPENDS+= miow-0.3.7
+CARGO_CRATE_DEPENDS+= ndk-0.4.0
+CARGO_CRATE_DEPENDS+= ndk-glue-0.4.0
+CARGO_CRATE_DEPENDS+= ndk-macro-0.2.0
+CARGO_CRATE_DEPENDS+= ndk-sys-0.2.2
+CARGO_CRATE_DEPENDS+= normalize-line-endings-0.3.0
Home |
Main Index |
Thread Index |
Old Index