summaryrefslogtreecommitdiff
blob: 722efc7d7a3f93c01b4adecf7f1a50dc3cac4798 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/transifex-client/transifex-client-0.8.0-r1.ebuild,v 1.2 2013/03/03 23:09:28 hwoarang Exp $

EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit distutils eutils

DESCRIPTION="A command line interface for Transifex"
HOMEPAGE="http://pypi.python.org/pypi/transifex-client http://www.transifex.net/"
SRC_URI="http://github.com/transifex/transifex-client/tarball/0.8 -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND=""
RDEPEND=""

# Upstream is using a very weird naming scheme
GITHUB_HASH="b001295"
S="${WORKDIR}"/${PN/transifex/transifex-transifex}-${GITHUB_HASH}

src_prepare() {
	epatch "${FILESDIR}/${P}-tests.patch"
	distutils_src_prepare
}