summaryrefslogtreecommitdiff
blob: 35254efeb8a2a6deb333a4f1e84c9ce1f4ba0a0a (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-python/libopensync-plugin-python-9999.ebuild,v 1.3 2011/02/24 05:21:21 dirtyepic Exp $

EAPI="3"
PYTHON_DEPEND="2:2.5"

inherit cmake-utils python subversion

DESCRIPTION="OpenSync Python Module"
HOMEPAGE="http://www.opensync.org/"
SRC_URI=""

ESVN_REPO_URI="http://svn.opensync.org/plugins/python-module"

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="LGPL-2.1"
IUSE=""

DEPEND="~app-pda/libopensync-${PV}
	dev-libs/glib:2
	>=dev-util/pkgconfig-0.9.0"
RDEPEND="${DEPEND}"

pkg_setup() {
	python_set_active_version 2
}

src_prepare() {
	# hardcoded python versions, use the module shipped with cmake (bug #276220)
	rm "${S}"/cmake/modules/FindPythonLibs.cmake || die
}