pkgsrc-WIP-changes archive

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

import uq



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Apr 17 12:55:58 2021 +0200
Changeset:	a7348f61d453c4abcb91e3ad04f8ed628b525335

Modified Files:
	Makefile
Added Files:
	uq/DESCR
	uq/Makefile
	uq/PLIST
	uq/cargo-depends.mk
	uq/distinfo

Log Message:
import uq

USER REQUEST:
=============
uq is a simple, user-friendly alternative to sort | uniq.

It removes duplicate lines from the output, regardless of the order.
Unlike sort | uniq, uq does not sort entries. This allows uq to operate
on continuous streams as well.

DISCLAIMER:
===========
Package is imported into wip and not into the main branch as it has not been
updated in over 3 years.

It builds fine but issues the followig compilation warning:
-trait objects without an explicit `dyn` are deprecated.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a7348f61d453c4abcb91e3ad04f8ed628b525335

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 uq/DESCR            |  5 ++++
 uq/Makefile         | 24 +++++++++++++++++
 uq/PLIST            |  2 ++
 uq/cargo-depends.mk | 19 ++++++++++++++
 uq/distinfo         | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 125 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 082e2d469f..733c4e39a5 100644
--- a/Makefile
+++ b/Makefile
@@ -5641,6 +5641,7 @@ SUBDIR+=	upower
 SUBDIR+=	uprof
 SUBDIR+=	ups-monitor
 SUBDIR+=	uptimed
+SUBDIR+=	uq
 SUBDIR+=	uqwk
 SUBDIR+=	urlwatch
 SUBDIR+=	urw-base35-ttf
