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

Contents of /media-sound/marrie/marrie-0.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Dec 4 06:14:45 2014 UTC (5 years, 11 months ago) by rafaelmartins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
revbump. fixes #514570 and moves to distutils-r1

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

1 # Copyright 1999-2014 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.1.ebuild,v 1.2 2014/07/06 12:53:19 mgorny 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="dev-python/feedparser"
34 DEPEND="${RDEPEND}
35 doc? ( dev-python/docutils )"
36
37 PYTHON_MODNAME="marrie.py"
38
39 src_compile() {
40 distutils_src_compile
41 if use doc; then
42 rst2html.py README.rst marrie.html || die "rst2html.py failed"
43 fi
44 }
45
46 src_install() {
47 distutils_src_install
48 if use doc; then
49 dohtml marrie.html
50 fi
51 }
52
53 pkg_postinst() {
54 distutils_pkg_postinst
55 elog
56 elog "You'll need a media player and a file downloader."
57 elog "Recommended packages: net-misc/wget and media-video/mplayer"
58 elog
59 }

  ViewVC Help
Powered by ViewVC 1.1.20