Skip to content

Commit

Permalink
sysutils/pueue: import pueue-3.4.1
Browse files Browse the repository at this point in the history
Packaged for wip by pin@, thanks!

Pueue is a command-line task management tool for sequential and
parallel execution of long-running tasks.

Simply put, it's a tool that processes a queue of shell commands.
On top of that, there are a lot of convenient features and
abstractions.

Since Pueue is not bound to any terminal, you can control your
tasks from any terminal on the same machine.  The queue will be
continuously processed, even if you no longer have any active ssh
sessions.
  • Loading branch information
0-wiz-0 committed Sep 19, 2024
1 parent de78fb7 commit 295d630
Show file tree
Hide file tree
Showing 5 changed files with 1,083 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sysutils/pueue/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Pueue is a command-line task management tool for sequential and
parallel execution of long-running tasks.

Simply put, it's a tool that processes a queue of shell commands.
On top of that, there are a lot of convenient features and
abstractions.

Since Pueue is not bound to any terminal, you can control your
tasks from any terminal on the same machine. The queue will be
continuously processed, even if you no longer have any active ssh
sessions.
26 changes: 26 additions & 0 deletions sysutils/pueue/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1 2024/09/19 21:04:42 wiz Exp $

DISTNAME= pueue-3.4.1
CATEGORIES= sysutils
#MASTER_SITES= ${MASTER_SITE_GITHUB:=Nukesor/}
#GITHUB_TAG= v${PKGVERSION_NOREV}
MASTER_SITES= ${MASTER_SITE_GITHUB:=0323pin/}
GITHUB_TAG= ddd925165d6f230c742854b43ec71f1d78acb559

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/Nukesor/pueue/
COMMENT= Manage your shell commands
LICENSE= mit

.include "cargo-depends.mk"

INSTALLATION_DIRS= bin

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

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
3 changes: 3 additions & 0 deletions sysutils/pueue/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2024/09/19 21:04:42 wiz Exp $
bin/pueue
bin/pueued
261 changes: 261 additions & 0 deletions sysutils/pueue/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
# $NetBSD: cargo-depends.mk,v 1.1 2024/09/19 21:04:42 wiz Exp $

