pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/go-afero
Module Name: pkgsrc
Committed By: gavan
Date: Thu Aug 17 01:13:32 UTC 2017
Added Files:
pkgsrc/devel/go-afero: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Add go-afero package
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-afero/DESCR \
pkgsrc/devel/go-afero/Makefile pkgsrc/devel/go-afero/PLIST \
pkgsrc/devel/go-afero/buildlink3.mk pkgsrc/devel/go-afero/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/go-afero/DESCR
diff -u /dev/null pkgsrc/devel/go-afero/DESCR:1.1
--- /dev/null Thu Aug 17 01:13:32 2017
+++ pkgsrc/devel/go-afero/DESCR Thu Aug 17 01:13:32 2017
@@ -0,0 +1,7 @@
+Afero is an filesystem framework providing a simple, uniform and universal API interacting with any filesystem, as an abstraction layer providing interfaces, types and methods. Afero has an
exceptionally clean interface and simple design without needless constructors or initialization methods.
+
+Afero is also a library providing a base set of interoperable backend filesystems that make it easy to work with afero while retaining all the power and benefit of the os and ioutil packages.
+
+Afero provides significant improvements over using the os package alone, most notably the ability to create mock and testing filesystems without relying on the disk.
+
+It is suitable for use in a any situation where you would consider using the OS package as it provides an additional abstraction that makes it easy to use a memory backed file system during testing.
It also adds support for the http filesystem for full interoperability.
Index: pkgsrc/devel/go-afero/Makefile
diff -u /dev/null pkgsrc/devel/go-afero/Makefile:1.1
--- /dev/null Thu Aug 17 01:13:32 2017
+++ pkgsrc/devel/go-afero/Makefile Thu Aug 17 01:13:32 2017
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:13:32 gavan Exp $
+
+DISTNAME= afero-0.0.20160605
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=spf13/}
+CATEGORIES= devel
+GITHUB_TAG= 1a8ecf8b9da1fb5306e149e83128fc447957d2a8
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/spf13/afero
+COMMENT= A FileSystem Abstraction System for Go
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/spf13/afero
+
+.include "../../textproc/go-text/buildlink3.mk"
+.include "../../security/go-sftp/buildlink3.mk"
+.include "../../devel/go-fs/buildlink3.mk"
+.include "../../devel/go-errors/buildlink3.mk"
+.include "../../security/go-crypto/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
Index: pkgsrc/devel/go-afero/PLIST
diff -u /dev/null pkgsrc/devel/go-afero/PLIST:1.1
--- /dev/null Thu Aug 17 01:13:32 2017
+++ pkgsrc/devel/go-afero/PLIST Thu Aug 17 01:13:32 2017
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:13:32 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/afero.a
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/afero/mem.a
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/afero/sftp.a
+gopkg/src/github.com/spf13/afero/LICENSE.txt
+gopkg/src/github.com/spf13/afero/README.md
+gopkg/src/github.com/spf13/afero/afero.go
+gopkg/src/github.com/spf13/afero/afero_test.go
+gopkg/src/github.com/spf13/afero/appveyor.yml
+gopkg/src/github.com/spf13/afero/basepath.go
+gopkg/src/github.com/spf13/afero/basepath_test.go
+gopkg/src/github.com/spf13/afero/cacheOnReadFs.go
+gopkg/src/github.com/spf13/afero/composite_test.go
+gopkg/src/github.com/spf13/afero/const_bsds.go
+gopkg/src/github.com/spf13/afero/const_win_unix.go
+gopkg/src/github.com/spf13/afero/copyOnWriteFs.go
+gopkg/src/github.com/spf13/afero/copyOnWriteFs_test.go
+gopkg/src/github.com/spf13/afero/httpFs.go
+gopkg/src/github.com/spf13/afero/ioutil.go
+gopkg/src/github.com/spf13/afero/ioutil_test.go
+gopkg/src/github.com/spf13/afero/mem/dir.go
+gopkg/src/github.com/spf13/afero/mem/dirmap.go
+gopkg/src/github.com/spf13/afero/mem/file.go
+gopkg/src/github.com/spf13/afero/memmap.go
+gopkg/src/github.com/spf13/afero/memmap_test.go
+gopkg/src/github.com/spf13/afero/memradix.go
+gopkg/src/github.com/spf13/afero/os.go
+gopkg/src/github.com/spf13/afero/path.go
+gopkg/src/github.com/spf13/afero/path_test.go
+gopkg/src/github.com/spf13/afero/readonlyfs.go
+gopkg/src/github.com/spf13/afero/regexpfs.go
+gopkg/src/github.com/spf13/afero/ro_regexp_test.go
+gopkg/src/github.com/spf13/afero/sftp.go
+gopkg/src/github.com/spf13/afero/sftp/file.go
+gopkg/src/github.com/spf13/afero/sftp_test_go
+gopkg/src/github.com/spf13/afero/unionFile.go
+gopkg/src/github.com/spf13/afero/util.go
+gopkg/src/github.com/spf13/afero/util_test.go
+@pkgdir bin
Index: pkgsrc/devel/go-afero/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-afero/buildlink3.mk:1.1
--- /dev/null Thu Aug 17 01:13:32 2017
+++ pkgsrc/devel/go-afero/buildlink3.mk Thu Aug 17 01:13:32 2017
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:13:32 gavan Exp $
+
+BUILDLINK_TREE+= go-afero
+
+.if !defined(GO_AFERO_BUILDLINK3_MK)
+GO_AFERO_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-afero= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-afero?= build
+
+BUILDLINK_API_DEPENDS.go-afero+= go-afero>=0.0
+BUILDLINK_PKGSRCDIR.go-afero?= ../../devel/go-afero
+
+.include "../../textproc/go-text/buildlink3.mk"
+.include "../../security/go-sftp/buildlink3.mk"
+.include "../../devel/go-fs/buildlink3.mk"
+.include "../../devel/go-errors/buildlink3.mk"
+.include "../../security/go-crypto/buildlink3.mk"
+.endif # GO_AFERO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-afero
+
Index: pkgsrc/devel/go-afero/distinfo
diff -u /dev/null pkgsrc/devel/go-afero/distinfo:1.1
--- /dev/null Thu Aug 17 01:13:32 2017
+++ pkgsrc/devel/go-afero/distinfo Thu Aug 17 01:13:32 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:13:32 gavan Exp $
+
+SHA1 (afero-0.0.20160605-1a8ecf8b9da1fb5306e149e83128fc447957d2a8.tar.gz) = 6ceab78e7177fda0cea9729876c77fdbae7b690d
+RMD160 (afero-0.0.20160605-1a8ecf8b9da1fb5306e149e83128fc447957d2a8.tar.gz) = 1e6675f5843f998bdd35f5e0b4fac42f11695d0f
+SHA512 (afero-0.0.20160605-1a8ecf8b9da1fb5306e149e83128fc447957d2a8.tar.gz) =
14565b1111fff4f65da25e929da4a3ef5b815e3e7c516449d443d9a19228badb22de56da0e27a20780b7688210610ed2b5fb6b61f102733deaf2dc797bc04bda
+Size (afero-0.0.20160605-1a8ecf8b9da1fb5306e149e83128fc447957d2a8.tar.gz) = 40436 bytes
Home |
Main Index |
Thread Index |
Old Index