Gentoo Archives: gentoo-commits

From: "Brian Harring (ferringb)" <ferringb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.5.11.5.ebuild pkgcore-0.5.11.4.ebuild
Date: Thu, 22 Apr 2010 08:54:35
Message-Id: 20100422085431.BB9A528D3E@corvid.gentoo.org
1 ferringb 10/04/22 08:54:31
2
3 Modified: ChangeLog
4 Added: pkgcore-0.5.11.5.ebuild
5 Removed: pkgcore-0.5.11.4.ebuild
6 Log:
7 pull 0.5.11.4 due to distutils issue, swap in 0.5.11.5; thanks to bonsai for the heads up, and yet another Fuck You to distutils.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.100 sys-apps/pkgcore/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.100&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.100&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.99&r2=1.100
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
20 retrieving revision 1.99
21 retrieving revision 1.100
22 diff -u -r1.99 -r1.100
23 --- ChangeLog 22 Apr 2010 06:52:04 -0000 1.99
24 +++ ChangeLog 22 Apr 2010 08:54:31 -0000 1.100
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/pkgcore
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.99 2010/04/22 06:52:04 ferringb Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.100 2010/04/22 08:54:31 ferringb Exp $
30 +
31 +*pkgcore-0.5.11.5 (22 Apr 2010)
32 +
33 + 22 Apr 2010; Brian Harring <ferringb@g.o> -pkgcore-0.5.11.4.ebuild,
34 + +pkgcore-0.5.11.5.ebuild:
35 + pull 0.5.11.4, add 0.5.11.5 addressing core distutils issue
36
37 *pkgcore-0.5.11.4 (22 Apr 2010)
38
39
40
41
42 1.1 sys-apps/pkgcore/pkgcore-0.5.11.5.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pkgcore-0.5.11.5.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/sys-apps/pkgcore/pkgcore-0.5.11.5.ebuild,v 1.1 2010/04/22 08:54:31 ferringb Exp $
52
53 DISTUTILS_SRC_TEST="setup.py"
54
55 inherit distutils eutils
56
57 DESCRIPTION="pkgcore package manager"
58 HOMEPAGE="http://www.pkgcore.org"
59 SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
64 IUSE="doc"
65
66 RDEPEND=">=dev-lang/python-2.4
67 >=dev-python/snakeoil-0.3.6.3
68 >=app-shells/bash-3.0
69 || ( >=dev-lang/python-2.5 dev-python/pycrypto )"
70 DEPEND="${RDEPEND}
71 doc? ( >=dev-python/docutils-0.4 )"
72
73 DOCS="AUTHORS NEWS"
74
75 src_compile() {
76 distutils_src_compile
77
78 if use doc; then
79 ./build_docs.py || die "doc building failed"
80 fi
81 }
82
83 src_install() {
84 distutils_src_install
85
86 if use doc; then
87 dohtml -r doc dev-notes
88 doman man/*.1
89 fi
90
91 dodoc doc/*.rst man/*.rst
92 docinto dev-notes
93 dodoc dev-notes/*.rst
94 }
95
96 pkg_postinst() {
97 distutils_pkg_postinst
98 pplugincache
99
100 if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then
101 elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1."
102 elog "It is unused by pkgcore >= 0.2, remove it now."
103 die "remove /etc/pkgcore/plugins from pkgcore 0.1"
104 fi
105
106 # This is left behind by pkgcore 0.2.
107 rm -f "${ROOT}"$(python_get_sitedir)/pkgcore/plugins/plugincache
108 }
109
110 pkg_postrm() {
111 # Careful not to remove this on up/downgrades.
112 local sitep="${ROOT}"$(python_get_sitedir)/site-packages
113 if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] &&
114 ! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then
115 rm "${sitep}/pkgcore/plugins/plugincache2"
116 fi
117 distutils_pkg_postrm
118 }