pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: nikita
Date: Mon Apr 27 16:31:22 UTC 2020
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/go-levenshtein: DESCR Makefile PLIST buildlink3.mk
distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3111 -r1.3112 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-levenshtein/DESCR \
pkgsrc/devel/go-levenshtein/Makefile pkgsrc/devel/go-levenshtein/PLIST \
pkgsrc/devel/go-levenshtein/buildlink3.mk \
pkgsrc/devel/go-levenshtein/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3111 pkgsrc/devel/Makefile:1.3112
--- pkgsrc/devel/Makefile:1.3111 Mon Apr 27 15:42:20 2020
+++ pkgsrc/devel/Makefile Mon Apr 27 16:31:22 2020
@@ -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-isatty
SUBDIR+= go-jwalterweatherman
SUBDIR+= go-jwt-go
SUBDIR+= go-kingpin.v3-unstable
+SUBDIR+= go-levenshtein
SUBDIR+= go-locker
SUBDIR+= go-logrus
SUBDIR+= go-mapstructure
Added files:
Index: pkgsrc/devel/go-levenshtein/DESCR
diff -u /dev/null pkgsrc/devel/go-levenshtein/DESCR:1.1
--- /dev/null Mon Apr 27 16:31:22 2020
+++ pkgsrc/devel/go-levenshtein/DESCR Mon Apr 27 16:31:22 2020
@@ -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.
Index: pkgsrc/devel/go-levenshtein/Makefile
diff -u /dev/null pkgsrc/devel/go-levenshtein/Makefile:1.1
--- /dev/null Mon Apr 27 16:31:22 2020
+++ pkgsrc/devel/go-levenshtein/Makefile Mon Apr 27 16:31:22 2020
@@ -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"
Index: pkgsrc/devel/go-levenshtein/PLIST
diff -u /dev/null pkgsrc/devel/go-levenshtein/PLIST:1.1
--- /dev/null Mon Apr 27 16:31:22 2020
+++ pkgsrc/devel/go-levenshtein/PLIST Mon Apr 27 16:31:22 2020
@@ -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
Index: pkgsrc/devel/go-levenshtein/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-levenshtein/buildlink3.mk:1.1
--- /dev/null Mon Apr 27 16:31:22 2020
+++ pkgsrc/devel/go-levenshtein/buildlink3.mk Mon Apr 27 16:31:22 2020
@@ -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
Index: pkgsrc/devel/go-levenshtein/distinfo
diff -u /dev/null pkgsrc/devel/go-levenshtein/distinfo:1.1
--- /dev/null Mon Apr 27 16:31:22 2020
+++ pkgsrc/devel/go-levenshtein/distinfo Mon Apr 27 16:31:22 2020
@@ -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