media-video/lm/lm-9999.ebuild
changeset 156 f6c963dc1984
parent 137 8710e94a4528
equal deleted inserted replaced
155:145d435208f4 156:f6c963dc1984
     1 # Copyright 1999-2014 Gentoo Foundation
     1 # Copyright 1999-2015 Gentoo Foundation
     2 # Distributed under the terms of the GNU General Public License v2
     2 # Distributed under the terms of the GNU General Public License v2
     3 # $Header: $
     3 # $Header: $
     4 
     4 
     5 EAPI=5
     5 EAPI=5
     6 
     6 
     7 PYTHON_COMPAT=( python2_7 )
     7 PYTHON_COMPAT=( python2_7 )
     8 
     8 
     9 inherit git-2 python-r1 versionator
     9 inherit git-r3 python-single-r1 versionator
    10 
    10 
    11 EGIT_REPO_URI="https://github.com/RedRise/lm.git"
    11 EGIT_REPO_URI="https://github.com/RedRise/lm.git"
    12 
    12 
    13 MY_PV=${PV/_rc/b}
    13 MY_PV=${PV/_rc/b}
    14 
    14 
    19 LICENSE="GPL-3"
    19 LICENSE="GPL-3"
    20 SLOT="0"
    20 SLOT="0"
    21 KEYWORDS="~amd64"
    21 KEYWORDS="~amd64"
    22 IUSE=""
    22 IUSE=""
    23 
    23 
       
    24 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
    24 DEPEND=""
    25 DEPEND=""
    25 RDEPEND="${PYTHON_DEPS}
    26 RDEPEND="${PYTHON_DEPS}
    26 		dev-python/imdbpy[${PYTHON_USEDEP}]"
    27 		dev-python/imdbpy[${PYTHON_USEDEP}]"
    27 
    28 
    28 S="${WORKDIR}/RedRise-lm-41c4004"
    29 src_prepare() {
       
    30 	python_fix_shebang lm.py
       
    31 }
    29 
    32 
    30 src_install() {
    33 src_install() {
    31 	newbin lm.py lm
    34 	newbin lm.py lm
    32 }
    35 }