blob: 9be935fa3c7d7b296167ca1f73e03df488717492 (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NEED_PYTHON=2.5
inherit distutils eutils
DESCRIPTION="ctypes-opencv is a package that brings OpenCV to Python."
HOMEPAGE="http://code.google.com/p/ctypes-opencv"
SRC_URI="http://${PN}.googlecode.com/files/${P}-src.7z"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
RDEPEND="virtual/python
media-libs/opencv[-python]"
DEPEND="${RDEPEND}
dev-python/setuptools
app-arch/p7zip"
S="${WORKDIR}/src"
DOCS="AUTHORS README THANKS TODO"
src_unpack() {
7z x "${DISTDIR}/${A}" || die "unpack failed"
}
src_install() {
distutils_src_install
rm -rf "${D}/usr/doc"
}
|