pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/xh www/xh: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbeeba8a4f08
branches:  trunk
changeset: 378458:cbeeba8a4f08
user:      pin <pin%pkgsrc.org@localhost>
date:      Tue May 03 19:34:55 2022 +0000

description:
www/xh: import package

xh is a friendly and fast tool for sending HTTP requests. It reimplements as
much as possible of HTTPie's, https://httpie.io/ excellent design, with a focus
on improved performance.

diffstat:

 www/xh/DESCR            |    3 +
 www/xh/Makefile         |   36 ++
 www/xh/PLIST            |    7 +
 www/xh/cargo-depends.mk |  231 ++++++++++++++++
 www/xh/distinfo         |  692 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 969 insertions(+), 0 deletions(-)

diffs (truncated from 989 to 300 lines):

diff -r 26c9e501ebc4 -r cbeeba8a4f08 www/xh/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/xh/DESCR      Tue May 03 19:34:55 2022 +0000
@@ -0,0 +1,3 @@
+xh is a friendly and fast tool for sending HTTP requests. It reimplements as
+much as possible of HTTPie's, https://httpie.io/ excellent design, with a focus
+on improved performance.
diff -r 26c9e501ebc4 -r cbeeba8a4f08 www/xh/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/xh/Makefile   Tue May 03 19:34:55 2022 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2022/05/03 19:34:55 pin Exp $
+
+DISTNAME=      xh-0.16.0
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ducaale/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ducaale/xh/
+COMMENT=       Friendly and fast tool for sending HTTP requests
+LICENSE=       mit
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples/xh/auto-completion
+
+MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/xh \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/doc/xh.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xh.1
+       ${INSTALL_DATA} ${WRKSRC}/completions/xh.bash \
+               ${DESTDIR}${PREFIX}/share/examples/xh/auto-completion
+       ${INSTALL_DATA} ${WRKSRC}/completions/xh.fish \
+               ${DESTDIR}${PREFIX}/share/examples/xh/auto-completion
+       ${INSTALL_DATA} ${WRKSRC}/completions/_xh \
+               ${DESTDIR}${PREFIX}/share/examples/xh/auto-completion
+       ${INSTALL_DATA} ${WRKSRC}/completions/_xh.ps1 \
+               ${DESTDIR}${PREFIX}/share/examples/xh/auto-completion
+
+.include "../../lang/rust/cargo.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 26c9e501ebc4 -r cbeeba8a4f08 www/xh/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/xh/PLIST      Tue May 03 19:34:55 2022 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/03 19:34:55 pin Exp $
+bin/xh
+man/man1/xh.1
+share/examples/xh/auto-completion/_xh
+share/examples/xh/auto-completion/_xh.ps1
+share/examples/xh/auto-completion/xh.bash
+share/examples/xh/auto-completion/xh.fish
diff -r 26c9e501ebc4 -r cbeeba8a4f08 www/xh/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/xh/cargo-depends.mk   Tue May 03 19:34:55 2022 +0000
@@ -0,0 +1,231 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/05/03 19:34:55 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  adler-1.0.2
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+=  alloc-no-stdlib-2.0.3
+CARGO_CRATE_DEPENDS+=  alloc-stdlib-0.2.1
+CARGO_CRATE_DEPENDS+=  anyhow-1.0.44
+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+=  base-x-0.2.8
+CARGO_CRATE_DEPENDS+=  base64-0.13.0
+CARGO_CRATE_DEPENDS+=  bincode-1.3.3
+CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  block-buffer-0.9.0
+CARGO_CRATE_DEPENDS+=  brotli-3.3.3
+CARGO_CRATE_DEPENDS+=  brotli-decompressor-2.3.2
+CARGO_CRATE_DEPENDS+=  bstr-0.2.16
+CARGO_CRATE_DEPENDS+=  bumpalo-3.7.0
+CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
+CARGO_CRATE_DEPENDS+=  bytes-1.1.0
+CARGO_CRATE_DEPENDS+=  cc-1.0.70
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  chardetng-0.1.15
+CARGO_CRATE_DEPENDS+=  chrono-0.4.19
+CARGO_CRATE_DEPENDS+=  clap-3.1.0
+CARGO_CRATE_DEPENDS+=  clap_complete-3.1.0
+CARGO_CRATE_DEPENDS+=  clap_derive-3.1.0
+CARGO_CRATE_DEPENDS+=  console-0.14.1
+CARGO_CRATE_DEPENDS+=  const_fn-0.4.8
+CARGO_CRATE_DEPENDS+=  cookie-0.15.1
+CARGO_CRATE_DEPENDS+=  cookie_store-0.15.0
+CARGO_CRATE_DEPENDS+=  core-foundation-0.9.1
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.2
+CARGO_CRATE_DEPENDS+=  cpufeatures-0.2.1
+CARGO_CRATE_DEPENDS+=  crc32fast-1.2.1
+CARGO_CRATE_DEPENDS+=  difference-2.0.0
+CARGO_CRATE_DEPENDS+=  difflib-0.4.0
+CARGO_CRATE_DEPENDS+=  digest-0.9.0
+CARGO_CRATE_DEPENDS+=  digest_auth-0.3.0
+CARGO_CRATE_DEPENDS+=  dirs-3.0.2
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.6
+CARGO_CRATE_DEPENDS+=  discard-1.0.4
+CARGO_CRATE_DEPENDS+=  doc-comment-0.3.3
+CARGO_CRATE_DEPENDS+=  either-1.6.1
+CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.29
+CARGO_CRATE_DEPENDS+=  encoding_rs_io-0.1.7
+CARGO_CRATE_DEPENDS+=  flate2-1.0.22
+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+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  futures-channel-0.3.17
+CARGO_CRATE_DEPENDS+=  futures-core-0.3.17
+CARGO_CRATE_DEPENDS+=  futures-io-0.3.17
+CARGO_CRATE_DEPENDS+=  futures-sink-0.3.17
+CARGO_CRATE_DEPENDS+=  futures-task-0.3.17
+CARGO_CRATE_DEPENDS+=  futures-util-0.3.17
+CARGO_CRATE_DEPENDS+=  generic-array-0.14.4
+CARGO_CRATE_DEPENDS+=  getopts-0.2.21
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.3
+CARGO_CRATE_DEPENDS+=  h2-0.3.13
+CARGO_CRATE_DEPENDS+=  hashbrown-0.11.2
+CARGO_CRATE_DEPENDS+=  heck-0.4.0
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+=  hex-0.4.3
+CARGO_CRATE_DEPENDS+=  http-0.2.4
+CARGO_CRATE_DEPENDS+=  http-body-0.4.3
+CARGO_CRATE_DEPENDS+=  httparse-1.5.1
+CARGO_CRATE_DEPENDS+=  httpdate-1.0.1
+CARGO_CRATE_DEPENDS+=  hyper-0.14.12
+CARGO_CRATE_DEPENDS+=  hyper-rustls-0.23.0
+CARGO_CRATE_DEPENDS+=  hyper-tls-0.5.0
+CARGO_CRATE_DEPENDS+=  idna-0.2.3
+CARGO_CRATE_DEPENDS+=  indexmap-1.7.0
+CARGO_CRATE_DEPENDS+=  indicatif-0.16.2
+CARGO_CRATE_DEPENDS+=  indoc-1.0.3
+CARGO_CRATE_DEPENDS+=  ipnet-2.3.1
+CARGO_CRATE_DEPENDS+=  itertools-0.10.1
+CARGO_CRATE_DEPENDS+=  itoa-0.4.8
+CARGO_CRATE_DEPENDS+=  itoa-1.0.1
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.54
+CARGO_CRATE_DEPENDS+=  jsonxf-1.1.1
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  lazycell-1.3.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.101
+CARGO_CRATE_DEPENDS+=  line-wrap-0.1.1
+CARGO_CRATE_DEPENDS+=  linked-hash-map-0.5.4
+CARGO_CRATE_DEPENDS+=  log-0.4.14
+CARGO_CRATE_DEPENDS+=  matches-0.1.9
+CARGO_CRATE_DEPENDS+=  md-5-0.9.1
+CARGO_CRATE_DEPENDS+=  memchr-2.4.1
+CARGO_CRATE_DEPENDS+=  mime-0.3.16
+CARGO_CRATE_DEPENDS+=  mime2ext-0.1.49
+CARGO_CRATE_DEPENDS+=  mime_guess-2.0.3
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.4
+CARGO_CRATE_DEPENDS+=  mio-0.7.13
+CARGO_CRATE_DEPENDS+=  miow-0.3.7
+CARGO_CRATE_DEPENDS+=  native-tls-0.2.8
+CARGO_CRATE_DEPENDS+=  normalize-line-endings-0.3.0
+CARGO_CRATE_DEPENDS+=  ntapi-0.3.6
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.44
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.14
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+=  number_prefix-0.4.0
+CARGO_CRATE_DEPENDS+=  once_cell-1.8.0
+CARGO_CRATE_DEPENDS+=  onig-6.2.0
+CARGO_CRATE_DEPENDS+=  onig_sys-69.7.0
+CARGO_CRATE_DEPENDS+=  opaque-debug-0.3.0
+CARGO_CRATE_DEPENDS+=  openssl-0.10.36
+CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.4
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.66
+CARGO_CRATE_DEPENDS+=  os_display-0.1.3
+CARGO_CRATE_DEPENDS+=  os_str_bytes-6.0.0
+CARGO_CRATE_DEPENDS+=  pem-0.8.3
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+=  pin-project-lite-0.2.7
+CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
+CARGO_CRATE_DEPENDS+=  plist-1.2.1
+CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.10
+CARGO_CRATE_DEPENDS+=  predicates-1.0.8
+CARGO_CRATE_DEPENDS+=  predicates-2.0.2
+CARGO_CRATE_DEPENDS+=  predicates-core-1.0.2
+CARGO_CRATE_DEPENDS+=  predicates-tree-1.0.3
+CARGO_CRATE_DEPENDS+=  proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.19
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.29
+CARGO_CRATE_DEPENDS+=  psl-types-2.0.7
+CARGO_CRATE_DEPENDS+=  publicsuffix-2.1.1
+CARGO_CRATE_DEPENDS+=  quote-1.0.9
+CARGO_CRATE_DEPENDS+=  rand-0.8.4
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.3.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.6.3
+CARGO_CRATE_DEPENDS+=  rand_hc-0.3.1
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.10
+CARGO_CRATE_DEPENDS+=  redox_users-0.4.0
+CARGO_CRATE_DEPENDS+=  regex-1.5.4
+CARGO_CRATE_DEPENDS+=  regex-automata-0.1.10
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  reqwest-0.11.10
+CARGO_CRATE_DEPENDS+=  ring-0.16.20
+CARGO_CRATE_DEPENDS+=  rpassword-5.0.1
+CARGO_CRATE_DEPENDS+=  rustc_version-0.2.3
+CARGO_CRATE_DEPENDS+=  rustls-0.20.4
+CARGO_CRATE_DEPENDS+=  rustls-native-certs-0.6.2
+CARGO_CRATE_DEPENDS+=  rustls-pemfile-0.3.0
+CARGO_CRATE_DEPENDS+=  rustls-pemfile-1.0.0
+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+=  schannel-0.1.19
+CARGO_CRATE_DEPENDS+=  sct-0.7.0
+CARGO_CRATE_DEPENDS+=  security-framework-2.4.2
+CARGO_CRATE_DEPENDS+=  security-framework-sys-2.4.2
+CARGO_CRATE_DEPENDS+=  semver-0.9.0
+CARGO_CRATE_DEPENDS+=  semver-parser-0.7.0
+CARGO_CRATE_DEPENDS+=  serde-1.0.130
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.130
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.67
+CARGO_CRATE_DEPENDS+=  serde_urlencoded-0.7.1
+CARGO_CRATE_DEPENDS+=  sha1-0.6.0
+CARGO_CRATE_DEPENDS+=  sha2-0.9.8
+CARGO_CRATE_DEPENDS+=  slab-0.4.4
+CARGO_CRATE_DEPENDS+=  socket2-0.4.1
+CARGO_CRATE_DEPENDS+=  spin-0.5.2
+CARGO_CRATE_DEPENDS+=  standback-0.2.17
+CARGO_CRATE_DEPENDS+=  stdweb-0.4.20
+CARGO_CRATE_DEPENDS+=  stdweb-derive-0.5.3
+CARGO_CRATE_DEPENDS+=  stdweb-internal-macros-0.2.9
+CARGO_CRATE_DEPENDS+=  stdweb-internal-runtime-0.1.5
+CARGO_CRATE_DEPENDS+=  strsim-0.10.0
+CARGO_CRATE_DEPENDS+=  syn-1.0.76
+CARGO_CRATE_DEPENDS+=  syntect-4.6.0
+CARGO_CRATE_DEPENDS+=  tempfile-3.2.0
+CARGO_CRATE_DEPENDS+=  termcolor-1.1.2
+CARGO_CRATE_DEPENDS+=  terminal_size-0.1.17
+CARGO_CRATE_DEPENDS+=  textwrap-0.14.2
+CARGO_CRATE_DEPENDS+=  thiserror-1.0.29
+CARGO_CRATE_DEPENDS+=  thiserror-impl-1.0.29
+CARGO_CRATE_DEPENDS+=  time-0.2.27
+CARGO_CRATE_DEPENDS+=  time-macros-0.1.1
+CARGO_CRATE_DEPENDS+=  time-macros-impl-0.1.2
+CARGO_CRATE_DEPENDS+=  tinyvec-1.4.0
+CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0
+CARGO_CRATE_DEPENDS+=  tokio-1.11.0
+CARGO_CRATE_DEPENDS+=  tokio-native-tls-0.3.0
+CARGO_CRATE_DEPENDS+=  tokio-rustls-0.23.3
+CARGO_CRATE_DEPENDS+=  tokio-socks-0.5.1
+CARGO_CRATE_DEPENDS+=  tokio-util-0.7.1
+CARGO_CRATE_DEPENDS+=  tower-service-0.3.1
+CARGO_CRATE_DEPENDS+=  tracing-0.1.26
+CARGO_CRATE_DEPENDS+=  tracing-attributes-0.1.20
+CARGO_CRATE_DEPENDS+=  tracing-core-0.1.19
+CARGO_CRATE_DEPENDS+=  treeline-0.1.0
+CARGO_CRATE_DEPENDS+=  try-lock-0.2.3
+CARGO_CRATE_DEPENDS+=  typenum-1.14.0
+CARGO_CRATE_DEPENDS+=  unicase-2.6.0
+CARGO_CRATE_DEPENDS+=  unicode-bidi-0.3.6
+CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.19
+CARGO_CRATE_DEPENDS+=  unicode-width-0.1.9
+CARGO_CRATE_DEPENDS+=  unicode-xid-0.2.2
+CARGO_CRATE_DEPENDS+=  unindent-0.1.7
+CARGO_CRATE_DEPENDS+=  untrusted-0.7.1
+CARGO_CRATE_DEPENDS+=  url-2.2.2
+CARGO_CRATE_DEPENDS+=  vcpkg-0.2.15
+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+=  want-0.3.0
+CARGO_CRATE_DEPENDS+=  wasi-0.10.2+wasi-snapshot-preview1
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-0.2.77
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-backend-0.2.77
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-futures-0.4.27
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-0.2.77
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-support-0.2.77
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-shared-0.2.77
+CARGO_CRATE_DEPENDS+=  web-sys-0.3.54
+CARGO_CRATE_DEPENDS+=  webpki-0.22.0
+CARGO_CRATE_DEPENDS+=  webpki-roots-0.22.3
+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+=  winreg-0.10.1
+CARGO_CRATE_DEPENDS+=  xml-rs-0.8.4
+CARGO_CRATE_DEPENDS+=  yaml-rust-0.4.5
diff -r 26c9e501ebc4 -r cbeeba8a4f08 www/xh/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/xh/distinfo   Tue May 03 19:34:55 2022 +0000
@@ -0,0 +1,692 @@
+$NetBSD: distinfo,v 1.1 2022/05/03 19:34:55 pin Exp $
+
+BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa



Home | Main Index | Thread Index | Old Index