pkgsrc-WIP-changes archive

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

go-pgzip import to 1.2.5 wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Mon Dec 28 21:18:19 2020 +0100
Changeset:	37a88e448dce0db06544128a4ba5cf546b60615e

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

Log Message:
go-pgzip import to 1.2.5 wip

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

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

diffstat:
 Makefile               |  1 +
 go-pgzip/DESCR         |  7 +++++++
 go-pgzip/Makefile      | 19 +++++++++++++++++++
 go-pgzip/PLIST         | 14 ++++++++++++++
 go-pgzip/buildlink3.mk | 18 ++++++++++++++++++
 go-pgzip/distinfo      |  6 ++++++
 6 files changed, 65 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 408efe4fa2..9998f72d2c 100644
--- a/Makefile
+++ b/Makefile
@@ -1190,6 +1190,7 @@ SUBDIR+=	go-madon
 SUBDIR+=	go-notify
 SUBDIR+=	go-pass
 SUBDIR+=	go-paths-helper
+SUBDIR+=	go-pgzip
 SUBDIR+=	go-properties-map
 SUBDIR+=	go-protobuf-go
 SUBDIR+=	go-rateio
diff --git a/go-pgzip/DESCR b/go-pgzip/DESCR
new file mode 100644
index 0000000000..16ad4527c9
--- /dev/null
+++ b/go-pgzip/DESCR
@@ -0,0 +1,7 @@
+Go parallel gzip compression/decompression. This is a fully gzip
+compatible drop in replacement for "compress/gzip". This will split
+compression into blocks that are compressed in parallel. This can
+be useful for compressing big amounts of data. The gzip decompression
+is modified so it decompresses ahead of the current reader. This means
+that reads will be non-blocking if the decompressor can keep ahead of your
+code reading from it. CRC calculation also takes place in a separate goroutine.
diff --git a/go-pgzip/Makefile b/go-pgzip/Makefile
new file mode 100644
index 0000000000..5eb0ecd943
--- /dev/null
+++ b/go-pgzip/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	pgzip-1.2.5
+PKGNAME=	go-${DISTNAME}
+CATEGORIES=	archivers parallel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=klauspost/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/klauspost/pgzip/
+COMMENT=	Go parallel gzip (de)compression
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/klauspost/pgzip
+GO_DIST_BASE=	${DISTNAME}
+
+.include "../../devel/go-compress/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-pgzip/PLIST b/go-pgzip/PLIST
new file mode 100644
index 0000000000..388fd0322a
--- /dev/null
+++ b/go-pgzip/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/klauspost/pgzip.a
+gopkg/src/github.com/klauspost/pgzip/GO_LICENSE
+gopkg/src/github.com/klauspost/pgzip/LICENSE
+gopkg/src/github.com/klauspost/pgzip/README.md
+gopkg/src/github.com/klauspost/pgzip/gunzip.go
+gopkg/src/github.com/klauspost/pgzip/gunzip_test.go
+gopkg/src/github.com/klauspost/pgzip/gzip.go
+gopkg/src/github.com/klauspost/pgzip/gzip_norace_test.go
+gopkg/src/github.com/klauspost/pgzip/gzip_test.go
+gopkg/src/github.com/klauspost/pgzip/gzip_unreliable_test.go
+gopkg/src/github.com/klauspost/pgzip/testdata/bigempty.gz
+gopkg/src/github.com/klauspost/pgzip/testdata/issue6550.gz
+gopkg/src/github.com/klauspost/pgzip/testdata/test.json
diff --git a/go-pgzip/buildlink3.mk b/go-pgzip/buildlink3.mk
new file mode 100644
index 0000000000..be18d8375d
--- /dev/null
+++ b/go-pgzip/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-pgzip
+
+.if !defined(GO_PGZIP_BUILDLINK3_MK)
+GO_PGZIP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-pgzip=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-pgzip?=		build
+
+BUILDLINK_API_DEPENDS.go-pgzip+=	go-pgzip>=1.2.5
+BUILDLINK_PKGSRCDIR.go-pgzip?=	../../wip/go-pgzip
+
+
+.include "../../devel/go-compress/buildlink3.mk"
+.endif	# GO_PGZIP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-pgzip
diff --git a/go-pgzip/distinfo b/go-pgzip/distinfo
new file mode 100644
index 0000000000..3840532aaa
--- /dev/null
+++ b/go-pgzip/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (pgzip-1.2.5.tar.gz) = cdb3897d564c2b37870b43b376991cc14dd9f97c
+RMD160 (pgzip-1.2.5.tar.gz) = b07ea5c18eebfe26516ad39358006949d5a33b5c
+SHA512 (pgzip-1.2.5.tar.gz) = b41d098dbe72f8fb7d8c11bf0cb581868656535942a35cbe4348761cb0c725bdae5e77b0bb666c1d56a07b57d66f6f4d42109927c321ed1007f5f92945a7ca61
+Size (pgzip-1.2.5.tar.gz) = 125923 bytes


Home | Main Index | Thread Index | Old Index