pkgsrc-WIP-changes archive

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

Import go-timego-20181230



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 12 09:58:40 2021 +0100
Changeset:	b2c9fe09ebf1e4b4c0f5444e01166c1d82e562b6

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

Log Message:
Import go-timego-20181230

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

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

diffstat:
 Makefile                |  1 +
 go-timego/DESCR         |  1 +
 go-timego/Makefile      | 19 +++++++++++++++++++
 go-timego/PLIST         |  6 ++++++
 go-timego/buildlink3.mk | 15 +++++++++++++++
 go-timego/distinfo      |  6 ++++++
 6 files changed, 48 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 573944c147..433001bb97 100644
--- a/Makefile
+++ b/Makefile
@@ -1247,6 +1247,7 @@ SUBDIR+=	go-stack
 SUBDIR+=	go-stripansi
 SUBDIR+=	go-structs
 SUBDIR+=	go-tiff
+SUBDIR+=	go-timego
 SUBDIR+=	go-transcoder
 SUBDIR+=	go-trie
 SUBDIR+=	go-upspin
diff --git a/go-timego/DESCR b/go-timego/DESCR
new file mode 100644
index 0000000000..36e27f3a0f
--- /dev/null
+++ b/go-timego/DESCR
@@ -0,0 +1 @@
+Go package for time formating based on current time
diff --git a/go-timego/Makefile b/go-timego/Makefile
new file mode 100644
index 0000000000..3abe6ee37c
--- /dev/null
+++ b/go-timego/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	timego-20181230
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	timeago
+GITHUB_TAG=	4e7d8c1f9a433881f64a7f87f51e494186857982
+CATEGORIES=	time
+MASTER_SITES=	${MASTER_SITE_GITHUB:=xeonx/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/xeonx/timeago/
+COMMENT=	Go package for time formating based on current time
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/xeonx/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-timego/PLIST b/go-timego/PLIST
new file mode 100644
index 0000000000..bbb814aee0
--- /dev/null
+++ b/go-timego/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/xeonx/timeago.a
+gopkg/src/github.com/xeonx/timeago/LICENSE
+gopkg/src/github.com/xeonx/timeago/README.md
+gopkg/src/github.com/xeonx/timeago/timeago.go
+gopkg/src/github.com/xeonx/timeago/timeago_test.go
diff --git a/go-timego/buildlink3.mk b/go-timego/buildlink3.mk
new file mode 100644
index 0000000000..1b16f5f04c
--- /dev/null
+++ b/go-timego/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-timego
+
+.if !defined(GO_TIMEGO_BUILDLINK3_MK)
+GO_TIMEGO_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-timego=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-timego?=		build
+
+BUILDLINK_API_DEPENDS.go-timego+=	go-timego>=20181230
+BUILDLINK_PKGSRCDIR.go-timego?=		../../wip/go-timego
+.endif	# GO_TIMEGO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-timego
diff --git a/go-timego/distinfo b/go-timego/distinfo
new file mode 100644
index 0000000000..f416d174b6
--- /dev/null
+++ b/go-timego/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (timego-20181230-4e7d8c1f9a433881f64a7f87f51e494186857982.tar.gz) = ae82cc2f75e8432228ceffc5fb9d6c887af2434e
+RMD160 (timego-20181230-4e7d8c1f9a433881f64a7f87f51e494186857982.tar.gz) = 637921c4e9b42c966dbe9aadeda78878cb9dbdfb
+SHA512 (timego-20181230-4e7d8c1f9a433881f64a7f87f51e494186857982.tar.gz) = 7589393c3bbdb182772ba0ddc0022ef97e05978fb660dff18bbbf400b353d0dc934fdcd90260a9584b83e0fe323ca58411887ee0ab72df44b5a3b64b04fb6e9a
+Size (timego-20181230-4e7d8c1f9a433881f64a7f87f51e494186857982.tar.gz) = 4905 bytes


Home | Main Index | Thread Index | Old Index