pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/git-filter-repo



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Oct 25 19:31:17 UTC 2020

Added Files:
        pkgsrc/devel/git-filter-repo: DESCR Makefile PLIST distinfo
        pkgsrc/devel/git-filter-repo/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/git-filter-repo/DESCR \
    pkgsrc/devel/git-filter-repo/Makefile pkgsrc/devel/git-filter-repo/PLIST \
    pkgsrc/devel/git-filter-repo/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/git-filter-repo/patches/patch-Makefile

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

Added files:

Index: pkgsrc/devel/git-filter-repo/DESCR
diff -u /dev/null pkgsrc/devel/git-filter-repo/DESCR:1.1
--- /dev/null   Sun Oct 25 19:31:17 2020
+++ pkgsrc/devel/git-filter-repo/DESCR  Sun Oct 25 19:31:17 2020
@@ -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.
Index: pkgsrc/devel/git-filter-repo/Makefile
diff -u /dev/null pkgsrc/devel/git-filter-repo/Makefile:1.1
--- /dev/null   Sun Oct 25 19:31:17 2020
+++ pkgsrc/devel/git-filter-repo/Makefile       Sun Oct 25 19:31:17 2020
@@ -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"
Index: pkgsrc/devel/git-filter-repo/PLIST
diff -u /dev/null pkgsrc/devel/git-filter-repo/PLIST:1.1
--- /dev/null   Sun Oct 25 19:31:17 2020
+++ pkgsrc/devel/git-filter-repo/PLIST  Sun Oct 25 19:31:17 2020
@@ -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
Index: pkgsrc/devel/git-filter-repo/distinfo
diff -u /dev/null pkgsrc/devel/git-filter-repo/distinfo:1.1
--- /dev/null   Sun Oct 25 19:31:17 2020
+++ pkgsrc/devel/git-filter-repo/distinfo       Sun Oct 25 19:31:17 2020
@@ -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

Index: pkgsrc/devel/git-filter-repo/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/git-filter-repo/patches/patch-Makefile:1.1
--- /dev/null   Sun Oct 25 19:31:17 2020
+++ pkgsrc/devel/git-filter-repo/patches/patch-Makefile Sun Oct 25 19:31:17 2020
@@ -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