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: pkgcore-0.5.8.ebuild ChangeLog pkgcore-0.5.5.ebuild pkgcore-0.5.6.ebuild
Date: Sun, 27 Dec 2009 14:38:39
Message-Id: E1NOuGT-0002FZ-IJ@stork.gentoo.org
1 patrick 09/12/27 14:38:37
2
3 Modified: ChangeLog
4 Added: pkgcore-0.5.8.ebuild
5 Removed: pkgcore-0.5.5.ebuild pkgcore-0.5.6.ebuild
6 Log:
7 Bump, remove old
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.89 sys-apps/pkgcore/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 23 Dec 2009 07:15:31 -0000 1.88
24 +++ ChangeLog 27 Dec 2009 14:38:37 -0000 1.89
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/pkgcore
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.88 2009/12/23 07:15:31 solar Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.89 2009/12/27 14:38:37 patrick Exp $
30 +
31 +*pkgcore-0.5.8 (27 Dec 2009)
32 +
33 + 27 Dec 2009; Patrick Lauer <patrick@g.o> -pkgcore-0.5.5.ebuild,
34 + -pkgcore-0.5.6.ebuild, +pkgcore-0.5.8.ebuild:
35 + Bump, remove old
36
37 *pkgcore-0.5.7 (23 Dec 2009)
38
39
40
41
42 1.1 sys-apps/pkgcore/pkgcore-0.5.8.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pkgcore-0.5.8.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.5.8.ebuild,v 1.1 2009/12/27 14:38:37 patrick 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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
62 IUSE="doc"
63
64 RDEPEND=">=dev-lang/python-2.4
65 >=dev-python/snakeoil-0.3.3
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 }