Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/layman: ChangeLog layman-1.1.1.ebuild layman-1.1.ebuild
Date: Wed, 12 Sep 2007 06:17:43
Message-Id: E1IVLQj-0001UJ-Lf@stork.gentoo.org
1 wrobel 07/09/12 06:10:29
2
3 Modified: ChangeLog
4 Added: layman-1.1.1.ebuild
5 Removed: layman-1.1.ebuild
6 Log:
7 Added layman-1.1.1 to the tree, removed layman-1.1.
8 (Portage version: 2.1.2.12)
9
10 Revision Changes Path
11 1.44 app-portage/layman/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 11 Sep 2007 15:18:36 -0000 1.43
24 +++ ChangeLog 12 Sep 2007 06:10:29 -0000 1.44
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-portage/layman
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.43 2007/09/11 15:18:36 wrobel Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.44 2007/09/12 06:10:29 wrobel Exp $
30 +
31 +*layman-1.1.1 (12 Sep 2007)
32 +
33 + 12 Sep 2007; <wrobel@g.o> -layman-1.1.ebuild, +layman-1.1.1.ebuild:
34 + Added layman-1.1.1 to the tree, removed layman-1.1.
35
36 11 Sep 2007; <wrobel@g.o> layman-1.1.ebuild:
37 Added the ~ia64 keyword back in since I accidently removed it.
38
39
40
41 1.1 app-portage/layman/layman-1.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: layman-1.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.1.1.ebuild,v 1.1 2007/09/12 06:10:29 wrobel Exp $
51
52 inherit eutils distutils
53
54 DESCRIPTION="A python script for retrieving gentoo overlays."
55 HOMEPAGE="http://projects.gunnarwrobel.de/scripts"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
61 IUSE=""
62 S=${WORKDIR}/${PF}
63
64 DEPEND=""
65 RDEPEND=""
66
67 pkg_setup() {
68 if has_version dev-util/subversion && built_with_use dev-util/subversion nowebdav; then
69 eerror "You must rebuild your subversion without the nowebdav USE flag"
70 die "You must rebuild your subversion without the nowebdav USE flag"
71 fi
72 }
73
74 src_install() {
75
76 distutils_src_install
77
78 dodir /etc/layman
79 cp etc/* ${D}/etc/layman/
80
81 doman doc/layman.8
82 dohtml doc/layman.8.html
83
84 }
85
86 src_test() {
87 cd ${S}
88 einfo "Running layman doctests..."
89 echo
90 if ! PYTHONPATH="." ${python} layman/tests/dtest.py; then
91 eerror "DocTests failed - please submit a bug report"
92 die "DocTesting failed!"
93 fi
94 }
95
96 pkg_postinst() {
97 einfo "You are now ready to add overlays into your system."
98 einfo
99 einfo "layman -L"
100 einfo
101 einfo "will display a list of available overlays."
102 einfo
103 elog "Select an overlay and add it using"
104 einfo
105 elog "layman -a overlay-name"
106 einfo
107 elog "If this is the very first overlay you add with layman,"
108 elog "you need to append the following statement to your"
109 elog "/etc/make.conf file:"
110 elog
111 elog "source /usr/portage/local/layman/make.conf"
112 elog
113 elog "If you modify the 'storage' parameter in the layman"
114 elog "configuration file (/etc/layman/layman.cfg) you will"
115 elog "need to adapt the path given above to the new storage"
116 elog "directory."
117 einfo
118 ewarn "Please add the 'source' statement to make.conf only AFTER "
119 ewarn "you added your first overlay. Otherwise portage will fail."
120 epause 5
121 }
122
123
124
125 --
126 gentoo-commits@g.o mailing list