1 |
arfrever 09/07/17 16:38:02 |
2 |
|
3 |
Modified: ChangeLog pychecker-0.8.18.ebuild |
4 |
Log: |
5 |
Fix path in /usr/bin/pychecker (bug #265384). |
6 |
(Portage version: 13832-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.40 dev-python/pychecker/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pychecker/ChangeLog?rev=1.40&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pychecker/ChangeLog?rev=1.40&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pychecker/ChangeLog?r1=1.39&r2=1.40 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v |
18 |
retrieving revision 1.39 |
19 |
retrieving revision 1.40 |
20 |
diff -u -r1.39 -r1.40 |
21 |
--- ChangeLog 4 Jan 2009 19:46:19 -0000 1.39 |
22 |
+++ ChangeLog 17 Jul 2009 16:38:02 -0000 1.40 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/pychecker |
25 |
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.39 2009/01/04 19:46:19 patrick Exp $ |
27 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.40 2009/07/17 16:38:02 arfrever Exp $ |
29 |
+ |
30 |
+ 17 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
31 |
+ pychecker-0.8.18.ebuild: |
32 |
+ Fix path in /usr/bin/pychecker (bug #265384). |
33 |
|
34 |
*pychecker-0.8.18 (04 Jan 2009) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 dev-python/pychecker/pychecker-0.8.18.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: pychecker-0.8.18.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- pychecker-0.8.18.ebuild 4 Jan 2009 19:46:19 -0000 1.1 |
52 |
+++ pychecker-0.8.18.ebuild 17 Jul 2009 16:38:02 -0000 1.2 |
53 |
@@ -1,36 +1,36 @@ |
54 |
# Copyright 1999-2009 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v 1.1 2009/01/04 19:46:19 patrick Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v 1.2 2009/07/17 16:38:02 arfrever Exp $ |
58 |
+ |
59 |
+EAPI="2" |
60 |
|
61 |
inherit distutils eutils |
62 |
|
63 |
DESCRIPTION="Tool for finding common bugs in python source code" |
64 |
SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz" |
65 |
HOMEPAGE="http://pychecker.sourceforge.net/" |
66 |
+ |
67 |
+LICENSE="BSD" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" |
70 |
-LICENSE="BSD" |
71 |
IUSE="" |
72 |
+ |
73 |
DEPEND="virtual/python" |
74 |
+RDEPEND="${DEPEND}" |
75 |
+ |
76 |
DOCS="pycheckrc" |
77 |
|
78 |
-src_unpack() { |
79 |
- distutils_src_unpack |
80 |
+src_prepare() { |
81 |
+ distutils_src_prepare |
82 |
epatch "${FILESDIR}"/pychecker-0.8.17-no-data-files.patch |
83 |
epatch "${FILESDIR}"/pychecker-0.8.18-pychecker2.patch |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- distutils_src_install |
88 |
- sed -i -e "s|${D}|/|" "${D}/usr/bin/pychecker" |
89 |
+ sed -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' -i setup.py || die "sed setup.py failed" |
90 |
} |
91 |
|
92 |
pkg_postinst() { |
93 |
- python_version |
94 |
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ |
95 |
+ python_mod_optimize "$(python_get_sitedir)" |
96 |
} |
97 |
|
98 |
pkg_postrm() { |
99 |
- python_version |
100 |
- python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/ |
101 |
+ python_mod_cleanup "$(python_get_sitedir)" |
102 |
} |