pkgsrc-WIP-changes archive

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

Import go-semver-3.1.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Thu Jan 21 15:44:33 2021 +0100
Changeset:	b31186394e3c7fce4dbfd5f61eaf82e700152d81

Modified Files:
	Makefile
Added Files:
	go-semver/DESCR
	go-semver/Makefile
	go-semver/PLIST
	go-semver/buildlink3.mk
	go-semver/distinfo

Log Message:
Import go-semver-3.1.1 to wip

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

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

diffstat:
 Makefile                |  1 +
 go-semver/DESCR         |  2 ++
 go-semver/Makefile      | 18 ++++++++++++++++++
 go-semver/PLIST         | 16 ++++++++++++++++
 go-semver/buildlink3.mk | 15 +++++++++++++++
 go-semver/distinfo      |  6 ++++++
 6 files changed, 58 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e3aeaadf5e..e625125795 100644
--- a/Makefile
+++ b/Makefile
@@ -1282,6 +1282,7 @@ SUBDIR+=	go-rest
 SUBDIR+=	go-resty
 SUBDIR+=	go-riff
 SUBDIR+=	go-rsrc
+SUBDIR+=	go-semver
 SUBDIR+=	go-stack
 SUBDIR+=	go-streamquote
 SUBDIR+=	go-stripansi
diff --git a/go-semver/DESCR b/go-semver/DESCR
new file mode 100644
index 0000000000..194ea41596
--- /dev/null
+++ b/go-semver/DESCR
@@ -0,0 +1,2 @@
+The semver package provides the ability
+to work with Semantic Versions in Go
diff --git a/go-semver/Makefile b/go-semver/Makefile
new file mode 100644
index 0000000000..d0ef5e9ea5
--- /dev/null
+++ b/go-semver/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-semver-3.1.1
+GITHUB_PROJECT=	semver
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Masterminds/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/Masterminds/semver/
+COMMENT=	Work with Semantic Versions in Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/Masterminds/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-semver/PLIST b/go-semver/PLIST
new file mode 100644
index 0000000000..6668657c4a
--- /dev/null
+++ b/go-semver/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/Masterminds/semver.a
+gopkg/src/github.com/Masterminds/semver/CHANGELOG.md
+gopkg/src/github.com/Masterminds/semver/LICENSE.txt
+gopkg/src/github.com/Masterminds/semver/Makefile
+gopkg/src/github.com/Masterminds/semver/README.md
+gopkg/src/github.com/Masterminds/semver/benchmark_test.go
+gopkg/src/github.com/Masterminds/semver/collection.go
+gopkg/src/github.com/Masterminds/semver/collection_test.go
+gopkg/src/github.com/Masterminds/semver/constraints.go
+gopkg/src/github.com/Masterminds/semver/constraints_test.go
+gopkg/src/github.com/Masterminds/semver/doc.go
+gopkg/src/github.com/Masterminds/semver/fuzz.go
+gopkg/src/github.com/Masterminds/semver/go.mod
+gopkg/src/github.com/Masterminds/semver/version.go
+gopkg/src/github.com/Masterminds/semver/version_test.go
diff --git a/go-semver/buildlink3.mk b/go-semver/buildlink3.mk
new file mode 100644
index 0000000000..f655bddd7d
--- /dev/null
+++ b/go-semver/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-semver
+
+.if !defined(GO_SEMVER_BUILDLINK3_MK)
+GO_SEMVER_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-semver=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-semver?=		build
+
+BUILDLINK_API_DEPENDS.go-semver+=	go-semver>=3.1.1
+BUILDLINK_PKGSRCDIR.go-semver?=		../../wip/go-semver
+.endif	# GO_SEMVER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-semver
diff --git a/go-semver/distinfo b/go-semver/distinfo
new file mode 100644
index 0000000000..abfbc462aa
--- /dev/null
+++ b/go-semver/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-semver-3.1.1.tar.gz) = 76eef1f70870c3cc43fc0e1b01371895d15eb7a6
+RMD160 (go-semver-3.1.1.tar.gz) = 999451d1e5d1a96ed38e16264524b445e124547b
+SHA512 (go-semver-3.1.1.tar.gz) = 6968f14e85d7cd2cc256cf245a6f583d67916d821231c362f4027da144abdc0b5ae9157eeeb9f887e2f6cbd8d5e646d4d2ffa10867eb87aa6123fde36171127a
+Size (go-semver-3.1.1.tar.gz) = 24506 bytes


Home | Main Index | Thread Index | Old Index