Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/edna: edna-0.6.ebuild edna-0.5-r4.ebuild edna-0.5-r5.ebuild
Date: Fri, 05 Jun 2009 10:14:38
Message-Id: E1MCWRX-0004ng-Ny@stork.gentoo.org
1 ssuominen 09/06/05 10:14:35
2
3 Modified: edna-0.6.ebuild edna-0.5-r4.ebuild
4 Removed: edna-0.5-r5.ebuild
5 Log:
6 Fix repoman warnings
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 media-sound/edna/edna-0.6.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.6.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.6.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.6.ebuild?r1=1.3&r2=1.4
15
16 Index: edna-0.6.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.6.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- edna-0.6.ebuild 7 Mar 2009 06:49:31 -0000 1.3
23 +++ edna-0.6.ebuild 5 Jun 2009 10:14:35 -0000 1.4
24 @@ -1,35 +1,32 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.6.ebuild,v 1.3 2009/03/07 06:49:31 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.6.ebuild,v 1.4 2009/06/05 10:14:35 ssuominen Exp $
29
30 -inherit eutils
31 +EAPI=2
32 +inherit eutils multilib
33
34 DESCRIPTION="Greg Stein's python streaming audio server for desktop or LAN use"
35 HOMEPAGE="http://edna.sourceforge.net/"
36 SRC_URI="mirror://sourceforge/edna/${P}.tar.gz"
37
38 -SLOT="0"
39 LICENSE="GPL-2"
40 +SLOT="0"
41 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
42 IUSE="flac ogg"
43
44 -DEPEND="|| ( >=dev-lang/python-2.5 ( >=dev-lang/python-2.3 >=dev-python/ctypes-1.0.0 ) )
45 +RDEPEND=">=dev-lang/python-2.5
46 flac? ( media-libs/mutagen )
47 ogg? ( dev-python/pyogg )"
48 -RDEPEND=${DEPEND}
49 +DEPEND="${RDEPEND}"
50
51 -src_unpack() {
52 - unpack ${A}
53 - cd "${S}"
54 -
55 - epatch "${FILESDIR}/${P}"-SystemExit.patch
56 - epatch "${FILESDIR}/${P}"-flac.patch
57 - epatch "${FILESDIR}/${P}"-daemon.patch
58 - epatch "${FILESDIR}/${P}"-syslog.patch
59 +src_prepare() {
60 + epatch "${FILESDIR}/${P}"-SystemExit.patch \
61 + "${FILESDIR}/${P}"-flac.patch \
62 + "${FILESDIR}/${P}"-daemon.patch \
63 + "${FILESDIR}/${P}"-syslog.patch
64 }
65
66 src_install() {
67 - einfo "Installing in daemon mode"
68 newinitd "${FILESDIR}"/edna.gentoo edna
69
70 dodir /usr/bin /usr/$(get_libdir)/edna /usr/$(get_libdir)/edna/templates
71 @@ -56,14 +53,11 @@
72 enewgroup edna
73 enewuser edna -1 -1 -1 edna
74
75 - einfo
76 - einfo "Edit edna.conf to taste before starting (multiple source"
77 - einfo "directories are allowed). Test edna from a shell prompt"
78 - einfo "until you have it configured properly, then add edna to"
79 - einfo "the default runlevel when you're ready. Add the USE flag"
80 - einfo "vorbis if you want edna to serve ogg files."
81 - einfo
82 - einfo "See edna.conf and the html docs for more info, and set"
83 - einfo "PYTHONPATH=/usr/lib/edna to run from a shell prompt."
84 - einfo
85 + elog "Edit edna.conf to taste before starting (multiple source"
86 + elog "directories are allowed). Test edna from a shell prompt"
87 + elog "until you have it configured properly, then add edna to"
88 + elog "the default runlevel when you're ready. Add the USE flag"
89 + elog "vorbis if you want edna to serve ogg files."
90 + elog "See edna.conf and the html docs for more info, and set"
91 + elog "PYTHONPATH=/usr/lib/edna to run from a shell prompt."
92 }
93
94
95
96 1.15 media-sound/edna/edna-0.5-r4.ebuild
97
98 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.5-r4.ebuild?rev=1.15&view=markup
99 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.5-r4.ebuild?rev=1.15&content-type=text/plain
100 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.5-r4.ebuild?r1=1.14&r2=1.15
101
102 Index: edna-0.5-r4.ebuild
103 ===================================================================
104 RCS file: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.5-r4.ebuild,v
105 retrieving revision 1.14
106 retrieving revision 1.15
107 diff -u -r1.14 -r1.15
108 --- edna-0.5-r4.ebuild 5 Jan 2007 17:29:18 -0000 1.14
109 +++ edna-0.5-r4.ebuild 5 Jun 2009 10:14:35 -0000 1.15
110 @@ -1,27 +1,25 @@
111 -# Copyright 1999-2007 Gentoo Foundation
112 +# Copyright 1999-2009 Gentoo Foundation
113 # Distributed under the terms of the GNU General Public License v2
114 -# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.5-r4.ebuild,v 1.14 2007/01/05 17:29:18 flameeyes Exp $
115 +# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.5-r4.ebuild,v 1.15 2009/06/05 10:14:35 ssuominen Exp $
116
117 inherit eutils
118
119 -IUSE="vorbis"
120 -
121 DESCRIPTION="Greg Stein's python streaming audio server for desktop or LAN use"
122 HOMEPAGE="http://edna.sourceforge.net/"
123 -
124 SRC_URI="mirror://sourceforge/edna/${P}.tar.gz"
125
126 -SLOT="0"
127 LICENSE="GPL-2"
128 +SLOT="0"
129 KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
130 +IUSE="vorbis"
131
132 -DEPEND="dev-lang/python
133 +RDEPEND=">=dev-lang/python-2.5
134 vorbis? ( dev-python/pyogg
135 dev-python/pyvorbis )"
136 +DEPEND="${RDEPEND}"
137
138 src_install() {
139 - elog "Installing in daemon mode"
140 - newinitd ${FILESDIR}/edna.gentoo edna
141 + newinitd "${FILESDIR}"/edna.gentoo edna
142
143 dodir /usr/bin /usr/$(get_libdir)/edna /usr/$(get_libdir)/edna/templates
144 exeinto /usr/bin ; newexe edna.py edna
145 @@ -41,14 +39,11 @@
146 }
147
148 pkg_postinst() {
149 - ewarn
150 elog "Edit edna.conf to taste before starting (multiple source"
151 elog "directories are allowed). Test edna from a shell prompt"
152 elog "until you have it configured properly, then add edna to"
153 elog "the default runlevel when you're ready. Add the USE flag"
154 elog "vorbis if you want edna to serve ogg files."
155 - elog
156 elog "See edna.conf and the html docs for more info, and set"
157 elog "PYTHONPATH=/usr/lib/edna to run from a shell prompt."
158 - ewarn
159 }