/[gentoo-x86]/media-sound/marrie/marrie-0.3-r2.ebuild
Gentoo

Contents of /media-sound/marrie/marrie-0.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 13 01:32:49 2013 UTC (7 years, 6 months ago) by rafaelmartins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump.

(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/marrie/marrie-0.3-r2.ebuild,v 1.3 2012/12/26 23:20:34 ottxor Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.7"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
10
11 HG_ECLASS=""
12 if [[ ${PV} = *9999* ]]; then
13 HG_ECLASS="mercurial"
14 EHG_REPO_URI="http://hg.rafaelmartins.eng.br/marrie/"
15 fi
16
17 inherit distutils ${HG_ECLASS}
18
19 DESCRIPTION="A simple podcast client that runs on the Command Line Interface"
20 HOMEPAGE="http://projects.rafaelmartins.eng.br/marrie/"
21
22 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
23 KEYWORDS="~amd64 ~x86"
24 if [[ ${PV} = *9999* ]]; then
25 SRC_URI=""
26 KEYWORDS=""
27 fi
28
29 LICENSE="BSD"
30 SLOT="0"
31 IUSE="doc"
32
33 RDEPEND="virtual/python-argparse
34 dev-python/feedparser"
35 DEPEND="${RDEPEND}
36 doc? ( dev-python/docutils )"
37
38 PYTHON_MODNAME="marrie.py"
39
40 src_compile() {
41 distutils_src_compile
42 if use doc; then
43 rst2html.py README.rst marrie.html || die "rst2html.py failed"
44 fi
45 }
46
47 src_install() {
48 distutils_src_install
49 if use doc; then
50 dohtml marrie.html
51 fi
52 }
53
54 pkg_postinst() {
55 distutils_pkg_postinst
56 elog
57 elog "You'll need a media player and a file downloader."
58 elog "Recommended packages: net-misc/wget and media-video/mplayer"
59 elog
60 }

  ViewVC Help
Powered by ViewVC 1.1.20