pkgsrc-WIP-changes archive

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

wip/nanogrep: import package



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Thu Dec 24 19:56:40 2020 +0100
Changeset:	6dff2c063d454f95fbb2e8db2f3b3ae5594e7664

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

Log Message:
wip/nanogrep: import package

Custom Implementation of minigrep with more functionality.

Features:
-Colored Output
-Case Insensitive
-Summary
	-Pattern Occurrence(s)
	-Line(s)
-!Regex

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

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

diffstat:
 Makefile                  |  1 +
 nanogrep/DESCR            |  9 +++++++++
 nanogrep/Makefile         | 24 ++++++++++++++++++++++++
 nanogrep/PLIST            |  2 ++
 nanogrep/cargo-depends.mk | 10 ++++++++++
 nanogrep/distinfo         | 38 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 84 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e25d2172a8..d2996c882e 100644
--- a/Makefile
+++ b/Makefile
@@ -2280,6 +2280,7 @@ SUBDIR+=	n2n
 SUBDIR+=	naev
 SUBDIR+=	nag
 SUBDIR+=	nagios-plugin-mysql_health
+SUBDIR+=	nanogrep
 SUBDIR+=	naqsh-ttf
 SUBDIR+=	nary
 SUBDIR+=	natali
diff --git a/nanogrep/DESCR b/nanogrep/DESCR
new file mode 100644
index 0000000000..939902c8f2
--- /dev/null
+++ b/nanogrep/DESCR
@@ -0,0 +1,9 @@
+Custom Implementation of minigrep with more functionality.
+
+Features:
+-Colored Output
+-Case Insensitive
+-Summary
+	-Pattern Occurrence(s)
+	-Line(s)
+-!Regex
diff --git a/nanogrep/Makefile b/nanogrep/Makefile
new file mode 100644
index 0000000000..54953c0468
--- /dev/null
+++ b/nanogrep/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	nanogrep-1.0.10
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Uniminin/}
+GITHUB_PROJECT=	nanogrep
+GITHUB_TAG=	9441de53c3512175ecfd51f262efcf9543ce7815
+
+MAINTAINER=	pin%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Uniminin/nanogrep/
+COMMENT=	Custom Implementation of minigrep with additional functionality
+LICENSE=	mit
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES+=		c # rust, but needs a toolchain to link
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/target/release/ng ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nanogrep/PLIST b/nanogrep/PLIST
new file mode 100644
index 0000000000..9cd5898aef
--- /dev/null
+++ b/nanogrep/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/ng
diff --git a/nanogrep/cargo-depends.mk b/nanogrep/cargo-depends.mk
new file mode 100644
index 0000000000..0af82ea509
--- /dev/null
+++ b/nanogrep/cargo-depends.mk
@@ -0,0 +1,10 @@
+# $NetBSD$
+
+CARGO_CRATE_DEPENDS+=	atty-0.2.14
+CARGO_CRATE_DEPENDS+=	colored-2.0.0
+CARGO_CRATE_DEPENDS+=	hermit-abi-0.1.17
+CARGO_CRATE_DEPENDS+=	lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=	libc-0.2.81
+CARGO_CRATE_DEPENDS+=	winapi-0.3.9
+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/nanogrep/distinfo b/nanogrep/distinfo
new file mode 100644
index 0000000000..6b4c1df1dd
--- /dev/null
+++ b/nanogrep/distinfo
@@ -0,0 +1,38 @@
+$NetBSD$
+
+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 (colored-2.0.0.crate) = 4a1a38a4ee78f4d6b24f572ef57020264d537079
+RMD160 (colored-2.0.0.crate) = f451ffbcfa2c1fab334781c073eb6ab26aebadbb
+SHA512 (colored-2.0.0.crate) = c9ee830c1e8a32372ab8c7ce569701deaa6533fa369fc1b4c04bed57b1e686ed775fc76c3d9815ad21ee69cfc7c30d645abcbacad39081c7e37ff83ebb6d9e8a
+Size (colored-2.0.0.crate) = 21619 bytes
+SHA1 (hermit-abi-0.1.17.crate) = dac07f2f3e119da4e237e8a45ee9985900607981
+RMD160 (hermit-abi-0.1.17.crate) = 4c7979c8827da2635a513ecb62672444103dad37
+SHA512 (hermit-abi-0.1.17.crate) = 1ed4688f2cc1f1d5ba2f7637e2a9dc230712ce8907e1fa3d95ae374cd4b67a325138a98f2a524cb03f99625775057aa0370f480a73ab20485f0456e2f108baf2
+Size (hermit-abi-0.1.17.crate) = 10065 bytes
+SHA1 (lazy_static-1.4.0.crate) = 3e8852a6967dc257753fe75a13112a04bc03dfc0
+RMD160 (lazy_static-1.4.0.crate) = 6c74661c140113ff3b1d660bba095259398bbb55
+SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+Size (lazy_static-1.4.0.crate) = 10443 bytes
+SHA1 (libc-0.2.81.crate) = 8d6f5d89abfb190dd125cb1b5115a3a11b56fb69
+RMD160 (libc-0.2.81.crate) = fb89b9a4c7c2ae750bd27a473942f20602f5e09d
+SHA512 (libc-0.2.81.crate) = 8e121e0dcbd8218e02c2c6536ef6398cd002a92406d433c39bf84576e9b881c5b8a66fee826da6a6189f44b825f3a9d959075eeb0501d7f604bf9cc1a8b8d437
+Size (libc-0.2.81.crate) = 513105 bytes
+SHA1 (nanogrep-1.0.10-9441de53c3512175ecfd51f262efcf9543ce7815.tar.gz) = dcbbef7ebb888c660a26cc4bf942849e968cbcad
+RMD160 (nanogrep-1.0.10-9441de53c3512175ecfd51f262efcf9543ce7815.tar.gz) = 9586a170a4c08d8e02150413275dc945b88ce674
+SHA512 (nanogrep-1.0.10-9441de53c3512175ecfd51f262efcf9543ce7815.tar.gz) = 16023b6754d17b24a2fa18c6fc81354cc5e46c0272f1f7cabb7a569ae94a242d7d3379617f0a2056761da016a1e1e7a887b2d74c71946bdd4d32be2ba4ac90fc
+Size (nanogrep-1.0.10-9441de53c3512175ecfd51f262efcf9543ce7815.tar.gz) = 56177 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-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