update to reposurgeon-4.32

This commit is contained in:
sthen 2022-08-24 11:56:17 +00:00
parent c030acc214
commit 817f871e53
5 changed files with 36 additions and 58 deletions

View File

@ -1,8 +1,7 @@
COMMENT= tool for editing version-control repository history
DISTNAME= reposurgeon-3.42
REVISION= 1
EXTRACT_SUFX= .tar.xz
DISTNAME= reposurgeon-4.32
#EXTRACT_SUFX= .tar.xz
CATEGORIES= devel
@ -11,34 +10,27 @@ HOMEPAGE= http://www.catb.org/esr/reposurgeon/
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += c ${MODPY_WANTLIB}
WANTLIB += c pthread
MASTER_SITES= http://www.catb.org/esr/reposurgeon/
#MASTER_SITES= http://www.catb.org/esr/reposurgeon/
# generated from upstream distfile with "go mod vendor"
MASTER_SITES= https://spacehopper.org/mirrors/
USE_GMAKE= Yes
MODULES= lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
CONFIGURE_STYLE= x # bad python.port.mk
BUILD_DEPENDS= lang/cython,python3 \
textproc/asciidoc \
textproc/xmlto
MODULES= lang/go \
lang/ruby
CONFIGURE_STYLE= x
BUILD_DEPENDS= textproc/asciidoctor
MODRUBY_RUNDEP= No
MAKE_FLAGS= mandir=man
ALL_TARGET= all cyreposurgeon
INSTALL_TARGET= install install-cyreposurgeon
WRKSRC= ${WRKDIST}
WRKBUILD= ${WRKDIST}
MODGO_GOPATH= ${MODGO_WORKSPACE}:${MODGO_PACKAGE_PATH}:${WRKSRC}/vendor
TEST_DEPENDS= devel/pylint \
shells/bash \
sysutils/coreutils
TEST_TARGET= check
TEST_FLAGS= HOME=${WRKDIR}
FAKE_FLAGS= mandir=man
pre-test:
sed -i s,/usr/local,${LOCALBASE},g ${WRKSRC}/test/setpython
-ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
-ln -s ${LOCALBASE}/python${MODPY_DEFAULT_VERSION_3} ${WRKDIR}/bin/python3
-ln -s ${LOCALBASE}/bin/gmake ${WRKDIR}/bin/make
MODPY_ADJ_FILES= repocutter repodiffer repomapper reposurgeon
pre-build:
ln -sf ${RUBY} ${WRKDIR}/bin/ruby
ln -sf . ${WRKSRC}/vendor/src
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (reposurgeon-3.42.tar.xz) = qSJuuevrgYLUpA0xMOX8HjG3rynvSnxyO/zEpeI8Za8=
SIZE (reposurgeon-3.42.tar.xz) = 581504
SHA256 (reposurgeon-4.32.tar.gz) = NQhcW7d3IoPK2iIKR/Crf2+c/6UP1z7yCyVf+FjleAQ=
SIZE (reposurgeon-4.32.tar.gz) = 5844893

View File

@ -1,8 +0,0 @@
--- repotool.orig Mon Jul 4 11:34:04 2016
+++ repotool Mon Jul 4 11:34:06 2016
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# repotool - query and manipulate multiple repository types in a uniform way.
#

View File

@ -1,8 +0,0 @@
--- test/setpython.orig Tue Mar 28 15:30:41 2017
+++ test/setpython Tue Mar 28 15:30:18 2017
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/local/bin/bash
#
# setpython - create a local link from 'python' to a specified version
#

View File

@ -1,24 +1,26 @@
@bin bin/cyreposurgeon
bin/repocutter
bin/repodiffer
bin/repomapper
bin/reposurgeon
bin/repotool
bin/repobench
@bin bin/repocutter
@bin bin/repomapper
@bin bin/reposurgeon
@bin bin/repotool
@man man/man1/repobench.1
@man man/man1/repocutter.1
@man man/man1/repodiffer.1
@man man/man1/repomapper.1
@man man/man1/reposurgeon.1
@man man/man1/repotool.1
share/doc/reposurgeon/
share/doc/reposurgeon/NEWS
share/doc/reposurgeon/README.md
share/doc/reposurgeon/TODO
share/doc/reposurgeon/dvcs-migration-guide.html
share/doc/reposurgeon/features.html
share/doc/reposurgeon/COPYING
share/doc/reposurgeon/INSTALL.adoc
share/doc/reposurgeon/INSTALL.html
share/doc/reposurgeon/NEWS.adoc
share/doc/reposurgeon/NEWS.html
share/doc/reposurgeon/README.adoc
share/doc/reposurgeon/README.html
share/doc/reposurgeon/oops.svg
share/doc/reposurgeon/repobench.html
share/doc/reposurgeon/repocutter.html
share/doc/reposurgeon/repodiffer.html
share/doc/reposurgeon/repomapper.html
share/doc/reposurgeon/reporting-bugs.html
share/doc/reposurgeon/repository-editing.html
share/doc/reposurgeon/reposurgeon-git-aliases
share/doc/reposurgeon/reposurgeon.html
share/doc/reposurgeon/repotool.html