Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/pkgcore-checks: ChangeLog pkgcore-checks-0.4.13.ebuild
Date: Sat, 09 Jan 2010 02:39:39
Message-Id: E1NTREk-0006Rb-Lo@stork.gentoo.org
1 patrick 10/01/09 02:39:34
2
3 Modified: ChangeLog
4 Added: pkgcore-checks-0.4.13.ebuild
5 Log:
6 Bump
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.44 dev-util/pkgcore-checks/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/ChangeLog?rev=1.44&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/ChangeLog?rev=1.44&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/ChangeLog?r1=1.43&r2=1.44
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v
19 retrieving revision 1.43
20 retrieving revision 1.44
21 diff -u -r1.43 -r1.44
22 --- ChangeLog 28 Dec 2009 15:17:37 -0000 1.43
23 +++ ChangeLog 9 Jan 2010 02:39:34 -0000 1.44
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/pkgcore-checks
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.43 2009/12/28 15:17:37 patrick Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.44 2010/01/09 02:39:34 patrick Exp $
30 +
31 +*pkgcore-checks-0.4.13 (09 Jan 2010)
32 +
33 + 09 Jan 2010; Patrick Lauer <patrick@g.o>
34 + +pkgcore-checks-0.4.13.ebuild:
35 + Bump
36
37 28 Dec 2009; Patrick Lauer <patrick@g.o>
38 pkgcore-checks-0.4.12.ebuild:
39
40
41
42 1.1 dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pkgcore-checks-0.4.13.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/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild,v 1.1 2010/01/09 02:39:34 patrick Exp $
52
53 inherit distutils
54
55 DESCRIPTION="pkgcore developmental repoman replacement"
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="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE=""
63
64 RDEPEND=">=sys-apps/pkgcore-0.5.9
65 >=dev-python/snakeoil-0.3.6
66 >=dev-lang/python-2.4"
67 DEPEND="${RDEPEND}"
68
69 DOCS="NEWS AUTHORS"
70
71 PYTHON_MODNAME=pkgcore_checks
72
73 src_test() {
74 "${python}" setup.py test || die "tests returned non zero"
75 }
76
77 pkg_postinst() {
78 einfo "updating pkgcore plugin cache"
79 pplugincache pkgcore_checks.plugins pkgcore.plugins
80 distutils_pkg_postinst
81 }
82
83 pkg_postrm() {
84 python_version
85 # Careful not to remove this on up/downgrades.
86 local sitep="${ROOT}"usr/lib/python${PYVER}/site-packages
87 if [[ -e "${sitep}/pkgcore_checks/plugins/plugincache2" ]] &&
88 ! [[ -e "${sitep}/pkgcore_checks/base.py" ]]; then
89 rm "${sitep}/pkgcore_checks/plugins/plugincache2"
90 fi
91 distutils_pkg_postrm
92 }