Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/layman: ChangeLog layman-1.4.2-r1.ebuild layman-1.4.2.ebuild
Date: Wed, 27 Apr 2011 13:24:00
Message-Id: 20110427132350.2A6EA20054@flycatcher.gentoo.org
1 idl0r 11/04/27 13:23:50
2
3 Modified: ChangeLog
4 Added: layman-1.4.2-r1.ebuild
5 Removed: layman-1.4.2.ebuild
6 Log:
7 Revision bump. The "python-compatbility-fix.patch" has been extended.
8
9 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.136 app-portage/layman/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/ChangeLog?rev=1.136&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/ChangeLog?rev=1.136&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/ChangeLog?r1=1.135&r2=1.136
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v
21 retrieving revision 1.135
22 retrieving revision 1.136
23 diff -u -r1.135 -r1.136
24 --- ChangeLog 25 Apr 2011 19:43:01 -0000 1.135
25 +++ ChangeLog 27 Apr 2011 13:23:50 -0000 1.136
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-portage/layman
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.135 2011/04/25 19:43:01 idl0r Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.136 2011/04/27 13:23:50 idl0r Exp $
31 +
32 +*layman-1.4.2-r1 (27 Apr 2011)
33 +
34 + 27 Apr 2011; Christian Ruppert <idl0r@g.o> -layman-1.4.2.ebuild,
35 + +layman-1.4.2-r1.ebuild, files/layman-1.4.2-python-compatbility-fix.patch:
36 + Revision bump. The "python-compatbility-fix.patch" has been extended.
37
38 25 Apr 2011; Christian Ruppert <idl0r@g.o> layman-1.4.2.ebuild,
39 +files/layman-1.4.2-python-compatbility-fix.patch:
40
41
42
43 1.1 app-portage/layman/layman-1.4.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/layman-1.4.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/layman-1.4.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: layman-1.4.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.4.2-r1.ebuild,v 1.1 2011/04/27 13:23:50 idl0r Exp $
53
54 EAPI="2"
55 PYTHON_DEPEND="2:2.5"
56 SUPPORT_PYTHON_ABIS="1"
57
58 inherit eutils distutils
59
60 DESCRIPTION="Tool to manage Gentoo overlays."
61 HOMEPAGE="http://layman.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67 IUSE="bazaar cvs darcs git mercurial subversion test"
68
69 COMMON_DEPS="dev-lang/python[xml]"
70 DEPEND="${COMMON_DEPS}
71 test? ( dev-vcs/subversion )"
72 RDEPEND="${COMMON_DEPS}
73 bazaar? ( dev-vcs/bzr )
74 cvs? ( dev-vcs/cvs )
75 darcs? ( dev-vcs/darcs )
76 git? ( dev-vcs/git )
77 mercurial? ( dev-vcs/mercurial )
78 subversion? (
79 || (
80 >=dev-vcs/subversion-1.5.4[webdav-neon]
81 >=dev-vcs/subversion-1.5.4[webdav-serf]
82 )
83 )"
84 RESTRICT_PYTHON_ABIS="2.4 3.*"
85
86 src_prepare() {
87 epatch "${FILESDIR}/${P}-python-compatbility-fix.patch"
88 }
89
90 # Prevent running make
91 src_compile() {
92 :
93 }
94
95 src_test() {
96 testing() {
97 for suite in layman/tests/{dtest,external}.py ; do
98 PYTHONPATH="." "$(PYTHON)" ${suite} \
99 || die "test suite '${suite}' failed"
100 done
101 }
102 python_execute_function testing
103 }
104
105 src_install() {
106 distutils_src_install
107
108 dodir /etc/layman
109
110 cp etc/* "${D}"/etc/layman/
111
112 doman doc/layman.8
113 dohtml doc/layman.8.html
114
115 keepdir /var/lib/layman
116 }
117
118 pkg_postinst() {
119 distutils_pkg_postinst
120
121 einfo "You are now ready to add overlays into your system."
122 einfo
123 einfo " layman -L"
124 einfo
125 einfo "will display a list of available overlays."
126 einfo
127 elog "Select an overlay and add it using"
128 elog
129 elog " layman -a overlay-name"
130 elog
131 elog "If this is the very first overlay you add with layman,"
132 elog "you need to append the following statement to your"
133 elog "/etc/make.conf file:"
134 elog
135 elog " source /var/lib/layman/make.conf"
136 elog
137 elog "If you modify the 'storage' parameter in the layman"
138 elog "configuration file (/etc/layman/layman.cfg) you will"
139 elog "need to adapt the path given above to the new storage"
140 elog "directory."
141 elog
142 ewarn "Please add the 'source' statement to make.conf only AFTER "
143 ewarn "you added your first overlay. Otherwise portage will fail."
144 epause 5
145 }