pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/git-filter-repo devel/git-filter-repo: import gi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e9a97606d01
branches:  trunk
changeset: 441083:6e9a97606d01
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Oct 25 19:31:17 2020 +0000

description:
devel/git-filter-repo: import git-filter-repo-2.29.0

git filter-repo is a versatile tool for rewriting history. It roughly falls
into the same space of tool as git filter-branch but without the
capitulation-inducing poor performance, with far more capabilities, and with
a design that scales usability-wise beyond trivial rewriting cases.
git filter-repo is now recommended by the git project instead of
git filter-branch.

diffstat:

 devel/git-filter-repo/DESCR                  |   6 +++++
 devel/git-filter-repo/Makefile               |  26 ++++++++++++++++++++++
 devel/git-filter-repo/PLIST                  |   3 ++
 devel/git-filter-repo/distinfo               |   7 +++++
 devel/git-filter-repo/patches/patch-Makefile |  33 ++++++++++++++++++++++++++++
 5 files changed, 75 insertions(+), 0 deletions(-)

diffs (95 lines):

diff -r aefa89530c11 -r 6e9a97606d01 devel/git-filter-repo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-filter-repo/DESCR       Sun Oct 25 19:31:17 2020 +0000
@@ -0,0 +1,6 @@
+git filter-repo is a versatile tool for rewriting history. It roughly falls
+into the same space of tool as git filter-branch but without the
+capitulation-inducing poor performance, with far more capabilities, and with
+a design that scales usability-wise beyond trivial rewriting cases.
+git filter-repo is now recommended by the git project instead of
+git filter-branch.
diff -r aefa89530c11 -r 6e9a97606d01 devel/git-filter-repo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-filter-repo/Makefile    Sun Oct 25 19:31:17 2020 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/10/25 19:31:17 tnn Exp $
+
+DISTNAME=      git-filter-repo-2.29.0
+EXTRACT_SUFX=  .tar.xz
+GITHUB_PROJECT=        git-filter-repo
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+GITHUB_TYPE=   release
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=newren/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/newren/git-filter-repo/
+COMMENT=       Tool for rewriting git history
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+USE_TOOLS+=    gmake
+BUILD_TARGET=  build
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+REPLACE_PYTHON+=               git-filter-repo
+
+INSTALLATION_DIRS+=    libexec/git-core ${PKGMANDIR}/man1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aefa89530c11 -r 6e9a97606d01 devel/git-filter-repo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-filter-repo/PLIST       Sun Oct 25 19:31:17 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/10/25 19:31:17 tnn Exp $
+libexec/git-core/git-filter-repo
+man/man1/git-filter-repo.1
diff -r aefa89530c11 -r 6e9a97606d01 devel/git-filter-repo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-filter-repo/distinfo    Sun Oct 25 19:31:17 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/10/25 19:31:17 tnn Exp $
+
+SHA1 (git-filter-repo-2.29.0.tar.xz) = 6f9bf4d7d85dad1aa83f7be258a49369873645c1
+RMD160 (git-filter-repo-2.29.0.tar.xz) = 98547d24c6c51838bc321f742c1ae76ea58df2f8
+SHA512 (git-filter-repo-2.29.0.tar.xz) = 6ce9cabd32ca2c6238ab0cababd5d2656f8a305da7d415c86d43dbe46934297ad6774d4e8d7f1d655dccc3b674f6e824061a009d52cd69deddb6c7c5161d0841
+Size (git-filter-repo-2.29.0.tar.xz) = 145612 bytes
+SHA1 (patch-Makefile) = 288cb9f2ea4cbd1c57d36f5942008e19e3ff8228
diff -r aefa89530c11 -r 6e9a97606d01 devel/git-filter-repo/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-filter-repo/patches/patch-Makefile      Sun Oct 25 19:31:17 2020 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-Makefile,v 1.1 2020/10/25 19:31:17 tnn Exp $
+
+install fixup for pkgsrc
+
+--- Makefile.orig      2020-10-19 19:01:00.000000000 +0000
++++ Makefile
+@@ -1,9 +1,9 @@
+ # A bunch of installation-related paths people can override on the command line
+-prefix = $(HOME)
+-bindir = $(prefix)/libexec/git-core
+-localedir = $(prefix)/share/locale
+-mandir = $(prefix)/share/man
+-htmldir = $(prefix)/share/doc/git-doc
++prefix = ${PREFIX}
++bindir = ${DESTDIR}$(prefix)/libexec/git-core
++localedir = ${DESTDIR}$(prefix)/share/locale
++mandir = ${DESTDIR}$(prefix)/${PKGMANDIR}
++htmldir = ${DESTDIR}$(prefix)/share/doc/git-doc
+ pythondir = $(prefix)/lib64/python3.6/site-packages
+ 
+ default: build
+@@ -35,9 +35,9 @@ Documentation/html/git-filter-repo.html:
+ 
+ install: snag_docs #fixup_locale
+       cp -a git-filter-repo "$(bindir)/"
+-      ln -sf "$(bindir)/git-filter-repo" "$(pythondir)/git_filter_repo.py"
++      #ln -sf "$(bindir)/git-filter-repo" "$(pythondir)/git_filter_repo.py"
+       cp -a Documentation/man1/git-filter-repo.1 "$(mandir)/man1/git-filter-repo.1"
+-      cp -a Documentation/html/git-filter-repo.html "$(htmldir)/git-filter-repo.html"
++      #cp -a Documentation/html/git-filter-repo.html "$(htmldir)/git-filter-repo.html"
+ 
+ 
+ #



Home | Main Index | Thread Index | Old Index