|
Lines 1-16
Link Here
|
| 1 |
# Copyright 1999-2011 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: /var/cvsroot/gentoo-x86/media-sound/shoutcast-search/shoutcast-search-0.3.1.ebuild,v 1.2 2011/03/13 16:02:27 hwoarang Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-search/shoutcast-search-0.3.1.ebuild,v 1.2 2011/03/13 16:02:27 hwoarang Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=3 |
5 |
EAPI=5 |
| 6 |
|
6 |
|
| 7 |
PYTHON_DEPEND="2" |
7 |
PYTHON_COMPAT=( python2_7 ) |
| 8 |
SUPPORT_PYTHON_ABIS="1" |
8 |
DISTUTILS_SINGLE_IMPL=1 |
| 9 |
RESTRICT_PYTHON_ABIS="3.*" |
|
|
| 10 |
|
9 |
|
| 11 |
PYTHON_MODNAME="shoutcast_search" |
10 |
inherit distutils-r1 |
| 12 |
|
|
|
| 13 |
inherit distutils |
| 14 |
|
11 |
|
| 15 |
DESCRIPTION="A command-line tool for searching SHOUTcast stations" |
12 |
DESCRIPTION="A command-line tool for searching SHOUTcast stations" |
| 16 |
HOMEPAGE="http://www.k2h.se/code/shoutcast-search.html" |
13 |
HOMEPAGE="http://www.k2h.se/code/shoutcast-search.html" |
|
Lines 18-40
Link Here
|
| 18 |
|
15 |
|
| 19 |
LICENSE="GPL-2" |
16 |
LICENSE="GPL-2" |
| 20 |
SLOT="0" |
17 |
SLOT="0" |
| 21 |
KEYWORDS="amd64 ~x86" |
18 |
KEYWORDS="~amd64 ~x86" |
| 22 |
IUSE="" |
19 |
IUSE="" |
| 23 |
|
20 |
|
| 24 |
RDEPEND="" |
21 |
RDEPEND="" |
| 25 |
DEPEND="${RDEPEND} |
22 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
| 26 |
dev-python/setuptools" |
|
|
| 27 |
|
23 |
|
| 28 |
S=${WORKDIR}/halhen-${PN}-fc6b3aa |
24 |
S=${WORKDIR}/halhen-${PN}-fc6b3aa |
| 29 |
|
25 |
|
| 30 |
src_prepare() { |
26 |
python_prepare() { |
| 31 |
python_convert_shebangs 2 ${PN} |
27 |
python_fix_shebang . |
| 32 |
distutils_src_prepare |
28 |
distutils-r1_python_prepare |
| 33 |
} |
29 |
} |
| 34 |
|
30 |
|
| 35 |
src_install() { |
31 |
python_install() { |
| 36 |
distutils_src_install |
32 |
distutils-r1_python_install |
| 37 |
dobin ${PN} || die |
33 |
|
|
|
34 |
python_doscript ${PN} || die |
| 38 |
doman ${PN}.1 || die |
35 |
doman ${PN}.1 || die |
| 39 |
dodoc documentation.md || die |
36 |
dodoc documentation.md || die |
| 40 |
} |
37 |
} |