pkgsrc-WIP-changes archive

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

Import go-bit-20130913 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jan 6 11:43:24 2021 +0100
Changeset:	4c586e4e5be4f9afd267323aeca4d2fedb2ae359

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

Log Message:
Import go-bit-20130913 to wip

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

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

diffstat:
 Makefile             |  1 +
 go-bit/DESCR         |  5 +++++
 go-bit/Makefile      | 18 ++++++++++++++++++
 go-bit/PLIST         |  8 ++++++++
 go-bit/buildlink3.mk | 15 +++++++++++++++
 go-bit/distinfo      |  6 ++++++
 6 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 2e9f9c0e4a..181ed75e8e 100644
--- a/Makefile
+++ b/Makefile
@@ -1172,6 +1172,7 @@ SUBDIR+=	go-amqp
 SUBDIR+=	go-ansi
 SUBDIR+=	go-backoff
 SUBDIR+=	go-bindata
+SUBDIR+=	go-bit
 SUBDIR+=	go-bpool
 SUBDIR+=	go-cascadia
 SUBDIR+=	go-copier
diff --git a/go-bit/DESCR b/go-bit/DESCR
new file mode 100644
index 0000000000..369e5e6d4c
--- /dev/null
+++ b/go-bit/DESCR
@@ -0,0 +1,5 @@
+This package provides a simple bit reader
+that returns different numbers of bits read
+byte-at-a-time from an io.Reader. This can
+be used to easily read awkward-sized big-endian
+numbers from a stream.
diff --git a/go-bit/Makefile b/go-bit/Makefile
new file mode 100644
index 0000000000..78eee7724a
--- /dev/null
+++ b/go-bit/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	bit-20130913
+GITHUB_PROJECT=	bit
+GITHUB_TAG=	7bd5cd37375d2f05b48121d57a0304d339bc56fb
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=eaburns/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/eaburns/bit/
+COMMENT=	Bit stream package for Go
+LICENSE=	mit
+
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=     github.com/eaburns/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-bit/PLIST b/go-bit/PLIST
new file mode 100644
index 0000000000..a0249dba08
--- /dev/null
+++ b/go-bit/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/eaburns/bit.a
+gopkg/src/github.com/eaburns/bit/AUTHORS
+gopkg/src/github.com/eaburns/bit/LICENSE
+gopkg/src/github.com/eaburns/bit/README.md
+gopkg/src/github.com/eaburns/bit/bit.go
+gopkg/src/github.com/eaburns/bit/bit_test.go
+gopkg/src/github.com/eaburns/bit/gok.sh
diff --git a/go-bit/buildlink3.mk b/go-bit/buildlink3.mk
new file mode 100644
index 0000000000..567af56872
--- /dev/null
+++ b/go-bit/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	bit
+
+.if !defined(BIT_BUILDLINK3_MK)
+BIT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.bit=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.bit?=		build
+
+BUILDLINK_API_DEPENDS.bit+=	bit>=20130913
+BUILDLINK_PKGSRCDIR.bit?=	../../wip/go-bit
+.endif	# BIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-bit
diff --git a/go-bit/distinfo b/go-bit/distinfo
new file mode 100644
index 0000000000..610a2a66d0
--- /dev/null
+++ b/go-bit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (bit-20130913-7bd5cd37375d2f05b48121d57a0304d339bc56fb.tar.gz) = 60f29acc077685d09312dcb719e1c376e86ef743
+RMD160 (bit-20130913-7bd5cd37375d2f05b48121d57a0304d339bc56fb.tar.gz) = a1a21789f3ec3f1064ba468df56d44fa30d99973
+SHA512 (bit-20130913-7bd5cd37375d2f05b48121d57a0304d339bc56fb.tar.gz) = b562c9e4f1b562f6460023068c943ccb6364acd14ee3f25dbfc5aa9930b65ae668b3b6ce683526dcdf8ba295e89d20d3b1eac317a889de49014b908dc715df1b
+Size (bit-20130913-7bd5cd37375d2f05b48121d57a0304d339bc56fb.tar.gz) = 3790 bytes


Home | Main Index | Thread Index | Old Index