Info2: <<
Package: anyvc-py%type_pkg[python]
Version: 0.3.7.1
Revision: 1
Type: python (2.7)
Description: Library to access any vcs
DescDetail: <<
    Anyvc is a library to abstract common vcs operation.
    It was born in an effort to enhance vcs operations in PIDA.
    
    The current version is mainly tailored to working with
    the working directories of the different vcs's and
    performing operations like adding/renaming/moving files,
    showing differences to the current commit and creating new commits.
<<
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
License: GPL2+
Homepage: https://pypi.org/project/anyvc

Source: https://files.pythonhosted.org/packages/source/a/anyvc/anyvc-%v.tar.gz
Source-Checksum: SHA256(264ccd659269ff62ca983d48c7affd27194992880d094e32fff58225a9b6311c)

Depends: <<
    apipkg-py%type_pkg[python],
    dulwich-py%type_pkg[python],
    execnet-py%type_pkg[python],
    mercurial-py%type_pkg[python],
    py-py%type_pkg[python] (>= 1.3),
    python%type_pkg[python],
    subvertpy-py%type_pkg[python]
<<
BuildDepends: fink (>= 0.24.12), setuptools-tng-py%type_pkg[python], hgdistver-py%type_pkg[python]

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

# Tests require net access.
#InfoTest: <<
#    TestDepends: pytest-py%type_pkg[python]
#    TestScript: %p/bin/py.test-%type_raw[python] tests || exit 2
#<<
        
InstallScript: <<
    %p/bin/python%type_raw[python] setup.py install \
	--root=%d
	mv %i/bin/vc %i/bin/vc-py%type_pkg[python]
<<

PostInstScript: <<
	update-alternatives --install %p/bin/vc vc %p/bin/vc-py%type_pkg[python] %type_pkg[python]
<<

PreRmScript: <<
	if [ $1 != "upgrade" ]; then
		update-alternatives --remove vc %p/bin/vc-py%type_pkg[python]
	fi
<<

DocFiles: PKG-INFO docs
<<