diff --git a/uq/DESCR b/uq/DESCR
new file mode 100644
index 0000000000..b73b9edcee
--- /dev/null
+++ b/uq/DESCR
@@ -0,0 +1,5 @@
+uq is a simple, user-friendly alternative to sort | uniq.
+
+It removes duplicate lines from the output, regardless of the order.
+Unlike sort | uniq, uq does not sort entries. This allows uq to operate
+on continuous streams as well.
diff --git a/uq/Makefile b/uq/Makefile
new file mode 100644
index 0000000000..3ba1bb4164
--- /dev/null
+++ b/uq/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	uq-0.1.2
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=lostutils/}
+GITHUB_PROJECT=	uq
+GITHUB_TAG=	118bc2f3b1cf292afdffbc1cb4415d150b323165
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/lostutils/uq/
+COMMENT=	Simple, user-friendly alternative to sort, uniq
+LICENSE=	mit
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES+= c
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/target/release/uq ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/uq/PLIST b/uq/PLIST
new file mode 100644
index 0000000000..0d46746e8e
--- /dev/null
+++ b/uq/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/uq
diff --git a/uq/cargo-depends.mk b/uq/cargo-depends.mk
new file mode 100644
index 0000000000..a6ec3c32ec
--- /dev/null
+++ b/uq/cargo-depends.mk
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+CARGO_CRATE_DEPENDS+=	ansi_term-0.10.2
+CARGO_CRATE_DEPENDS+=	atty-0.2.6
+CARGO_CRATE_DEPENDS+=	bitflags-1.0.1
+CARGO_CRATE_DEPENDS+=	byteorder-1.2.2
+CARGO_CRATE_DEPENDS+=	clap-2.29.2
+CARGO_CRATE_DEPENDS+=	fxhash-0.2.1
+CARGO_CRATE_DEPENDS+=	libc-0.2.36
+CARGO_CRATE_DEPENDS+=	redox_syscall-0.1.37
+CARGO_CRATE_DEPENDS+=	redox_termios-0.1.1
+CARGO_CRATE_DEPENDS+=	strsim-0.6.0
+CARGO_CRATE_DEPENDS+=	termion-1.5.1
+CARGO_CRATE_DEPENDS+=	textwrap-0.9.0
+CARGO_CRATE_DEPENDS+=	unicode-width-0.1.4
+CARGO_CRATE_DEPENDS+=	vec_map-0.8.0
+CARGO_CRATE_DEPENDS+=	winapi-0.3.4
+CARGO_CRATE_DEPENDS+=	winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=	winapi-x86_64-pc-windows-gnu-0.4.0
diff --git a/uq/distinfo b/uq/distinfo
new file mode 100644
index 0000000000..7dc2285536
--- /dev/null
+++ b/uq/distinfo
@@ -0,0 +1,74 @@
+$NetBSD$
+
+SHA1 (ansi_term-0.10.2.crate) = 4e4056e8b34d484aed6c8505398716485ce8e116
+RMD160 (ansi_term-0.10.2.crate) = f11adc9dd49c0e35655318dccfc0706968a06d71
+SHA512 (ansi_term-0.10.2.crate) = ad4572845913cb21fdd9d8c0bffc5fce1571ef62c32fe83fd41262f7955e918400a446077494038299c4c0dfb0bd030d089336b3f169e726a5e15ee5c78ea3b5
+Size (ansi_term-0.10.2.crate) = 16642 bytes
+SHA1 (atty-0.2.6.crate) = 5aff46b5870dc36cbe4beda3ae4b5dc450560e0d
+RMD160 (atty-0.2.6.crate) = 15be41a594e3efada859c63129819b81c57d4aaa
+SHA512 (atty-0.2.6.crate) = ae0aa91616571391eb4a2cc46b4765784dcd96b514fc7c3b64f756d1a180f95c83b9d14086f872fb7466be0e623f44a1a3170e786d7fbff5bdd949ef0cd88997
+Size (atty-0.2.6.crate) = 5617 bytes
+SHA1 (bitflags-1.0.1.crate) = d7da06a6de58e9273dee5207734057bf722376ba
+RMD160 (bitflags-1.0.1.crate) = 92184075730d0601dc17ced504601b0ae55d64e2
+SHA512 (bitflags-1.0.1.crate) = 6ca3a06645534769fb5c5ad91958e9e802db5a4b49a2a11b0be5243d7e92e32e552183a7ba8d7052f8543f642bc0e4799ef0f36013f64e5c60f4e98bbb26e465
+Size (bitflags-1.0.1.crate) = 13451 bytes
+SHA1 (byteorder-1.2.2.crate) = 477053e256c13e002bf760000ba97a5c291d0245
+RMD160 (byteorder-1.2.2.crate) = cd84a9f1aaadc9c826b21e285b16a5381b77598f
+SHA512 (byteorder-1.2.2.crate) = b3b0aa23f0d6a5023fbc8571e73cb7aabd8148f9dcba8da9aad49cabf97dabbbb3a05764cd3604edbd00ecb56ee0695cd30a67d9d51264539169e400d7bbc478
+Size (byteorder-1.2.2.crate) = 18909 bytes
+SHA1 (clap-2.29.2.crate) = 595281ff78212699691b4503de3efb134ccdadab
+RMD160 (clap-2.29.2.crate) = d1bcd4ff34effa9ba39bf2d576094e4dd3e032b9
+SHA512 (clap-2.29.2.crate) = 626ae25a17d29963329942d3603911d5d30b78159c84918a9a063d3060f9919dbcbf5c1a705f5b98495a96dc31bfefcc83ed56124d0c3965a1df2a6b59bdd3ef
+Size (clap-2.29.2.crate) = 188578 bytes
+SHA1 (fxhash-0.2.1.crate) = 784dd47e0ab3faef160cae3a6ff1d12887dca8d1
+RMD160 (fxhash-0.2.1.crate) = 4c4f7e5d3b3330a5439374c6bf91753f90917e55
+SHA512 (fxhash-0.2.1.crate) = 638e1c0a4e7f365483a329e715afbc2e57e47c03b32e0e1818c879baa96996e81dce8ab39320e24a3e1633f73dec1e5f18a06c37f3ad38043002fc99b55efc38
+Size (fxhash-0.2.1.crate) = 4102 bytes
+SHA1 (libc-0.2.36.crate) = f9179b478aa40379abfa5090a7e8f15d4b6f91cb
+RMD160 (libc-0.2.36.crate) = 1e6dd6dee3ced1c71db2161883afefec1db2c6da
+SHA512 (libc-0.2.36.crate) = 97995c49322f5a3c93df2db08b7372ba3a6da0edc9247cbd3bfb58f9b01315953596154c97c5bca1517b56b8e35e8d03bbf89f9b980aff724977b98bc0d938ed
+Size (libc-0.2.36.crate) = 310575 bytes
+SHA1 (redox_syscall-0.1.37.crate) = 83b89d278b40f76e70642b57eaf21c9c8c376b44
+RMD160 (redox_syscall-0.1.37.crate) = ab09d6a7a17c7ebbef7fab079e6d0098f590b888
+SHA512 (redox_syscall-0.1.37.crate) = 147e48d44227cfe8ea190d543f9f8ab1e49fe2336c80f7e2b83546e617d0eeb8a1e94ce6e4d6f633b92ca72241cbfe0aec082425bc5f7b63d5efd164b51d5e48
+Size (redox_syscall-0.1.37.crate) = 13980 bytes
+SHA1 (redox_termios-0.1.1.crate) = c077c0ef5380aa5b4054d0f403b1818a71e70bae
+RMD160 (redox_termios-0.1.1.crate) = 4403f32fb5435279446c9b6acc54792d655d4f72
+SHA512 (redox_termios-0.1.1.crate) = 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981
+Size (redox_termios-0.1.1.crate) = 3227 bytes
+SHA1 (strsim-0.6.0.crate) = 04600e314230b2280bd7681d7d0385d5c9c832f0
+RMD160 (strsim-0.6.0.crate) = 706392f5ecaac3213c6c8999894f197167e03051
+SHA512 (strsim-0.6.0.crate) = 43cbcf2cab7f91515f52f20719e8013cff23807ca79a9a69f1997ec1ba2eacf713d64c88e33f4c9ba852fb3dda4b87e943587ae4b6ff5bfbbb81deb6dbf76a97
+Size (strsim-0.6.0.crate) = 8500 bytes
+SHA1 (termion-1.5.1.crate) = 04157e26c3ad9efa87401d7872a103ee791e284c
+RMD160 (termion-1.5.1.crate) = 1dd6b33cc0518b95da88648441807c210a2a498f
+SHA512 (termion-1.5.1.crate) = 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76
+Size (termion-1.5.1.crate) = 20659 bytes
+SHA1 (textwrap-0.9.0.crate) = 57b8298306ff75807cef72bc045830e101e78787
+RMD160 (textwrap-0.9.0.crate) = a530153540ed92b8038ac3bfb4e65fe588447cd9
+SHA512 (textwrap-0.9.0.crate) = e176f703f971eefb5cfc1ecf9047858bd7610a58fa4103879fd963b292c79872bd8466ef8fc9742a428ac707400dade307e72fa965dc4d61da66e932e5b20c35
+Size (textwrap-0.9.0.crate) = 15795 bytes
+SHA1 (unicode-width-0.1.4.crate) = 606f6c529abcef759e0ef57ac9e4ba1e9c1ec993
+RMD160 (unicode-width-0.1.4.crate) = b4bf85b49ebae6b6f89f6fe6c75785b7cf8e1984
+SHA512 (unicode-width-0.1.4.crate) = f06b243e533ab9c68d88ccd06a283dfff5fd13e9340cf11bfa74473fc9100bb704c34e7fb66919202a97e7d2ba2e7eed968eced02d557835a06e6a0166865ea3
+Size (unicode-width-0.1.4.crate) = 15283 bytes
+SHA1 (uq-0.1.2-118bc2f3b1cf292afdffbc1cb4415d150b323165.tar.gz) = b6a52c8130c2b901bb1ab3c86f2baa6bf91aee68
+RMD160 (uq-0.1.2-118bc2f3b1cf292afdffbc1cb4415d150b323165.tar.gz) = ba8928bdf4a94730a6bbbe6bce3389e9e4a119aa
+SHA512 (uq-0.1.2-118bc2f3b1cf292afdffbc1cb4415d150b323165.tar.gz) = 97ac78b55fbfb3f9bb7ca514c9ce115c15e0a8e3ec2886a721f30f330e3fbf4341d58dc553973c12984db03c6d8b4de2e4ec2a3ca599993fefa4032daa673f0f
+Size (uq-0.1.2-118bc2f3b1cf292afdffbc1cb4415d150b323165.tar.gz) = 3831 bytes
+SHA1 (vec_map-0.8.0.crate) = 4c8c5913885efd0c4e672de6d39b04dece1741b3
+RMD160 (vec_map-0.8.0.crate) = ab6d765ed6484a7c8d933d3da18de40c9328d412
+SHA512 (vec_map-0.8.0.crate) = 7ce0c05c0b410577b489adb4d35376bc2a55c6041ce50e011b78415e952b5fb7fcff89fdd00b95e086de742f26ff057e99e55585824bbc0482e0ac2134406520
+Size (vec_map-0.8.0.crate) = 13742 bytes
+SHA1 (winapi-0.3.4.crate) = 3513c546a732d8feb851358742669b972808fad4
+RMD160 (winapi-0.3.4.crate) = ccf5ba89fc27ec1d28848c74ee3a5f1716f34d65
+SHA512 (winapi-0.3.4.crate) = 4636ceea813181de46c0bb2f837982936a69376e2b3a58d541a982a494ab4e5b52f3baf820f714a81a2e742def2bf07a2d8313e31b45e51dc7e4d350a5b24579
+Size (winapi-0.3.4.crate) = 905247 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-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