Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/layman: layman-9999.ebuild ChangeLog
Date: Tue, 29 Dec 2009 00:29:43
Message-Id: E1NPPy1-00015F-1k@stork.gentoo.org
1 sping 09/12/29 00:29:41
2
3 Modified: ChangeLog
4 Added: layman-9999.ebuild
5 Log:
6 app-portage/layman: Add live ebuild
7 (Portage version: 2.2_rc61/cvs/Linux i686)
8
9 Revision Changes Path
10 1.80 app-portage/layman/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.80&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.80&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?r1=1.79&r2=1.80
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v
19 retrieving revision 1.79
20 retrieving revision 1.80
21 diff -u -r1.79 -r1.80
22 --- ChangeLog 5 Dec 2009 00:44:07 -0000 1.79
23 +++ ChangeLog 29 Dec 2009 00:29:40 -0000 1.80
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-portage/layman
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.79 2009/12/05 00:44:07 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.80 2009/12/29 00:29:40 sping Exp $
29 +
30 +*layman-9999 (29 Dec 2009)
31 +
32 + 29 Dec 2009; Sebastian Pipping <sping@g.o> +layman-9999.ebuild:
33 + Add live ebuild
34
35 05 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
36 layman-1.2.4.ebuild:
37
38
39
40 1.1 app-portage/layman/layman-9999.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-9999.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-9999.ebuild?rev=1.1&content-type=text/plain
44
45 Index: layman-9999.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-9999.ebuild,v 1.1 2009/12/29 00:29:40 sping Exp $
50
51 EAPI="2"
52 SUPPORT_PYTHON_ABIS="1"
53
54 inherit eutils distutils git
55
56 DESCRIPTION="A python script for retrieving gentoo overlays."
57 HOMEPAGE="http://layman.sourceforge.net"
58 SRC_URI=""
59 EGIT_REPO_URI="git://layman.git.sourceforge.net/gitroot/layman/layman"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS=""
64 IUSE="git subversion test"
65
66 DEPEND="dev-python/pyxml
67 test? ( dev-util/subversion )
68 app-text/xmlto"
69 RDEPEND=">=dev-lang/python-2.5
70 git? ( dev-util/git )
71 subversion? (
72 || (
73 >=dev-util/subversion-1.5.4[webdav-neon]
74 >=dev-util/subversion-1.5.4[webdav-serf]
75 )
76 )"
77 RESTRICT_PYTHON_ABIS="2.4 3.*"
78
79 pkg_setup() {
80 if ! has_version dev-util/subversion; then
81 ewarn "You do not have dev-util/subversion installed!"
82 ewarn "While layman does not exactly depend on this"
83 ewarn "version control system you should note that"
84 ewarn "most available overlays are offered via"
85 ewarn "dev-util/subversion. If you do not install it"
86 ewarn "you will be unable to use these overlays."
87 ewarn
88 fi
89 }
90
91 src_test() {
92 testing() {
93 PYTHONPATH="." "$(PYTHON)" layman/tests/dtest.py
94 }
95 python_execute_function testing
96 }
97
98 src_compile() {
99 distutils_src_compile
100 emake -C doc || die "emake -C doc failed"
101 }
102
103 src_install() {
104 distutils_src_install
105
106 dodir /etc/layman
107
108 cp etc/layman.cfg "${D}"/etc/layman/
109
110 doman doc/layman.8
111 dohtml doc/layman.8.html
112
113 keepdir /usr/local/portage/layman
114 }
115
116 pkg_postinst() {
117 distutils_pkg_postinst
118
119 einfo "You are now ready to add overlays into your system."
120 einfo
121 einfo "layman -L"
122 einfo
123 einfo "will display a list of available overlays."
124 einfo
125 elog "Select an overlay and add it using"
126 einfo
127 elog "layman -a overlay-name"
128 einfo
129 elog "If this is the very first overlay you add with layman,"
130 elog "you need to append the following statement to your"
131 elog "/etc/make.conf file:"
132 elog
133 elog "source /usr/local/portage/layman/make.conf"
134 elog
135 elog "If you modify the 'storage' parameter in the layman"
136 elog "configuration file (/etc/layman/layman.cfg) you will"
137 elog "need to adapt the path given above to the new storage"
138 elog "directory."
139 einfo
140 ewarn "Please add the 'source' statement to make.conf only AFTER "
141 ewarn "you added your first overlay. Otherwise portage will fail."
142 epause 5
143 }