-
Notifications
You must be signed in to change notification settings - Fork 765
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/git-filter-repo-devel: Add new port
devel/git-filter-repo-devel tracks git-filter-repo development. It includes fixes not yet available in the latest release. Most specifically bug #261, opened by myself, that results in the loss of files.
- Loading branch information
Showing
7 changed files
with
2,468 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
PORTNAME= git-filter-repo | ||
PORTVERSION= ${GFR_COMMIT_DATE} | ||
CATEGORIES= devel | ||
PKGNAMESUFFIX= -devel | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= git filter-repo is a versatile tool for rewriting history | ||
WWW= https://github.com/newren/git-filter-repo | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/COPYING.mit | ||
|
||
CONFLICTS= git-filter-repo-[0-9]* | ||
|
||
RUN_DEPENDS= git:devel/git | ||
|
||
USES= python shebangfix | ||
|
||
SHEBANG_FILES= git-filter-repo | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= newren | ||
GH_TAGNAME= a9093a6 | ||
GFR_COMMIT_DATE= 20241021 | ||
|
||
NO_BUILD= yes | ||
NO_ARCH= yes | ||
|
||
# | ||
# XXX: The man page only exists in the upstream docs branch. Unfortunately | ||
# there is no clean way to extract just one file from a different | ||
# upstream branch. Therefore we include it in files. To discover | ||
# which version of the git-filter-repo.1 file in the docs branch | ||
# corresponds with the extracted tag, | ||
# | ||
# - git clone https://github.com/newren/git-filter-repo.git | ||
# - git log, looking for the current tag's hash. | ||
# - git switch docs | ||
# - git log and look for the matching hash in the commit log. | ||
# - git checkout HASH | ||
# - copy the file to the files subdirectory of this port | ||
# | ||
# Until a better approach can be discovered. | ||
# | ||
post-extract: | ||
@${MKDIR} ${WRKSRC}/Documentation/man1; | ||
${CP} ${FILESDIR}/git-filter-repo.1.in ${WRKSRC}/Documentation/man1/git-filter-repo.1 | ||
|
||
do-install: | ||
cd ${WRKSRC}; \ | ||
${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/git-core; \ | ||
${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}; \ | ||
${MAKE} prefix=${STAGEDIR}/${PREFIX} pythondir=${STAGEDIR}/${PYTHON_SITELIBDIR} install | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1729542272 | ||
SHA256 (newren-git-filter-repo-20241021-a9093a6_GH0.tar.gz) = 553f4f153ac40dc1c8e81d558b2d7ff25474c1f720e63038b52a4c77da97eed4 | ||
SIZE (newren-git-filter-repo-20241021-a9093a6_GH0.tar.gz) = 180295 |
Oops, something went wrong.