summaryrefslogtreecommitdiff
blob: f01264e45643a6186e00a7c9651c7ee89c1d047d (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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/identicurse-0.8.2.ebuild,v 1.1 2012/01/14 18:09:46 xarthisius Exp $

EAPI=4

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

inherit distutils versionator

MY_PV=$(get_version_component_range 1-2)

DESCRIPTION="A simple Identi.ca client with a curses-based UI"
HOMEPAGE="http://identicurse.net"
SRC_URI="http://identicurse.net/release/${MY_PV}/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-python/setuptools"
RDEPEND=""

S=${WORKDIR}/${PN}-${MY_PV}

src_prepare() {
	epatch "${FILESDIR}"/${PN}-gzipped_readme.patch \
		"${FILESDIR}"/${P}-config_json_path.patch
	distutils_src_prepare
}