Package: reposurgeon
# 3.45+ need 'go' to build. 3.48 is the last one to support running under python.
Version: 3.44
Revision: 1
Maintainer: None <fink-devel@lists.sourceforge.net>
#
Source: http://www.catb.org/~esr/%n/%n-%v.tar.xz
Source-Checksum: SHA256(f61e770d926eebc338bb4af43ab8ffa40b8f0e8192b97237780f8baa33878646)
BuildDepends: xmlto, asciidoc, fink (>= 0.32)
Suggests: cvs-fast-export
PatchScript: <<
	perl -pi -e 's|#!/usr/bin/env python2|#!/usr/bin/env python|' repo*
	perl -pi -e 's|#!/usr/bin/env pypy|#!/usr/bin/env python|' repo*
	# These files are missing from the 3.44 tarball
	perl -pi -e 's|README.md NEWS TODO||g' Makefile
	# no COPYING file. Text taken from repocutter file
	echo "Hacked together by ESR, October 2009." > COPYING
	echo "SPDX-License-Identifier: BSD-2-Clause" >> COPYING
<<
CompileScript: make
#InfoTest: <<
#	TestScript: make -j1 check || exit 2
#<<
InstallScript: make install DESTDIR=%d prefix=%p
DocFiles: COPYING
#
Description: Tool for editing version-control repositories
DescDetail: <<
reposurgeon enables risky operations that version-control systems don't
want to let you do, such as editing past comments and metadata and
removing commits. It works with any version control system that can
export and import git fast-import streams, including git and hg and bzr.
It can also read Subversion dump files directly and can thus be used to
script production of very high-quality conversions from Subversion to
any supported DVCS.
<<
License: BSD
Homepage: http://catb.org/~esr/reposurgeon/