pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add devel/go-levenshtein version 1.2.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fad392897d6
branches: trunk
changeset: 428400:2fad392897d6
user: nikita <nikita%pkgsrc.org@localhost>
date: Mon Apr 27 16:31:22 2020 +0000
description:
Add devel/go-levenshtein version 1.2.3
go-levenshtein is a Go package for calculating the Levenshtein
distance between two strings.
This package implements distance and similarity metrics for strings,
based on the Levenshtein measure.
diffstat:
devel/Makefile | 3 ++-
devel/go-levenshtein/DESCR | 5 +++++
devel/go-levenshtein/Makefile | 18 ++++++++++++++++++
devel/go-levenshtein/PLIST | 13 +++++++++++++
devel/go-levenshtein/buildlink3.mk | 16 ++++++++++++++++
devel/go-levenshtein/distinfo | 6 ++++++
6 files changed, 60 insertions(+), 1 deletions(-)
diffs (95 lines):
diff -r ab8b710741bc -r 2fad392897d6 devel/Makefile
--- a/devel/Makefile Mon Apr 27 16:22:19 2020 +0000
+++ b/devel/Makefile Mon Apr 27 16:31:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3111 2020/04/27 15:42:20 nikita Exp $
+# $NetBSD: Makefile,v 1.3112 2020/04/27 16:31:22 nikita Exp $
#
COMMENT= Development utilities
@@ -425,6 +425,7 @@
SUBDIR+= go-jwalterweatherman
SUBDIR+= go-jwt-go
SUBDIR+= go-kingpin.v3-unstable
+SUBDIR+= go-levenshtein
SUBDIR+= go-locker
SUBDIR+= go-logrus
SUBDIR+= go-mapstructure
diff -r ab8b710741bc -r 2fad392897d6 devel/go-levenshtein/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-levenshtein/DESCR Mon Apr 27 16:31:22 2020 +0000
@@ -0,0 +1,5 @@
+go-levenshtein is a Go package for calculating the Levenshtein
+distance between two strings.
+
+This package implements distance and similarity metrics for strings,
+based on the Levenshtein measure.
diff -r ab8b710741bc -r 2fad392897d6 devel/go-levenshtein/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-levenshtein/Makefile Mon Apr 27 16:31:22 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/04/27 16:31:22 nikita Exp $
+
+DISTNAME= go-levenshtein-1.2.3
+MASTER_SITES= ${MASTER_SITE_GITHUB:=agext/}
+CATEGORIES= devel
+GITHUB_PROJECT= levenshtein
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/agext/levenshtein
+COMMENT= Levenshtein distance and similarity metrics
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${DISTNAME:S,go-,,}
+GO_SRCPATH= github.com/agext/levenshtein
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ab8b710741bc -r 2fad392897d6 devel/go-levenshtein/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-levenshtein/PLIST Mon Apr 27 16:31:22 2020 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/27 16:31:22 nikita Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/agext/levenshtein.a
+gopkg/src/github.com/agext/levenshtein/DCO
+gopkg/src/github.com/agext/levenshtein/LICENSE
+gopkg/src/github.com/agext/levenshtein/MAINTAINERS
+gopkg/src/github.com/agext/levenshtein/NOTICE
+gopkg/src/github.com/agext/levenshtein/README.md
+gopkg/src/github.com/agext/levenshtein/go.mod
+gopkg/src/github.com/agext/levenshtein/levenshtein.go
+gopkg/src/github.com/agext/levenshtein/levenshtein_test.go
+gopkg/src/github.com/agext/levenshtein/params.go
+gopkg/src/github.com/agext/levenshtein/params_test.go
+gopkg/src/github.com/agext/levenshtein/test.sh
diff -r ab8b710741bc -r 2fad392897d6 devel/go-levenshtein/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-levenshtein/buildlink3.mk Mon Apr 27 16:31:22 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/04/27 16:31:22 nikita Exp $
+
+BUILDLINK_TREE+= go-levenshtein
+
+.if !defined(GO_LEVENSHTEIN_BUILDLINK3_MK)
+GO_LEVENSHTEIN_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-levenshtein= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-levenshtein?= build
+
+BUILDLINK_API_DEPENDS.go-levenshtein+= go-levenshtein>=1.2.3
+BUILDLINK_PKGSRCDIR.go-levenshtein?= ../../devel/go-levenshtein
+
+.endif # GO_LEVENSHTEIN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-levenshtein
diff -r ab8b710741bc -r 2fad392897d6 devel/go-levenshtein/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-levenshtein/distinfo Mon Apr 27 16:31:22 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/27 16:31:22 nikita Exp $
+
+SHA1 (go-levenshtein-1.2.3.tar.gz) = 635f8637542d26f8f54116b7929bceaac437683a
+RMD160 (go-levenshtein-1.2.3.tar.gz) = 19d9a2761f7c7efa779fe2171c2b259e640b9866
+SHA512 (go-levenshtein-1.2.3.tar.gz) = 5914acc0d15aa2ea516a2c9827cbf52724b5028fc6fe8073304685885c71306e4d8e81a47ddde71758ef352650eb41526fc81be558f280b9a3afb47f7b0ae082
+Size (go-levenshtein-1.2.3.tar.gz) = 13227 bytes
Home |
Main Index |
Thread Index |
Old Index