author | Da Risk <da_risk@geekorum.com> |
Sun, 11 Dec 2022 18:23:57 -0400 | |
changeset 251 | e7f7160897cf |
parent 156 | f6c963dc1984 |
permissions | -rw-r--r-- |
156
f6c963dc1984
Update media-video/lm ebuild to use git-r3 and python-single-target eclasses
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
1 |
# Copyright 1999-2015 Gentoo Foundation |
137 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
|
4 |
||
5 |
EAPI=5 |
|
6 |
||
7 |
PYTHON_COMPAT=( python2_7 ) |
|
8 |
||
156
f6c963dc1984
Update media-video/lm ebuild to use git-r3 and python-single-target eclasses
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
9 |
inherit git-r3 python-single-r1 versionator |
137 | 10 |
|
11 |
EGIT_REPO_URI="https://github.com/RedRise/lm.git" |
|
12 |
||
13 |
MY_PV=${PV/_rc/b} |
|
14 |
||
15 |
DESCRIPTION="list movies" |
|
16 |
HOMEPAGE="http://github.com/RedRise/lm" |
|
17 |
SRC_URI="" |
|
18 |
||
19 |
LICENSE="GPL-3" |
|
20 |
SLOT="0" |
|
21 |
KEYWORDS="~amd64" |
|
22 |
IUSE="" |
|
23 |
||
156
f6c963dc1984
Update media-video/lm ebuild to use git-r3 and python-single-target eclasses
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
24 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
137 | 25 |
DEPEND="" |
26 |
RDEPEND="${PYTHON_DEPS} |
|
27 |
dev-python/imdbpy[${PYTHON_USEDEP}]" |
|
28 |
||
156
f6c963dc1984
Update media-video/lm ebuild to use git-r3 and python-single-target eclasses
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
29 |
src_prepare() { |
f6c963dc1984
Update media-video/lm ebuild to use git-r3 and python-single-target eclasses
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
30 |
python_fix_shebang lm.py |
f6c963dc1984
Update media-video/lm ebuild to use git-r3 and python-single-target eclasses
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
31 |
} |
137 | 32 |
|
33 |
src_install() { |
|
34 |
newbin lm.py lm |
|
35 |
} |