pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel go-homedir: remove



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b74016780433
branches:  trunk
changeset: 455512:b74016780433
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jul 05 14:39:58 2021 +0000

description:
go-homedir: remove

deprecated go-package; no users in pkgsrc

diffstat:

 devel/Makefile                 |   3 +--
 devel/go-homedir/DESCR         |  12 ------------
 devel/go-homedir/Makefile      |  18 ------------------
 devel/go-homedir/PLIST         |   8 --------
 devel/go-homedir/buildlink3.mk |  16 ----------------
 devel/go-homedir/distinfo      |   6 ------
 6 files changed, 1 insertions(+), 62 deletions(-)

diffs (97 lines):

diff -r b56f40f54c3d -r b74016780433 devel/Makefile
--- a/devel/Makefile    Mon Jul 05 14:38:58 2021 +0000
+++ b/devel/Makefile    Mon Jul 05 14:39:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3447 2021/07/05 14:38:58 nia Exp $
+# $NetBSD: Makefile,v 1.3448 2021/07/05 14:39:58 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -426,7 +426,6 @@
 SUBDIR+=       go-goptlib
 SUBDIR+=       go-goreturns
 SUBDIR+=       go-gox
-SUBDIR+=       go-homedir
 SUBDIR+=       go-humanize
 SUBDIR+=       go-ini
 SUBDIR+=       go-iochan
diff -r b56f40f54c3d -r b74016780433 devel/go-homedir/DESCR
--- a/devel/go-homedir/DESCR    Mon Jul 05 14:38:58 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-This is a Go library for detecting the user's home directory without the use of
-cgo, so the library can be used in cross-compilation environments.
-
-Usage is incredibly simple, just call homedir.Dir() to get the home directory
-for a user, and homedir.Expand() to expand the ~ in a path to the home
-directory.
-
-Why not just use os/user? The built-in os/user package requires cgo on Darwin
-systems. This means that any Go code that uses that package cannot cross
-compile. But 99% of the time the use for os/user is just to retrieve the home
-directory, which we can do for the current user without cgo. This library does
-that, enabling cross-compilation.
diff -r b56f40f54c3d -r b74016780433 devel/go-homedir/Makefile
--- a/devel/go-homedir/Makefile Mon Jul 05 14:38:58 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# $NetBSD: Makefile,v 1.33 2021/06/06 12:18:46 bsiegert Exp $
-
-DISTNAME=      go-homedir-1.0.0
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=mitchellh/}
-PKGREVISION=   26
-CATEGORIES=    devel
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/mitchellh/go-homedir
-COMMENT=       Go library for home directory information
-LICENSE=       mit
-
-GO_DIST_BASE=  ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
-GO_SRCPATH=    github.com/mitchellh/go-homedir
-
-.include "../../lang/go/go-package.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r b56f40f54c3d -r b74016780433 devel/go-homedir/PLIST
--- a/devel/go-homedir/PLIST    Mon Jul 05 14:38:58 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2018/09/02 21:21:25 minskim Exp $
-gopkg/pkg/${GO_PLATFORM}/github.com/mitchellh/go-homedir.a
-gopkg/src/github.com/mitchellh/go-homedir/LICENSE
-gopkg/src/github.com/mitchellh/go-homedir/README.md
-gopkg/src/github.com/mitchellh/go-homedir/go.mod
-gopkg/src/github.com/mitchellh/go-homedir/homedir.go
-gopkg/src/github.com/mitchellh/go-homedir/homedir_test.go
-@pkgdir bin
diff -r b56f40f54c3d -r b74016780433 devel/go-homedir/buildlink3.mk
--- a/devel/go-homedir/buildlink3.mk    Mon Jul 05 14:38:58 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.3 2018/01/07 13:04:01 rillig Exp $
-
-BUILDLINK_TREE+=       go-homedir
-
-.if !defined(GO_HOMEDIR_BUILDLINK3_MK)
-GO_HOMEDIR_BUILDLINK3_MK:=
-
-BUILDLINK_CONTENTS_FILTER.go-homedir=  ${EGREP} gopkg/
-BUILDLINK_DEPMETHOD.go-homedir?=       build
-
-BUILDLINK_API_DEPENDS.go-homedir+=             go-homedir>=0.0
-BUILDLINK_PKGSRCDIR.go-homedir?=               ../../devel/go-homedir
-
-.endif  # GO_HOMEDIR_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -go-homedir
diff -r b56f40f54c3d -r b74016780433 devel/go-homedir/distinfo
--- a/devel/go-homedir/distinfo Mon Jul 05 14:38:58 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2018/09/02 21:21:25 minskim Exp $
-
-SHA1 (go-homedir-1.0.0.tar.gz) = 9f1c903ca7aa50fed59c363231a7b01f201f5b9c
-RMD160 (go-homedir-1.0.0.tar.gz) = 7a8a9c1c3eec45b08f17b3d518d95560ab4316e0
-SHA512 (go-homedir-1.0.0.tar.gz) = f908d9e7c65f04303a3b341135afab59a87faac3e991cb03b232e155ee35c6bb319d16a25b09c4831bf4eb708a0600e673852a1aae1cfbb04ca23e4e12a44243
-Size (go-homedir-1.0.0.tar.gz) = 3247 bytes



Home | Main Index | Thread Index | Old Index