# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit distutils DESCRIPTION="Python interface for the perforce commercial version control system" HOMEPAGE="http://www.perforce.com/" URI_BASE="http://filehost.perforce.com/perforce/r06.1" PYTHON_API="http://public.perforce.com/guest/robert_cowham/perforce/API/python/main/p4python.zip" BIN_BASE="$URI_BASE/bin.linux26x86" SRC_URI="${BIN_BASE}/p4api.tar ${PYTHON_API}" LICENSE="perforce.pdf" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="nomirror nostrip" DEPEND="virtual/libc virtual/python" S=${WORKDIR} src_unpack() { cp ${DISTDIR}/p4python.zip . unzip ${DISTDIR}/p4python.zip mkdir p4api cd p4api tar -xvf ${DISTDIR}/p4api.tar cd .. } src_install() { distutils_src_install }