# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit git-r3 python-single-r1 versionator

EGIT_REPO_URI="https://github.com/RedRise/lm.git"

MY_PV=${PV/_rc/b}

DESCRIPTION="list movies"
HOMEPAGE="http://github.com/RedRise/lm"
SRC_URI=""

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

REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND=""
RDEPEND="${PYTHON_DEPS}
		dev-python/imdbpy[${PYTHON_USEDEP}]"

src_prepare() {
	python_fix_shebang lm.py
}

src_install() {
	newbin lm.py lm
}
