blob: 050a9bb21c6632d38cc56b10aba9b323f05c04ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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.14.0.ebuild,v 1.1 2011/08/18 22:31:30 radhermit Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils eutils
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}"
}
src_prepare() {
epatch "${FILESDIR}"/${P}-fix-write.patch
}
|