pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import tre
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Sun Mar 28 15:13:09 2021 +0200
Changeset: 88f7c08a058e42c24efd9d7634bd13368e1cf17e
Modified Files:
Makefile
Added Files:
tre/DESCR
tre/Makefile
tre/PLIST
tre/cargo-depends.mk
tre/distinfo
Log Message:
Import tre
A replacement for tree command that uses git ls-files as source of file when
possible.
tre can also create shell aliases that, when executed, opens the file
associated with it with the default editor.
Runs on Unix as well as Windows PowerShell.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=88f7c08a058e42c24efd9d7634bd13368e1cf17e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
tre/DESCR | 5 +++
tre/Makefile | 23 ++++++++++++
tre/PLIST | 2 +
tre/cargo-depends.mk | 26 +++++++++++++
tre/distinfo | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 159 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 896bd57dae..bca17c0df4 100644
--- a/Makefile
+++ b/Makefile
@@ -5573,6 +5573,7 @@ SUBDIR+= tracy
SUBDIR+= trader
SUBDIR+= translate-toolkit
SUBDIR+= trayion
+SUBDIR+= tre
SUBDIR+= treetool
SUBDIR+= treeviewx
SUBDIR+= trelby
diff --git a/tre/DESCR b/tre/DESCR
new file mode 100644
index 0000000000..eaa1f3a5e9
--- /dev/null
+++ b/tre/DESCR
@@ -0,0 +1,5 @@
+A replacement for tree command that uses git ls-files as source of file when
+possible.
+tre can also create shell aliases that, when executed, opens the file
+associated with it with the default editor.
+Runs on Unix as well as Windows PowerShell.
diff --git a/tre/Makefile b/tre/Makefile
new file mode 100644
index 0000000000..4d56ada3dd
--- /dev/null
+++ b/tre/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME= tre-0.3.6
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dduan/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pin%NetBSD.org@localhost
+HOMEPAGE= https://github.com/dduan/tre/
+COMMENT= Tree command, improved
+LICENSE= mit
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES+= c
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/tre ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tre/PLIST b/tre/PLIST
new file mode 100644
index 0000000000..eabfa68f04
--- /dev/null
+++ b/tre/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/tre
diff --git a/tre/cargo-depends.mk b/tre/cargo-depends.mk
new file mode 100644
index 0000000000..8d95b8ada6
--- /dev/null
+++ b/tre/cargo-depends.mk
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= getopts-0.2.21
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.16
+CARGO_CRATE_DEPENDS+= itoa-0.4.6
+CARGO_CRATE_DEPENDS+= libc-0.2.77
+CARGO_CRATE_DEPENDS+= lscolors-0.7.1
+CARGO_CRATE_DEPENDS+= proc-macro2-1.0.23
+CARGO_CRATE_DEPENDS+= quote-1.0.7
+CARGO_CRATE_DEPENDS+= ryu-1.0.5
+CARGO_CRATE_DEPENDS+= same-file-1.0.6
+CARGO_CRATE_DEPENDS+= serde-1.0.116
+CARGO_CRATE_DEPENDS+= serde_derive-1.0.116
+CARGO_CRATE_DEPENDS+= serde_json-1.0.57
+CARGO_CRATE_DEPENDS+= slab-0.4.2
+CARGO_CRATE_DEPENDS+= syn-1.0.42
+CARGO_CRATE_DEPENDS+= termcolor-1.1.0
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1
+CARGO_CRATE_DEPENDS+= walkdir-2.3.1
+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
diff --git a/tre/distinfo b/tre/distinfo
new file mode 100644
index 0000000000..704c1f4c57
--- /dev/null
+++ b/tre/distinfo
@@ -0,0 +1,102 @@
+$NetBSD$
+
+SHA1 (ansi_term-0.12.1.crate) = fa6af8a593898105594dfb8b057dcbfdf30648a2
+RMD160 (ansi_term-0.12.1.crate) = 747f8ed27409243576d586c9957d9e06837f27bf
+SHA512 (ansi_term-0.12.1.crate) = b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+Size (ansi_term-0.12.1.crate) = 24838 bytes
+SHA1 (atty-0.2.14.crate) = 9b4bfe6daebdd3d13a8a605bf44f64d4e831e804
+RMD160 (atty-0.2.14.crate) = 63c38cbe0fc07a4533253427a164612b456094cf
+SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+Size (atty-0.2.14.crate) = 5470 bytes
+SHA1 (getopts-0.2.21.crate) = 9dd990ef7bee1b18b41f4e44d342b397134b0a38
+RMD160 (getopts-0.2.21.crate) = 9584128851c5564984b1603741961447d57436ec
+SHA512 (getopts-0.2.21.crate) = 5515ae6ccb0f03efb783683f46cfd1755342c4e83bb673ff8914c7f9dea0dae333f8d9703865e992659a359067df0e8b0e2253de0d4b0c7707cbe7d73401bb1f
+Size (getopts-0.2.21.crate) = 18457 bytes
+SHA1 (hermit-abi-0.1.16.crate) = b51cf690615ffacd96aeb1ae8e0b8712b1731e95
+RMD160 (hermit-abi-0.1.16.crate) = c238822cf8dcc645c3ef3e3cbaf985d26343bd5c
+SHA512 (hermit-abi-0.1.16.crate) = b9aa336e195fdbb3c1a1fc7167f3efd284c2c3ab0613ec47f07b5cf5865b56cac3aa0da4936f6a336f036993344126b3d872875c362c516e0ca538d8e36195f9
+Size (hermit-abi-0.1.16.crate) = 9889 bytes
+SHA1 (itoa-0.4.6.crate) = 8da44ba223871001de19a0910c372820661e8995
+RMD160 (itoa-0.4.6.crate) = 3075bdd92b5aa770d1d94dd9c2e34bfca1006362
+SHA512 (itoa-0.4.6.crate) = 9085ad30313a2904fc60a85afed99c7388a345ed50c988f4e7307b23b5f38b14bc9ff64edf02b85fda6c363e035ac314241d5dba4a6e2dcfef3d2648cadb9692
+Size (itoa-0.4.6.crate) = 12167 bytes
+SHA1 (libc-0.2.77.crate) = 9ddaa7119e151ce60dfbaf28da6caa6e0f60aae9
+RMD160 (libc-0.2.77.crate) = 5cb02f9a9dba54f4f372ab2dd91f83092ac8c37b
+SHA512 (libc-0.2.77.crate) = 1e6dbd6f646a50fffd294ea56146c42dec6c4e027f2cd886ce2bbab9a5a2d036e4787f95201c448bef9ceddd52d863153c849343791d92900bf1378fbacee0f7
+Size (libc-0.2.77.crate) = 507233 bytes
+SHA1 (lscolors-0.7.1.crate) = d49d7e06192001796102682d34b06357dc47a5ce
+RMD160 (lscolors-0.7.1.crate) = 3fa0b5ed74736f027792febbfdb54ed884432da0
+SHA512 (lscolors-0.7.1.crate) = 65c618c25624b360a98f98142e0867d524d19e7060887993f35899a26a812e360d8b8d627d36a72fa3c604a1cb5615d6a425850087183b694083b9649e120776
+Size (lscolors-0.7.1.crate) = 17986 bytes
+SHA1 (proc-macro2-1.0.23.crate) = c26b9ae0ed941ccde1b4bfb19f2d65d724d0ed31
+RMD160 (proc-macro2-1.0.23.crate) = 3ea2ac62c920e4741e1434cd58bf94d1e370537e
+SHA512 (proc-macro2-1.0.23.crate) = 6a6c1178485d93ca69860e33e115978420ddfb0f0dd672b5951011e60e6563dd8f560bd5a390cae46dbd9533061c3df0f00e96848db3a5606e445e79d63baa3f
+Size (proc-macro2-1.0.23.crate) = 37330 bytes
+SHA1 (quote-1.0.7.crate) = 63ef7b19865840266f1e4a2cb3e83be884c3fd09
+RMD160 (quote-1.0.7.crate) = f6637701a383ef477c2fbddb0268b0c2590c1e89
+SHA512 (quote-1.0.7.crate) = b7cb576c07419854f71072a88e4216f50d78196703d3d8a1068dfd0f2ccb1e417c3a865ec3be613b46e74e46654f64378f527800701f74d50352cb766a885953
+Size (quote-1.0.7.crate) = 25170 bytes
+SHA1 (ryu-1.0.5.crate) = 20db65d59430e573f83d80b92efe5cb622615eb7
+RMD160 (ryu-1.0.5.crate) = 7fb7f2a90d303c0a20b0e28ead4220b510f09124
+SHA512 (ryu-1.0.5.crate) = d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c
+Size (ryu-1.0.5.crate) = 49570 bytes
+SHA1 (same-file-1.0.6.crate) = 0666a423c9fe447d63e2cf28764acd02baab8c28
+RMD160 (same-file-1.0.6.crate) = 6f4df057ec32ab539ed5bdba817eb7d2c390bd1e
+SHA512 (same-file-1.0.6.crate) = 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c
+Size (same-file-1.0.6.crate) = 10183 bytes
+SHA1 (serde-1.0.116.crate) = 0fa35985f2fca497715da57ec2dc5bfa26ff9186
+RMD160 (serde-1.0.116.crate) = 6c2c4d331375a94a62e1aea4bb5aa2c561879284
+SHA512 (serde-1.0.116.crate) = 938cf3c4860a35746810cf46003ab754b02446f481ad91ad3a030c751ef593889f433019626c613add8834b71d855742482d7e7c471f423a4c7b324d809992f8
+Size (serde-1.0.116.crate) = 74443 bytes
+SHA1 (serde_derive-1.0.116.crate) = 07b3194bed887ce6c90c15e90fe0fb6befba663b
+RMD160 (serde_derive-1.0.116.crate) = bb23498f6b2e7caa7f262f606e322fa3605df3c7
+SHA512 (serde_derive-1.0.116.crate) = d0571b9b7346f031514a519da19e53f0fa0381052dc16a40f1a2913518a72558d6fce7712152fa9408cfade6ee7ebaf2c0c84aaee9cd9c961f88d1470747c16d
+Size (serde_derive-1.0.116.crate) = 50697 bytes
+SHA1 (serde_json-1.0.57.crate) = 63baf116ca88406e824d7aa3081d3b03c8070b5e
+RMD160 (serde_json-1.0.57.crate) = eb8adc60935f27c43a9ad1fff359a524066a7434
+SHA512 (serde_json-1.0.57.crate) = 0ca0ed1cf47c87f907b241e696d6aa23b49bec876d3b9e0e011c20d145b797769631ff8ce8d57487633d1d8a8657e601884bc10b5670ce17c136b9579fd921de
+Size (serde_json-1.0.57.crate) = 114723 bytes
+SHA1 (slab-0.4.2.crate) = b0c3cf72869d305a7d1d179f85b4460bd14a5bcc
+RMD160 (slab-0.4.2.crate) = cd54b2a9d76748b6c98daabc31ed1e2e3a5d94cc
+SHA512 (slab-0.4.2.crate) = f9fd70d0cc5180393cebbe87fe984de0c103db1c2c2648fb7a0ee22cdabf37a7338fd511538f00e9a5564365cce2879afe19bf77c435870197bd6cafef5d6661
+Size (slab-0.4.2.crate) = 10136 bytes
+SHA1 (syn-1.0.42.crate) = a0aa8047d6362c0d0f6c753f6daabf51155b1ddc
+RMD160 (syn-1.0.42.crate) = c7d7c4c3fd53769319c27a68281f9bcc0e63b45d
+SHA512 (syn-1.0.42.crate) = c758c4175fc9e48418224a02142f045eb0fcbb9ca6732a9ac36c55f075ec70268cc729f6b8002238d6c79a8ac4c3a9ef8c3ff69f78db9434fc9866152a2932eb
+Size (syn-1.0.42.crate) = 225244 bytes
+SHA1 (termcolor-1.1.0.crate) = 53b35ac5724a3781f1ce2eb70ad26c5a0e9e311d
+RMD160 (termcolor-1.1.0.crate) = 51edd9a9aa463d5afa507c9ea753fde7d30eeb48
+SHA512 (termcolor-1.1.0.crate) = 41b05b047cbfdd5e3990eb36f635dc8ccf26a42bd5403d6d14a9f3c341e92b61c3b8d4d5f4fcd29071a97b3d96280ed59b4557b63a769390e2729fc82ab39702
+Size (termcolor-1.1.0.crate) = 17193 bytes
+SHA1 (tre-0.3.6.tar.gz) = b8588aba6b3ce2c9d74332ef120bb05da7a701d7
+RMD160 (tre-0.3.6.tar.gz) = c23c4fe73ef9bb0b7f22c3ca07d11dcfe190c751
+SHA512 (tre-0.3.6.tar.gz) = ddf8343fa0790508a25db3e608758c50855a178c859fa07ed919337355250002e43bd677a33a5ba47e41e02c38458477cb2f3fba8ad02508d4f4646576248267
+Size (tre-0.3.6.tar.gz) = 686263 bytes
+SHA1 (unicode-width-0.1.8.crate) = c5eec29c1b9d03c08b963b8fcbcf9e69ba6bdca3
+RMD160 (unicode-width-0.1.8.crate) = 920b0f2e5ffe2e65efd68ea35640b2b9720636f0
+SHA512 (unicode-width-0.1.8.crate) = 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0
+Size (unicode-width-0.1.8.crate) = 16732 bytes
+SHA1 (unicode-xid-0.2.1.crate) = c9132224bdc93872dd5b4d8099f5318ba15f2dfd
+RMD160 (unicode-xid-0.2.1.crate) = f22de16f57fe27fc9e88639f3a86310f8fd27ee7
+SHA512 (unicode-xid-0.2.1.crate) = 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2
+Size (unicode-xid-0.2.1.crate) = 14392 bytes
+SHA1 (walkdir-2.3.1.crate) = 19e4db033e3c420463da0bd5adb654852b6f1bc9
+RMD160 (walkdir-2.3.1.crate) = dc8fb169e33e4f493b10402e78b39796582aec55
+SHA512 (walkdir-2.3.1.crate) = ba807ff0d098aabdcd37e23204632beea1dbb7a6adfd16cb1009cae9e7b6957cfeab705cc454bf8f2b62a08743214ab995e43bf46fc510012c938f9e2a434951
+Size (walkdir-2.3.1.crate) = 23413 bytes
+SHA1 (winapi-0.3.9.crate) = 25c427fe8e3df07658e2552d2585d2f167ba3125
+RMD160 (winapi-0.3.9.crate) = 37e72db32b20588d61821e9bc5e72fb31b1ed089
+SHA512 (winapi-0.3.9.crate) = ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
+Size (winapi-0.3.9.crate) = 1200382 bytes
+SHA1 (winapi-i686-pc-windows-gnu-0.4.0.crate) = cf2bc857823de6008e6da350ad2c97c7be564322
+RMD160 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a7d1e9e7f940d2e376a1b6dede7f0a50ad191ab8
+SHA512 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+Size (winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 bytes
+SHA1 (winapi-util-0.1.5.crate) = d5add3c0e2bfb515b6ee22877124e0f304376a18
+RMD160 (winapi-util-0.1.5.crate) = 0aa3a6dd24a0ba90d60d35da9184ba8750414306
+SHA512 (winapi-util-0.1.5.crate) = 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
+Size (winapi-util-0.1.5.crate) = 10164 bytes
+SHA1 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = eadfdb146024d37b6887b5b9cb6a69f61473ed8a
+RMD160 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 300417853d251d91cadb9650992a6aa98248619f
+SHA512 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
+Size (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 bytes
Home |
Main Index |
Thread Index |
Old Index