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: ChangeLog layman-1.3.2-r1.ebuild layman-1.3.2.ebuild
Date: Sun, 21 Feb 2010 16:10:04
Message-Id: E1NjENb-0003Qj-VZ@stork.gentoo.org
1 sping 10/02/21 16:09:59
2
3 Modified: ChangeLog
4 Added: layman-1.3.2-r1.ebuild
5 Removed: layman-1.3.2.ebuild
6 Log:
7 app-portage/layman: Integrate fix for bug #306143
8 (Portage version: 2.2_rc61/cvs/Linux i686)
9
10 Revision Changes Path
11 1.102 app-portage/layman/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.102&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.102&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?r1=1.101&r2=1.102
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v
20 retrieving revision 1.101
21 retrieving revision 1.102
22 diff -u -r1.101 -r1.102
23 --- ChangeLog 20 Feb 2010 21:11:38 -0000 1.101
24 +++ ChangeLog 21 Feb 2010 16:09:59 -0000 1.102
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-portage/layman
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.101 2010/02/20 21:11:38 sping Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.102 2010/02/21 16:09:59 sping Exp $
30 +
31 +*layman-1.3.2-r1 (21 Feb 2010)
32 +
33 + 21 Feb 2010; Sebastian Pipping <sping@g.o> -layman-1.3.2.ebuild,
34 + +layman-1.3.2-r1.ebuild, +files/layman-1.3.2-missing-import.patch:
35 + Integrate fix for bug #306143
36
37 *layman-1.3.2 (20 Feb 2010)
38
39
40
41
42 1.1 app-portage/layman/layman-1.3.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.3.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.3.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: layman-1.3.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.3.2-r1.ebuild,v 1.1 2010/02/21 16:09:59 sping Exp $
52
53 EAPI="2"
54 NEED_PYTHON=2.5
55 SUPPORT_PYTHON_ABIS="1"
56
57 inherit eutils distutils
58
59 DESCRIPTION="A python script for retrieving gentoo overlays."
60 HOMEPAGE="http://layman.sourceforge.net"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="bazaar cvs darcs git mercurial subversion test"
67
68 COMMON_DEPS="dev-lang/python[xml]"
69 DEPEND="${COMMON_DEPS}
70 test? ( dev-util/subversion )"
71 RDEPEND="${COMMON_DEPS}
72 bazaar? ( dev-util/bzr )
73 cvs? ( dev-util/cvs )
74 darcs? ( dev-util/darcs )
75 git? ( dev-util/git )
76 mercurial? ( dev-util/mercurial )
77 subversion? (
78 || (
79 >=dev-util/subversion-1.5.4[webdav-neon]
80 >=dev-util/subversion-1.5.4[webdav-serf]
81 )
82 )"
83 RESTRICT_PYTHON_ABIS="2.4 3.*"
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${P}-missing-import.patch
87 }
88
89 pkg_setup() {
90 if ! has_version dev-util/subversion; then
91 ewarn "You do not have dev-util/subversion installed!"
92 ewarn "While layman does not exactly depend on this"
93 ewarn "version control system you should note that"
94 ewarn "most available overlays are offered via"
95 ewarn "dev-util/subversion. If you do not install it"
96 ewarn "you will be unable to use these overlays."
97 ewarn
98 fi
99 }
100
101 src_test() {
102 testing() {
103 for suite in layman/tests/{dtest,external}.py ; do
104 PYTHONPATH="." "$(PYTHON)" ${suite} \
105 || die "test suite '${suite}' failed"
106 done
107 }
108 python_execute_function testing
109 }
110
111 src_install() {
112 distutils_src_install
113
114 dodir /etc/layman
115
116 cp etc/* "${D}"/etc/layman/
117
118 doman doc/layman.8
119 dohtml doc/layman.8.html
120
121 keepdir /var/lib/layman
122 }
123
124 pkg_postinst() {
125 distutils_pkg_postinst
126
127 einfo "You are now ready to add overlays into your system."
128 einfo
129 einfo " layman -L"
130 einfo
131 einfo "will display a list of available overlays."
132 einfo
133 elog "Select an overlay and add it using"
134 elog
135 elog " layman -a overlay-name"
136 elog
137 elog "If this is the very first overlay you add with layman,"
138 elog "you need to append the following statement to your"
139 elog "/etc/make.conf file:"
140 elog
141 elog " source /var/lib/layman/make.conf"
142 elog
143 elog "If you modify the 'storage' parameter in the layman"
144 elog "configuration file (/etc/layman/layman.cfg) you will"
145 elog "need to adapt the path given above to the new storage"
146 elog "directory."
147 elog
148 ewarn "Please add the 'source' statement to make.conf only AFTER "
149 ewarn "you added your first overlay. Otherwise portage will fail."
150 epause 5
151 }