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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Nov 23 03:38:20 2012 UTC (8 years ago) by rafaelmartins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix bytecode compilation

(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)

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-r1.ebuild,v 1.1 2012/11/23 01:28:57 rafaelmartins 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 EHG_REVISION="default"
16 fi
17
18 inherit distutils ${HG_ECLASS}
19
20 DESCRIPTION="A simple podcast client that runs on the Command Line Interface"
21 HOMEPAGE="http://projects.rafaelmartins.eng.br/marrie/"
22
23 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
24 KEYWORDS="~amd64 ~x86"
25 if [[ ${PV} = *9999* ]]; then
26 SRC_URI=""
27 KEYWORDS=""
28 fi
29
30 LICENSE="BSD"
31 SLOT="0"
32 IUSE="doc"
33
34 RDEPEND="virtual/python-argparse
35 dev-python/feedparser"
36 DEPEND="${RDEPEND}
37 doc? ( dev-python/docutils )"
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 }

  ViewVC Help
Powered by ViewVC 1.1.20