Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.5.9.ebuild
Date: Sat, 09 Jan 2010 02:36:45
Message-Id: E1NTRBq-0006LC-W8@stork.gentoo.org
1 patrick 10/01/09 02:36:34
2
3 Modified: ChangeLog
4 Added: pkgcore-0.5.9.ebuild
5 Log:
6 Bump
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.91 sys-apps/pkgcore/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.91&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.91&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.90&r2=1.91
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
19 retrieving revision 1.90
20 retrieving revision 1.91
21 diff -u -r1.90 -r1.91
22 --- ChangeLog 28 Dec 2009 15:16:13 -0000 1.90
23 +++ ChangeLog 9 Jan 2010 02:36:26 -0000 1.91
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/pkgcore
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.90 2009/12/28 15:16:13 patrick Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.91 2010/01/09 02:36:26 patrick Exp $
30 +
31 +*pkgcore-0.5.9 (09 Jan 2010)
32 +
33 + 09 Jan 2010; Patrick Lauer <patrick@g.o> +pkgcore-0.5.9.ebuild:
34 + Bump
35
36 28 Dec 2009; Patrick Lauer <patrick@g.o> pkgcore-0.5.8.ebuild:
37 Fixing snakeoil dep
38
39
40
41 1.1 sys-apps/pkgcore/pkgcore-0.5.9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pkgcore-0.5.9.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.9.ebuild,v 1.1 2010/01/09 02:36:26 patrick Exp $
51
52 inherit distutils eutils
53
54 DESCRIPTION="pkgcore package manager"
55 HOMEPAGE="http://www.pkgcore.org"
56 SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
61 IUSE="doc"
62
63 RDEPEND=">=dev-lang/python-2.4
64 >=dev-python/snakeoil-0.3.6
65 >=app-shells/bash-3.0
66 || ( >=dev-lang/python-2.5 dev-python/pycrypto )"
67 DEPEND="${RDEPEND}
68 doc? ( >=dev-python/docutils-0.4 )"
69
70 DOCS="AUTHORS NEWS"
71
72 src_compile() {
73 distutils_src_compile
74
75 if use doc; then
76 ./build_docs.py || die "doc building failed"
77 fi
78 }
79
80 src_install() {
81 distutils_src_install
82
83 if use doc; then
84 dohtml -r doc dev-notes
85 doman man/*.1
86 fi
87
88 dodoc doc/*.rst man/*.rst
89 docinto dev-notes
90 dodoc dev-notes/*.rst
91 }
92
93 pkg_postinst() {
94 distutils_pkg_postinst
95 pplugincache
96
97 if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then
98 elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1."
99 elog "It is unused by pkgcore >= 0.2, remove it now."
100 die "remove /etc/pkgcore/plugins from pkgcore 0.1"
101 fi
102
103 # This is left behind by pkgcore 0.2.
104 rm -f "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/pkgcore/plugins/plugincache
105 }
106
107 pkg_postrm() {
108 python_version
109 # Careful not to remove this on up/downgrades.
110 local sitep="${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages
111 if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] &&
112 ! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then
113 rm "${sitep}/pkgcore/plugins/plugincache2"
114 fi
115 distutils_pkg_postrm
116 }
117
118 src_test() {
119 "${python}" setup.py test || die "testing returned non zero"
120 }