Gentoo Archives: gentoo-commits

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