pkgsrc-WIP-changes archive

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

go-cyclo-0.3.1 import to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Tue Dec 29 01:19:27 2020 +0100
Changeset:	a2332e27c87fdfc730f04702732990d7138427db

Modified Files:
	Makefile
Added Files:
	go-cyclo/DESCR
	go-cyclo/Makefile
	go-cyclo/PLIST
	go-cyclo/distinfo

Log Message:
go-cyclo-0.3.1 import to wip

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

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

diffstat:
 Makefile          |  1 +
 go-cyclo/DESCR    |  1 +
 go-cyclo/Makefile | 18 ++++++++++++++++++
 go-cyclo/PLIST    | 26 ++++++++++++++++++++++++++
 go-cyclo/distinfo |  6 ++++++
 5 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ef07f166c7..11a474f5b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1173,6 +1173,7 @@ SUBDIR+=	go-bindata
 SUBDIR+=	go-circbuf
 SUBDIR+=	go-collectd
 SUBDIR+=	go-color
+SUBDIR+=	go-cyclo
 SUBDIR+=	go-dotenv
 SUBDIR+=	go-flags
 SUBDIR+=	go-fsnotify
diff --git a/go-cyclo/DESCR b/go-cyclo/DESCR
new file mode 100644
index 0000000000..e9b16624f8
--- /dev/null
+++ b/go-cyclo/DESCR
@@ -0,0 +1 @@
+Gocyclo calculates cyclomatic complexities of functions in Go source code.
diff --git a/go-cyclo/Makefile b/go-cyclo/Makefile
new file mode 100644
index 0000000000..6ce34fca29
--- /dev/null
+++ b/go-cyclo/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-cyclo-0.3.1
+GITHUB_PROJECT=	gocyclo
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=fzipp/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/fzipp/gocyclo/
+COMMENT=	Calculate cyclomatic complexities of functions in Go source code
+LICENSE=	2-clause-bsd
+
+GO_SRCPATH=     github.com/fzipp/gocyclo
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-cyclo/PLIST b/go-cyclo/PLIST
new file mode 100644
index 0000000000..74a74349a8
--- /dev/null
+++ b/go-cyclo/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+bin/gocyclo
+gopkg/pkg/${GO_PLATFORM}/github.com/fzipp/gocyclo.a
+gopkg/src/github.com/fzipp/gocyclo/CHANGELOG.md
+gopkg/src/github.com/fzipp/gocyclo/CONTRIBUTORS
+gopkg/src/github.com/fzipp/gocyclo/LICENSE
+gopkg/src/github.com/fzipp/gocyclo/README.md
+gopkg/src/github.com/fzipp/gocyclo/analyze.go
+gopkg/src/github.com/fzipp/gocyclo/analyze_test.go
+gopkg/src/github.com/fzipp/gocyclo/cmd/gocyclo/main.go
+gopkg/src/github.com/fzipp/gocyclo/complexity.go
+gopkg/src/github.com/fzipp/gocyclo/directives.go
+gopkg/src/github.com/fzipp/gocyclo/go.mod
+gopkg/src/github.com/fzipp/gocyclo/stats.go
+gopkg/src/github.com/fzipp/gocyclo/stats_test.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/cases.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/comms.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/directory/file1.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/directory/file2.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/directory/file3.nogo
+gopkg/src/github.com/fzipp/gocyclo/testdata/ifs.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/ignores.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/literals.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/loops.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/methods.go
+gopkg/src/github.com/fzipp/gocyclo/testdata/operators.go
diff --git a/go-cyclo/distinfo b/go-cyclo/distinfo
new file mode 100644
index 0000000000..dd33e38ce6
--- /dev/null
+++ b/go-cyclo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-cyclo-0.3.1.tar.gz) = 29e49a42d4a150c2f1de418a2620b2b622f33477
+RMD160 (go-cyclo-0.3.1.tar.gz) = 58fa9b8dd0a7017f70bd59a0df64854008781823
+SHA512 (go-cyclo-0.3.1.tar.gz) = 5a2e76ec991bea5bd0b148507a1668eb8cc5e0ececb2a1c1ece9ce5e5fe8ef90984c17986e94de8a7759417eb62ba66ecff95156ee3fd9e0b279ac41630d396d
+Size (go-cyclo-0.3.1.tar.gz) = 8024 bytes


Home | Main Index | Thread Index | Old Index