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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Dec 21 17:29:51 2014 UTC (5 years, 11 months ago) by rafaelmartins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump

(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

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-r1.ebuild,v 1.1 2014/12/04 06:14:45 rafaelmartins Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 GIT_ECLASS=""
10 if [[ ${PV} = *9999* ]]; then
11 GIT_ECLASS="git-r3"
12 EGIT_REPO_URI="git://github.com/rafaelmartins/marrie.git
13 https://github.com/rafaelmartins/marrie.git"
14 fi
15
16 inherit distutils-r1 ${GIT_ECLASS}
17
18 DESCRIPTION="A simple podcast client that runs on the Command Line Interface"
19 HOMEPAGE="https://github.com/rafaelmartins/marrie"
20
21 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
22 KEYWORDS="~amd64 ~x86"
23 if [[ ${PV} = *9999* ]]; then
24 SRC_URI=""
25 KEYWORDS=""
26 fi
27
28 LICENSE="BSD"
29 SLOT="0"
30 IUSE="doc"
31
32 RDEPEND="
33 dev-python/setuptools
34 dev-python/feedparser"
35 DEPEND="${RDEPEND}
36 doc? ( dev-python/docutils )"
37
38 src_compile() {
39 distutils-r1_src_compile
40 if use doc; then
41 rst2html.py README.rst marrie.html || die "rst2html.py failed"
42 fi
43 }
44
45 src_install() {
46 distutils-r1_src_install
47 if use doc; then
48 dohtml marrie.html
49 fi
50 }
51
52 pkg_postinst() {
53 distutils-r1_pkg_postinst
54 elog
55 elog "You'll need a media player and a file downloader."
56 elog "Recommended packages: net-misc/wget and media-video/mplayer"
57 elog
58 }

  ViewVC Help
Powered by ViewVC 1.1.20