Commit 6d0b0563 authored by yuri's avatar yuri
Browse files

New port: devel/desed: Demystify and debug sed scripts from the comfort of your terminal

parent dc46e539
......@@ -470,6 +470,7 @@
SUBDIR += deployer
SUBDIR += derelict-sdl2
SUBDIR += derelict-util
SUBDIR += desed
SUBDIR += desktop-file-utils
SUBDIR += dev86
SUBDIR += devhelp
......
# $FreeBSD$
PORTNAME= desed
DISTVERSION= 1.1.1
CATEGORIES= devel
MASTER_SITES= CRATESIO
DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Demystify and debug sed scripts from the comfort of your terminal
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= gsed:textproc/gsed
USES= cargo
PLIST_FILES= bin/${PORTNAME}
CARGO_CRATES= ansi_term-0.11.0 \
arc-swap-0.4.5 \
atty-0.2.14 \
bitflags-1.2.1 \
cassowary-0.3.0 \
cfg-if-0.1.10 \
clap-2.33.0 \
cloudabi-0.0.3 \
crossterm-0.17.3 \
crossterm_winapi-0.6.1 \
either-1.5.3 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
hermit-abi-0.1.11 \
iovec-0.1.4 \
itertools-0.9.0 \
kernel32-sys-0.2.2 \
lazy_static-1.4.0 \
libc-0.2.69 \
lock_api-0.3.4 \
log-0.4.8 \
mio-0.6.21 \
miow-0.2.1 \
net2-0.2.33 \
parking_lot-0.10.2 \
parking_lot_core-0.7.1 \
redox_syscall-0.1.56 \
scopeguard-1.1.0 \
signal-hook-0.1.13 \
signal-hook-registry-1.2.0 \
slab-0.4.2 \
smallvec-1.3.0 \
strsim-0.8.0 \
textwrap-0.11.0 \
tui-0.9.1 \
unicode-segmentation-1.6.0 \
unicode-width-0.1.7 \
vec_map-0.8.1 \
winapi-0.2.8 \
winapi-0.3.8 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
ws2_32-sys-0.2.1
.include <bsd.port.mk>
TIMESTAMP = 1587508725
SHA256 (rust/crates/desed-1.1.1.tar.gz) = 40f345c84e6fcb2cfd32c9b263580670081a469d4ad406101c6cf4835cdb76a4
SIZE (rust/crates/desed-1.1.1.tar.gz) = 1426999
SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
SHA256 (rust/crates/arc-swap-0.4.5.tar.gz) = d663a8e9a99154b5fb793032533f6328da35e23aac63d5c152279aa8ba356825
SIZE (rust/crates/arc-swap-0.4.5.tar.gz) = 48047
SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470
SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745
SHA256 (rust/crates/cassowary-0.3.0.tar.gz) = df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53
SIZE (rust/crates/cassowary-0.3.0.tar.gz) = 22876
SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822
SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933
SHA256 (rust/crates/clap-2.33.0.tar.gz) = 5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9
SIZE (rust/crates/clap-2.33.0.tar.gz) = 196458
SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f
SIZE (rust/crates/cloudabi-0.0.3.tar.gz) = 22156
SHA256 (rust/crates/crossterm-0.17.3.tar.gz) = ccdd8ef63a44e821956c6a276eca0faaa889d6a067dfcdbd5bfe85dce3a1d250
SIZE (rust/crates/crossterm-0.17.3.tar.gz) = 99458
SHA256 (rust/crates/crossterm_winapi-0.6.1.tar.gz) = 057b7146d02fb50175fd7dbe5158f6097f33d02831f43b4ee8ae4ddf67b68f5c
SIZE (rust/crates/crossterm_winapi-0.6.1.tar.gz) = 15017
SHA256 (rust/crates/either-1.5.3.tar.gz) = bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3
SIZE (rust/crates/either-1.5.3.tar.gz) = 12278
SHA256 (rust/crates/fuchsia-zircon-0.3.3.tar.gz) = 2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82
SIZE (rust/crates/fuchsia-zircon-0.3.3.tar.gz) = 22565
SHA256 (rust/crates/fuchsia-zircon-sys-0.3.3.tar.gz) = 3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7
SIZE (rust/crates/fuchsia-zircon-sys-0.3.3.tar.gz) = 7191
SHA256 (rust/crates/hermit-abi-0.1.11.tar.gz) = 8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15
SIZE (rust/crates/hermit-abi-0.1.11.tar.gz) = 9203
SHA256 (rust/crates/iovec-0.1.4.tar.gz) = b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e
SIZE (rust/crates/iovec-0.1.4.tar.gz) = 8720
SHA256 (rust/crates/itertools-0.9.0.tar.gz) = 284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b
SIZE (rust/crates/itertools-0.9.0.tar.gz) = 96429
SHA256 (rust/crates/kernel32-sys-0.2.2.tar.gz) = 7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d
SIZE (rust/crates/kernel32-sys-0.2.2.tar.gz) = 24537
SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443
SHA256 (rust/crates/libc-0.2.69.tar.gz) = 99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005
SIZE (rust/crates/libc-0.2.69.tar.gz) = 472393
SHA256 (rust/crates/lock_api-0.3.4.tar.gz) = c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75
SIZE (rust/crates/lock_api-0.3.4.tar.gz) = 18750
SHA256 (rust/crates/log-0.4.8.tar.gz) = 14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7
SIZE (rust/crates/log-0.4.8.tar.gz) = 31297
SHA256 (rust/crates/mio-0.6.21.tar.gz) = 302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f
SIZE (rust/crates/mio-0.6.21.tar.gz) = 129233
SHA256 (rust/crates/miow-0.2.1.tar.gz) = 8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919
SIZE (rust/crates/miow-0.2.1.tar.gz) = 21133
SHA256 (rust/crates/net2-0.2.33.tar.gz) = 42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88
SIZE (rust/crates/net2-0.2.33.tar.gz) = 20936
SHA256 (rust/crates/parking_lot-0.10.2.tar.gz) = d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e
SIZE (rust/crates/parking_lot-0.10.2.tar.gz) = 39536
SHA256 (rust/crates/parking_lot_core-0.7.1.tar.gz) = 0e136c1904604defe99ce5fd71a28d473fa60a12255d511aa78a9ddf11237aeb
SIZE (rust/crates/parking_lot_core-0.7.1.tar.gz) = 33530
SHA256 (rust/crates/redox_syscall-0.1.56.tar.gz) = 2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84
SIZE (rust/crates/redox_syscall-0.1.56.tar.gz) = 17117
SHA256 (rust/crates/scopeguard-1.1.0.tar.gz) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
SIZE (rust/crates/scopeguard-1.1.0.tar.gz) = 11470
SHA256 (rust/crates/signal-hook-0.1.13.tar.gz) = 10b9f3a1686a29f53cfd91ee5e3db3c12313ec02d33765f02c1a9645a1811e2c
SIZE (rust/crates/signal-hook-0.1.13.tar.gz) = 26045
SHA256 (rust/crates/signal-hook-registry-1.2.0.tar.gz) = 94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41
SIZE (rust/crates/signal-hook-registry-1.2.0.tar.gz) = 14490
SHA256 (rust/crates/slab-0.4.2.tar.gz) = c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8
SIZE (rust/crates/slab-0.4.2.tar.gz) = 10136
SHA256 (rust/crates/smallvec-1.3.0.tar.gz) = 05720e22615919e4734f6a99ceae50d00226c3c5aca406e102ebc33298214e0a
SIZE (rust/crates/smallvec-1.3.0.tar.gz) = 23930
SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309
SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060
SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322
SHA256 (rust/crates/tui-0.9.1.tar.gz) = b7de74b91c6cb83119a2140e7c215d95d9e54db27b58a500a2cbdeec4987b0a2
SIZE (rust/crates/tui-0.9.1.tar.gz) = 124105
SHA256 (rust/crates/unicode-segmentation-1.6.0.tar.gz) = e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0
SIZE (rust/crates/unicode-segmentation-1.6.0.tar.gz) = 90703
SHA256 (rust/crates/unicode-width-0.1.7.tar.gz) = caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479
SIZE (rust/crates/unicode-width-0.1.7.tar.gz) = 16644
SHA256 (rust/crates/vec_map-0.8.1.tar.gz) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a
SIZE (rust/crates/vec_map-0.8.1.tar.gz) = 14959
SHA256 (rust/crates/winapi-0.2.8.tar.gz) = 167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a
SIZE (rust/crates/winapi-0.2.8.tar.gz) = 455145
SHA256 (rust/crates/winapi-0.3.8.tar.gz) = 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6
SIZE (rust/crates/winapi-0.3.8.tar.gz) = 1128308
SHA256 (rust/crates/winapi-build-0.1.1.tar.gz) = 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc
SIZE (rust/crates/winapi-build-0.1.1.tar.gz) = 669
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
SHA256 (rust/crates/ws2_32-sys-0.2.1.tar.gz) = d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e
SIZE (rust/crates/ws2_32-sys-0.2.1.tar.gz) = 4697
--- src/sed/communication.rs.orig 2020-04-21 22:56:45 UTC
+++ src/sed/communication.rs
@@ -24,7 +24,7 @@ impl SedCommunicator {
});
}
fn get_sed_output(&self) -> Result<String, String> {
- let sed_debug_command = Command::new("sed")
+ let sed_debug_command = Command::new("gsed")
.args(
self.options.sed_parameters.iter().map(|s| s.as_str())
.chain(
Desed is a command line tool with beautiful TUI that provides users with
a comfortable interface and practical debugger, used to step through complex
sed scripts.
Some of the notable features include:
* Preview variable values, both of them
* See how will a substitute command affect pattern space before it runs
* Step through sed script, both forward and backwards
* Place breakpoints and examine program state
* Hot reload and see what changes as you edit source code
* Its name is a palindrome
WWW: https://github.com/SoptikHa2/desed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment