pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import go-stripansi-20180116 to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Sat Jan 9 21:53:32 2021 +0100
Changeset: cde73d61ccca859cad99e2c6229e78433726659b
Modified Files:
Makefile
Added Files:
go-stripansi/DESCR
go-stripansi/Makefile
go-stripansi/PLIST
go-stripansi/buildlink3.mk
go-stripansi/distinfo
Log Message:
Import go-stripansi-20180116 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cde73d61ccca859cad99e2c6229e78433726659b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-stripansi/DESCR | 5 +++++
go-stripansi/Makefile | 19 +++++++++++++++++++
go-stripansi/PLIST | 5 +++++
go-stripansi/buildlink3.mk | 15 +++++++++++++++
go-stripansi/distinfo | 6 ++++++
6 files changed, 51 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 75aef2a1d9..5bdd99bba1 100644
--- a/Makefile
+++ b/Makefile
@@ -1230,6 +1230,7 @@ SUBDIR+= go-raymond
SUBDIR+= go-rest
SUBDIR+= go-resty
SUBDIR+= go-riff
+SUBDIR+= go-stripansi
SUBDIR+= go-structs
SUBDIR+= go-tiff
SUBDIR+= go-transcoder
diff --git a/go-stripansi/DESCR b/go-stripansi/DESCR
new file mode 100644
index 0000000000..0d6c7d43e1
--- /dev/null
+++ b/go-stripansi/DESCR
@@ -0,0 +1,5 @@
+This Go package removes ANSI escape codes from strings.
+Ideally, we would prevent these from appearing in any
+text we want to process. However, sometimes this can't
+be helped, and we need to be able to deal with that noise.
+This will use a regexp to remove those unwanted escape codes.
diff --git a/go-stripansi/Makefile b/go-stripansi/Makefile
new file mode 100644
index 0000000000..2676940301
--- /dev/null
+++ b/go-stripansi/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= stripansi-20180116
+PKGNAME= go-${DISTNAME}
+GITHUB_PROJECT= stripansi
+GITHUB_TAG= 5a71ef0e047df0427e87a79f27009029921f1f9b
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=acarl005/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/acarl005/stripansi/
+COMMENT= Go package for removing ANSI color escape codes from strings
+LICENSE= mit
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/acarl005/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-stripansi/PLIST b/go-stripansi/PLIST
new file mode 100644
index 0000000000..579e36c3ce
--- /dev/null
+++ b/go-stripansi/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/acarl005/stripansi.a
+gopkg/src/github.com/acarl005/stripansi/LICENSE
+gopkg/src/github.com/acarl005/stripansi/README.md
+gopkg/src/github.com/acarl005/stripansi/stripansi.go
diff --git a/go-stripansi/buildlink3.mk b/go-stripansi/buildlink3.mk
new file mode 100644
index 0000000000..09e565edf7
--- /dev/null
+++ b/go-stripansi/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-stripansi
+
+.if !defined(GO_STRIPANSI_BUILDLINK3_MK)
+GO_STRIPANSI_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-stripansi= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-stripansi?= build
+
+BUILDLINK_API_DEPENDS.go-stripansi+= go-stripansi>=20180116
+BUILDLINK_PKGSRCDIR.go-stripansi?= ../../wip/go-stripansi
+.endif # GO_STRIPANSI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-stripansi
diff --git a/go-stripansi/distinfo b/go-stripansi/distinfo
new file mode 100644
index 0000000000..297da66d0b
--- /dev/null
+++ b/go-stripansi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (stripansi-20180116-5a71ef0e047df0427e87a79f27009029921f1f9b.tar.gz) = 741e6023b7414fe590d201b73fb7d56b81ff7d0d
+RMD160 (stripansi-20180116-5a71ef0e047df0427e87a79f27009029921f1f9b.tar.gz) = d91766b98b79e8145030f41c5eadf53dd43034fb
+SHA512 (stripansi-20180116-5a71ef0e047df0427e87a79f27009029921f1f9b.tar.gz) = 582b10e2275a15546b8b76140d92223164ee8d207c89a2b2560426e15b1d288998decd3b61bb2942e784a027f885f759313234d13221b08a6a8e08bc8459c1d2
+Size (stripansi-20180116-5a71ef0e047df0427e87a79f27009029921f1f9b.tar.gz) = 1476 bytes
Home |
Main Index |
Thread Index |
Old Index