# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygit2/pygit2-0.15.0.ebuild,v 1.1 2011/10/07 08:35:39 radhermit Exp $ EAPI="3" PYTHON_DEPEND="2:2.6" SUPPORT_PYTHON_ABIS="1" # Tests still fail for python-3 RESTRICT_PYTHON_ABIS="3.*" DISTUTILS_SRC_TEST="setup.py" inherit distutils DESCRIPTION="Python bindings for libgit2" HOMEPAGE="https://github.com/libgit2/pygit2" SRC_URI="https://github.com/libgit2/${PN}/tarball/v${PV} -> ${P}.tar.gz" LICENSE="GPL-2-with-linking-exception" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="~dev-libs/libgit2-${PV} dev-libs/openssl sys-libs/zlib" DEPEND="${RDEPEND}" src_unpack() { unpack ${A} mv *-${PN}-* "${S}" }