Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/samba: ChangeLog samba-3.0.37.ebuild
Date: Sun, 25 Apr 2010 15:42:52
Message-Id: 20100425154248.AB1712C04C@corvid.gentoo.org
1 arfrever 10/04/25 15:42:48
2
3 Modified: ChangeLog samba-3.0.37.ebuild
4 Log:
5 Delete calls to deprecated python_version().
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.408 net-fs/samba/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/ChangeLog?rev=1.408&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/ChangeLog?rev=1.408&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/ChangeLog?r1=1.407&r2=1.408
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v
18 retrieving revision 1.407
19 retrieving revision 1.408
20 diff -u -r1.407 -r1.408
21 --- ChangeLog 8 Apr 2010 10:05:23 -0000 1.407
22 +++ ChangeLog 25 Apr 2010 15:42:48 -0000 1.408
23 @@ -1,6 +1,10 @@
24 # ChangeLog for net-fs/samba
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.407 2010/04/08 10:05:23 patrick Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.408 2010/04/25 15:42:48 arfrever Exp $
28 +
29 + 25 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
30 + samba-3.0.37.ebuild:
31 + Delete calls to deprecated python_version().
32
33 08 Apr 2010; Patrick Lauer <patrick@g.o> samba-3.5.2.ebuild:
34 Fix typo #313813
35
36
37
38 1.8 net-fs/samba/samba-3.0.37.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/samba-3.0.37.ebuild?rev=1.8&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/samba-3.0.37.ebuild?rev=1.8&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/samba-3.0.37.ebuild?r1=1.7&r2=1.8
43
44 Index: samba-3.0.37.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.37.ebuild,v
47 retrieving revision 1.7
48 retrieving revision 1.8
49 diff -u -r1.7 -r1.8
50 --- samba-3.0.37.ebuild 21 Nov 2009 20:01:08 -0000 1.7
51 +++ samba-3.0.37.ebuild 25 Apr 2010 15:42:48 -0000 1.8
52 @@ -1,6 +1,6 @@
53 -# Copyright 1999-2009 Gentoo Foundation
54 +# Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.37.ebuild,v 1.7 2009/11/21 20:01:08 nixnut Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.37.ebuild,v 1.8 2010/04/25 15:42:48 arfrever Exp $
58
59 inherit autotools eutils pam python multilib versionator confutils
60
61 @@ -79,9 +79,8 @@
62 local mylangs
63 local mymod_shared
64
65 - python_version
66 myconf="--with-python=no"
67 - use python && myconf="--with-python=${python}"
68 + use python && myconf="--with-python=$(PYTHON -a)"
69
70 use winbind && mymod_shared="--with-shared-modules=idmap_rid"
71 if use ldap ; then
72 @@ -210,7 +209,7 @@
73 if use python ; then
74 emake DESTDIR="${D}" python_install || die "emake installpython failed"
75 # We're doing that manually
76 - find "${D}/usr/$(get_libdir)/python${PYVER}/site-packages" -iname "*.pyc" -delete
77 + find "${D}$(python_get_sitedir)" -iname "*.pyc" -delete
78 fi
79
80 cd "${S}/source"
81 @@ -311,8 +310,7 @@
82
83 pkg_postinst() {
84 if use python ; then
85 - python_version
86 - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/samba
87 + python_mod_optimize $(python_get_sitedir)/samba
88 fi
89
90 if use swat ; then
91 @@ -345,7 +343,6 @@
92
93 pkg_postrm() {
94 if use python ; then
95 - python_version
96 - python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/samba
97 + python_mod_cleanup $(python_get_sitedir)/samba
98 fi
99 }