# -*- coding: ascii; tab-width: 4; x-counterpart: hg-git-py.patch -*-
Info2: <<
Package: hg-git-py%type_pkg[python]
Version: 0.8.12
Revision: 1
Type: python (2.7)
Description: Mercurial as a Git client
DescDetail: <<
	This is the Hg-Git plugin for Mercurial, adding the ability to push to
	and pull from a Git server repository from Mercurial. This means you
	can collaborate on Git based projects from Mercurial, or use a Git
	server as a collaboration point for a team with developers using both
	Git and Mercurial.
<<
DescUsage: <<
	Add the line
	hggit =
	to the [extensions] section of your ~/.hgrc file to enable.
	Use hg help hggit to check that it is installed correctly and
	get usage information.
<<
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
License: GPL2+
Homepage: http://hg-git.github.com/

#Source: https://bitbucket.org/durin42/hg-git/get/bbad9283f80f.zip
#SourceRename: durin42-hg-git-bbad9283f80f.zip
Source: https://files.pythonhosted.org/packages/source/h/hg-git/hg-git-%v.tar.gz
Source-Checksum: SHA256(56baea43bae1148d16d4faa50a7efb364e6dfbca7bc562aec908691327a80b8e)

Depends: python%type_pkg[python], mercurial-py%type_pkg[python], dulwich-py%type_pkg[python] (>= 0.19.9-1)
BuildDepends: fink (>= 0.24.12), setuptools-tng-py%type_pkg[python]

CompileScript: %p/bin/python%type_raw[python] setup.py build

# test-clone.t and test-pull-after-strip.t currently broken with hg 4.6+
InfoTest: <<
TestDepends: git (>= 1.8.5.1-1)
TestScript: <<
	ln -s %p/bin/python%type_raw[python] python
	cd tests && PATH="%b:$PATH" PYTHONPATH=%b %p/bin/python%type_raw[python] run-tests.py --with-hg=%p/bin/hg-py%type_pkg[python] || exit 1
<<
<<

InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d

DocFiles: COPYING README.md
<<