summaryrefslogtreecommitdiffstats
path: root/dev-python/evernote-sdk-python/evernote-sdk-python-9999.ebuild
blob: 4fb0cab4d1d34bb37805b64ecb5c8aa0d4d888fd (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
35
36
37
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit python distutils git-2

DESCRIPTION="Evernote SDK for Python"
HOMEPAGE="http://dev.evernote.com"

EGIT_REPO_URI="git://github.com/evernote/evernote-sdk-python.git"
EGIT_BRANCH="master"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND="
	dev-libs/thrift[python]
	dev-python/oauth2
"

pkg_setup() {
	python_set_active_version 2
	python_pkg_setup
}

src_prepare() {
	rm -rf lib/thrift
	python_convert_shebangs -r $(python_get_version) .
}

src_install() {
	distutils_src_install
}