33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission-remote-cli/transmission-remote-cli-1.6.1.ebuild,v 1.1 2013/07/28 19:10:13 xmw Exp $
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
|
PYTHON_REQ_USE="ncurses"
|
|
inherit bash-completion-r1 python-r1
|
|
|
|
DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
|
|
HOMEPAGE="https://github.com/fagga/transmission-remote-cli/"
|
|
SRC_URI="https://github.com/fagga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="geoip rdns"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
$(python_gen_cond_dep dev-python/simplejson[$(python_gen_usedep python2_5)] python2_5)
|
|
geoip? ( dev-python/geoip-python )
|
|
rdns? ( dev-python/adns-python[$PYTHON_USEDEP] )"
|
|
|
|
src_install() {
|
|
python_foreach_impl python_doscript transmission-remote-cli
|
|
newbashcomp completion/bash/transmission-remote-cli-bash-completion.sh \
|
|
transmission-remote-cli
|
|
doman transmission-remote-cli.1
|
|
dodoc NEWS README.md
|
|
}
|