CARGO_CRATE_DEPENDS+= addr2line-0.24.1
CARGO_CRATE_DEPENDS+= adler2-2.0.0
CARGO_CRATE_DEPENDS+= aho-corasick-1.1.3
CARGO_CRATE_DEPENDS+= android-tzdata-0.1.1
CARGO_CRATE_DEPENDS+= android_system_properties-0.1.5
CARGO_CRATE_DEPENDS+= anstream-0.6.15
CARGO_CRATE_DEPENDS+= anstyle-1.0.8
CARGO_CRATE_DEPENDS+= anstyle-parse-0.2.5
CARGO_CRATE_DEPENDS+= anstyle-query-1.1.1
CARGO_CRATE_DEPENDS+= anstyle-wincon-3.0.4
CARGO_CRATE_DEPENDS+= anyhow-1.0.89
CARGO_CRATE_DEPENDS+= assert_cmd-2.0.16
CARGO_CRATE_DEPENDS+= assert_matches-1.5.0
CARGO_CRATE_DEPENDS+= async-trait-0.1.82
CARGO_CRATE_DEPENDS+= autocfg-1.3.0
CARGO_CRATE_DEPENDS+= backtrace-0.3.74
CARGO_CRATE_DEPENDS+= base64-0.22.1
CARGO_CRATE_DEPENDS+= beef-0.5.2
CARGO_CRATE_DEPENDS+= better-panic-0.3.0
CARGO_CRATE_DEPENDS+= bindgen-0.69.4
CARGO_CRATE_DEPENDS+= bitflags-2.6.0
CARGO_CRATE_DEPENDS+= block-buffer-0.10.4
CARGO_CRATE_DEPENDS+= bstr-1.10.0
CARGO_CRATE_DEPENDS+= bumpalo-3.16.0
CARGO_CRATE_DEPENDS+= byteorder-1.5.0
CARGO_CRATE_DEPENDS+= bytes-1.7.1
CARGO_CRATE_DEPENDS+= cc-1.1.20
CARGO_CRATE_DEPENDS+= cexpr-0.6.0
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= cfg_aliases-0.2.1
CARGO_CRATE_DEPENDS+= chrono-0.4.38
CARGO_CRATE_DEPENDS+= clang-sys-1.8.1
CARGO_CRATE_DEPENDS+= clap-4.5.17
CARGO_CRATE_DEPENDS+= clap_builder-4.5.17
CARGO_CRATE_DEPENDS+= clap_complete-4.5.28
CARGO_CRATE_DEPENDS+= clap_complete_nushell-4.5.3
CARGO_CRATE_DEPENDS+= clap_derive-4.5.13
CARGO_CRATE_DEPENDS+= clap_lex-0.7.2
CARGO_CRATE_DEPENDS+= colorchoice-1.0.2
CARGO_CRATE_DEPENDS+= comfy-table-7.1.1
CARGO_CRATE_DEPENDS+= command-group-5.0.1
CARGO_CRATE_DEPENDS+= console-0.15.8
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.7
CARGO_CRATE_DEPENDS+= cpufeatures-0.2.14
CARGO_CRATE_DEPENDS+= crossterm-0.27.0
CARGO_CRATE_DEPENDS+= crossterm_winapi-0.9.1
CARGO_CRATE_DEPENDS+= crypto-common-0.1.6
CARGO_CRATE_DEPENDS+= ctrlc-3.4.5
CARGO_CRATE_DEPENDS+= deranged-0.3.11
CARGO_CRATE_DEPENDS+= diff-0.1.13
CARGO_CRATE_DEPENDS+= difflib-0.4.0
CARGO_CRATE_DEPENDS+= digest-0.10.7
CARGO_CRATE_DEPENDS+= dirs-5.0.1
CARGO_CRATE_DEPENDS+= dirs-sys-0.4.1
CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
CARGO_CRATE_DEPENDS+= either-1.13.0
CARGO_CRATE_DEPENDS+= encode_unicode-0.3.6
CARGO_CRATE_DEPENDS+= env_filter-0.1.2
CARGO_CRATE_DEPENDS+= env_logger-0.11.5
CARGO_CRATE_DEPENDS+= equivalent-1.0.1
CARGO_CRATE_DEPENDS+= errno-0.3.9
CARGO_CRATE_DEPENDS+= fastrand-2.1.1
CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= futures-0.3.30
CARGO_CRATE_DEPENDS+= futures-channel-0.3.30
CARGO_CRATE_DEPENDS+= futures-core-0.3.30
CARGO_CRATE_DEPENDS+= futures-executor-0.3.30
CARGO_CRATE_DEPENDS+= futures-io-0.3.30
CARGO_CRATE_DEPENDS+= futures-macro-0.3.30
CARGO_CRATE_DEPENDS+= futures-sink-0.3.30
CARGO_CRATE_DEPENDS+= futures-task-0.3.30
CARGO_CRATE_DEPENDS+= futures-timer-3.0.3
CARGO_CRATE_DEPENDS+= futures-util-0.3.30
CARGO_CRATE_DEPENDS+= generic-array-0.14.7
CARGO_CRATE_DEPENDS+= getrandom-0.2.15
CARGO_CRATE_DEPENDS+= gimli-0.31.0
CARGO_CRATE_DEPENDS+= glob-0.3.1
CARGO_CRATE_DEPENDS+= half-1.8.3
CARGO_CRATE_DEPENDS+= handlebars-5.1.2
CARGO_CRATE_DEPENDS+= hashbrown-0.14.5
CARGO_CRATE_DEPENDS+= heck-0.5.0
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.9
CARGO_CRATE_DEPENDS+= hex-0.4.3
CARGO_CRATE_DEPENDS+= humantime-2.1.0
CARGO_CRATE_DEPENDS+= iana-time-zone-0.1.61
CARGO_CRATE_DEPENDS+= iana-time-zone-haiku-0.1.2
CARGO_CRATE_DEPENDS+= indexmap-2.5.0
CARGO_CRATE_DEPENDS+= interim-0.1.2
CARGO_CRATE_DEPENDS+= is_terminal_polyfill-1.70.1
CARGO_CRATE_DEPENDS+= itertools-0.12.1
CARGO_CRATE_DEPENDS+= itoa-1.0.11
CARGO_CRATE_DEPENDS+= js-sys-0.3.70
CARGO_CRATE_DEPENDS+= lazy_static-1.5.0
CARGO_CRATE_DEPENDS+= lazycell-1.3.0
CARGO_CRATE_DEPENDS+= libc-0.2.158
CARGO_CRATE_DEPENDS+= libloading-0.8.5
CARGO_CRATE_DEPENDS+= libproc-0.14.8
CARGO_CRATE_DEPENDS+= libredox-0.1.3
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.4.14
CARGO_CRATE_DEPENDS+= lock_api-0.4.12
CARGO_CRATE_DEPENDS+= log-0.4.22
CARGO_CRATE_DEPENDS+= logos-0.14.1
CARGO_CRATE_DEPENDS+= logos-codegen-0.14.1
CARGO_CRATE_DEPENDS+= logos-derive-0.14.1
CARGO_CRATE_DEPENDS+= matchers-0.1.0
CARGO_CRATE_DEPENDS+= memchr-2.7.4
CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.8.0
CARGO_CRATE_DEPENDS+= mio-1.0.2
CARGO_CRATE_DEPENDS+= nix-0.27.1
CARGO_CRATE_DEPENDS+= nix-0.29.0
CARGO_CRATE_DEPENDS+= nom-7.1.3
CARGO_CRATE_DEPENDS+= nu-ansi-term-0.46.0
CARGO_CRATE_DEPENDS+= num-conv-0.1.0
CARGO_CRATE_DEPENDS+= num-traits-0.2.19
CARGO_CRATE_DEPENDS+= num_threads-0.1.7
CARGO_CRATE_DEPENDS+= object-0.36.4
CARGO_CRATE_DEPENDS+= once_cell-1.19.0
CARGO_CRATE_DEPENDS+= option-ext-0.2.0
CARGO_CRATE_DEPENDS+= overload-0.1.1
CARGO_CRATE_DEPENDS+= parking_lot-0.12.3
CARGO_CRATE_DEPENDS+= parking_lot_core-0.9.10
CARGO_CRATE_DEPENDS+= pem-3.0.4
CARGO_CRATE_DEPENDS+= pest-2.7.12
CARGO_CRATE_DEPENDS+= pest_derive-2.7.12
CARGO_CRATE_DEPENDS+= pest_generator-2.7.12
CARGO_CRATE_DEPENDS+= pest_meta-2.7.12
CARGO_CRATE_DEPENDS+= pin-project-lite-0.2.14
CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
CARGO_CRATE_DEPENDS+= portpicker-0.1.1
CARGO_CRATE_DEPENDS+= powerfmt-0.2.0
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.20
CARGO_CRATE_DEPENDS+= predicates-3.1.2
CARGO_CRATE_DEPENDS+= predicates-core-1.0.8
CARGO_CRATE_DEPENDS+= predicates-tree-1.0.11
CARGO_CRATE_DEPENDS+= pretty_assertions-1.4.1
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.86
CARGO_CRATE_DEPENDS+= procfs-0.16.0
CARGO_CRATE_DEPENDS+= procfs-core-0.16.0
CARGO_CRATE_DEPENDS+= quote-1.0.37
CARGO_CRATE_DEPENDS+= rand-0.8.5
CARGO_CRATE_DEPENDS+= rand_chacha-0.3.1
CARGO_CRATE_DEPENDS+= rand_core-0.6.4
CARGO_CRATE_DEPENDS+= rcgen-0.13.1
CARGO_CRATE_DEPENDS+= redox_syscall-0.5.4
CARGO_CRATE_DEPENDS+= redox_users-0.4.6
CARGO_CRATE_DEPENDS+= regex-1.10.6
CARGO_CRATE_DEPENDS+= regex-automata-0.1.10
CARGO_CRATE_DEPENDS+= regex-automata-0.4.7
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.29
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.4
CARGO_CRATE_DEPENDS+= relative-path-1.9.3
CARGO_CRATE_DEPENDS+= rev_buf_reader-0.3.0
CARGO_CRATE_DEPENDS+= ring-0.17.8
CARGO_CRATE_DEPENDS+= rstest-0.19.0
CARGO_CRATE_DEPENDS+= rstest_macros-0.19.0
CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.24
CARGO_CRATE_DEPENDS+= rustc-hash-1.1.0
CARGO_CRATE_DEPENDS+= rustc_version-0.4.1
CARGO_CRATE_DEPENDS+= rustix-0.38.37
CARGO_CRATE_DEPENDS+= rustls-0.23.13
CARGO_CRATE_DEPENDS+= rustls-pemfile-2.1.3
CARGO_CRATE_DEPENDS+= rustls-pki-types-1.8.0
CARGO_CRATE_DEPENDS+= rustls-webpki-0.102.8
CARGO_CRATE_DEPENDS+= rustversion-1.0.17
CARGO_CRATE_DEPENDS+= ryu-1.0.18
CARGO_CRATE_DEPENDS+= scopeguard-1.2.0
CARGO_CRATE_DEPENDS+= semver-1.0.23
CARGO_CRATE_DEPENDS+= serde-1.0.210
CARGO_CRATE_DEPENDS+= serde_cbor-0.11.2
CARGO_CRATE_DEPENDS+= serde_derive-1.0.210
CARGO_CRATE_DEPENDS+= serde_json-1.0.128
CARGO_CRATE_DEPENDS+= serde_yaml-0.9.34+deprecated
CARGO_CRATE_DEPENDS+= sha2-0.10.8
CARGO_CRATE_DEPENDS+= sharded-slab-0.1.7
CARGO_CRATE_DEPENDS+= shell-escape-0.1.5
CARGO_CRATE_DEPENDS+= shellexpand-3.1.0
CARGO_CRATE_DEPENDS+= shlex-1.3.0
CARGO_CRATE_DEPENDS+= similar-2.6.0
CARGO_CRATE_DEPENDS+= similar-asserts-1.6.0
CARGO_CRATE_DEPENDS+= simplelog-0.12.2
CARGO_CRATE_DEPENDS+= slab-0.4.9
CARGO_CRATE_DEPENDS+= smallvec-1.13.2
CARGO_CRATE_DEPENDS+= snap-1.1.1
CARGO_CRATE_DEPENDS+= socket2-0.5.7
CARGO_CRATE_DEPENDS+= spin-0.9.8
CARGO_CRATE_DEPENDS+= strsim-0.11.1
CARGO_CRATE_DEPENDS+= strum-0.26.3
CARGO_CRATE_DEPENDS+= strum_macros-0.26.4
CARGO_CRATE_DEPENDS+= subtle-2.6.1
CARGO_CRATE_DEPENDS+= syn-2.0.77
CARGO_CRATE_DEPENDS+= tempfile-3.12.0
CARGO_CRATE_DEPENDS+= termcolor-1.4.1
CARGO_CRATE_DEPENDS+= termtree-0.4.1
CARGO_CRATE_DEPENDS+= test-log-0.2.16
CARGO_CRATE_DEPENDS+= test-log-macros-0.2.16
CARGO_CRATE_DEPENDS+= thiserror-1.0.63
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.63
CARGO_CRATE_DEPENDS+= thread_local-1.1.8
CARGO_CRATE_DEPENDS+= time-0.3.36
CARGO_CRATE_DEPENDS+= time-core-0.1.2
CARGO_CRATE_DEPENDS+= time-macros-0.2.18
CARGO_CRATE_DEPENDS+= tokio-1.40.0
CARGO_CRATE_DEPENDS+= tokio-macros-2.4.0
CARGO_CRATE_DEPENDS+= tokio-rustls-0.26.0
CARGO_CRATE_DEPENDS+= tracing-0.1.40
CARGO_CRATE_DEPENDS+= tracing-core-0.1.32
CARGO_CRATE_DEPENDS+= tracing-log-0.2.0
CARGO_CRATE_DEPENDS+= tracing-subscriber-0.3.18
CARGO_CRATE_DEPENDS+= typenum-1.17.0
CARGO_CRATE_DEPENDS+= ucd-trie-0.1.6
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.13
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.12.0
CARGO_CRATE_DEPENDS+= unicode-width-0.1.13
CARGO_CRATE_DEPENDS+= unsafe-libyaml-0.2.11
CARGO_CRATE_DEPENDS+= untrusted-0.9.0
CARGO_CRATE_DEPENDS+= utf8parse-0.2.2
CARGO_CRATE_DEPENDS+= valuable-0.1.0
CARGO_CRATE_DEPENDS+= version_check-0.9.5
CARGO_CRATE_DEPENDS+= wait-timeout-0.2.0
CARGO_CRATE_DEPENDS+= wasi-0.11.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasite-0.1.0
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.93
CARGO_CRATE_DEPENDS+= web-sys-0.3.70
CARGO_CRATE_DEPENDS+= whoami-1.5.2
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.9
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= windows-core-0.52.0
CARGO_CRATE_DEPENDS+= windows-sys-0.48.0
CARGO_CRATE_DEPENDS+= windows-sys-0.52.0
CARGO_CRATE_DEPENDS+= windows-sys-0.59.0
CARGO_CRATE_DEPENDS+= windows-targets-0.48.5
CARGO_CRATE_DEPENDS+= windows-targets-0.52.6
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.48.5
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.48.5
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.6
CARGO_CRATE_DEPENDS+= yansi-1.0.1
CARGO_CRATE_DEPENDS+= yasna-0.5.2
CARGO_CRATE_DEPENDS+= zerocopy-0.7.35
CARGO_CRATE_DEPENDS+= zerocopy-derive-0.7.35
CARGO_CRATE_DEPENDS+= zeroize-1.8.1
Loading

0 comments on commit 295d630

Please sign in to comment.