1 |
wrobel 08/01/28 17:52:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: layman-1.1.1-r1.ebuild |
5 |
Log: |
6 |
Warn on missing subversion package (#200395). |
7 |
(Portage version: 2.1.4_rc7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.55 app-portage/layman/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.55&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.55&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?r1=1.54&r2=1.55 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v |
19 |
retrieving revision 1.54 |
20 |
retrieving revision 1.55 |
21 |
diff -u -r1.54 -r1.55 |
22 |
--- ChangeLog 15 Nov 2007 07:16:23 -0000 1.54 |
23 |
+++ ChangeLog 28 Jan 2008 17:52:37 -0000 1.55 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-portage/layman |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.54 2007/11/15 07:16:23 wrobel Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.55 2008/01/28 17:52:37 wrobel Exp $ |
30 |
+ |
31 |
+*layman-1.1.1-r1 (28 Jan 2008) |
32 |
+ |
33 |
+ 28 Jan 2008; Gunnar Wrobel <wrobel@g.o> +layman-1.1.1-r1.ebuild: |
34 |
+ Warn on missing subversion package (#200395). |
35 |
|
36 |
15 Nov 2007; <wrobel@g.o> layman-1.0.6.ebuild, |
37 |
layman-1.0.10.ebuild, layman-1.1.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-portage/layman/layman-1.1.1-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.1.1-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.1.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: layman-1.1.1-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 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-r1.ebuild,v 1.1 2008/01/28 17:52:37 wrobel Exp $ |
51 |
|
52 |
inherit eutils distutils |
53 |
|
54 |
DESCRIPTION="A python script for retrieving gentoo overlays." |
55 |
HOMEPAGE="http://layman.sourceforge.net" |
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="test" |
62 |
|
63 |
DEPEND="test? ( dev-util/subversion )" |
64 |
RDEPEND="" |
65 |
|
66 |
pkg_setup() { |
67 |
if has_version dev-util/subversion && \ |
68 |
(! built_with_use --missing true dev-util/subversion webdav || built_with_use --missing false dev-util/subversion nowebdav); then |
69 |
eerror "You must rebuild your Subversion with support for WebDAV." |
70 |
die "You must rebuild your Subversion with support for WebDAV" |
71 |
fi |
72 |
if ! has_version dev-util/subversion; then |
73 |
ewarn "You do not have dev-util/subversion installed!" |
74 |
ewarn "While layman does not exactly depend on this" |
75 |
ewarn "version control system you should note that" |
76 |
ewarn "most available overlays are offered via" |
77 |
ewarn "dev-util/subversion. If you do not install it" |
78 |
ewarn "you will be unable to use these overlays." |
79 |
ewarn |
80 |
fi |
81 |
} |
82 |
|
83 |
src_install() { |
84 |
|
85 |
distutils_src_install |
86 |
|
87 |
dodir /etc/layman |
88 |
|
89 |
sed -i -e 's/^nocheck : no/nocheck : yes/' etc/layman.cfg |
90 |
cp etc/* "${D}"/etc/layman/ |
91 |
|
92 |
doman doc/layman.8 |
93 |
dohtml doc/layman.8.html |
94 |
|
95 |
} |
96 |
|
97 |
src_test() { |
98 |
einfo "Running layman doctests..." |
99 |
echo |
100 |
if ! PYTHONPATH="." ${python} layman/tests/dtest.py; then |
101 |
eerror "DocTests failed - please submit a bug report" |
102 |
die "DocTesting failed!" |
103 |
fi |
104 |
} |
105 |
|
106 |
pkg_postinst() { |
107 |
einfo "You are now ready to add overlays into your system." |
108 |
einfo |
109 |
einfo "layman -L" |
110 |
einfo |
111 |
einfo "will display a list of available overlays." |
112 |
einfo |
113 |
elog "Select an overlay and add it using" |
114 |
einfo |
115 |
elog "layman -a overlay-name" |
116 |
einfo |
117 |
elog "If this is the very first overlay you add with layman," |
118 |
elog "you need to append the following statement to your" |
119 |
elog "/etc/make.conf file:" |
120 |
elog |
121 |
elog "source /usr/portage/local/layman/make.conf" |
122 |
elog |
123 |
elog "If you modify the 'storage' parameter in the layman" |
124 |
elog "configuration file (/etc/layman/layman.cfg) you will" |
125 |
elog "need to adapt the path given above to the new storage" |
126 |
elog "directory." |
127 |
einfo |
128 |
ewarn "Please add the 'source' statement to make.conf only AFTER " |
129 |
ewarn "you added your first overlay. Otherwise portage will fail." |
130 |
epause 5 |
131 |
} |
132 |
|
133 |
|
134 |
|
135 |
-- |
136 |
gentoo-commits@l.g.o mailing list |