Delete calls to deprecated python_version().
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 16 Apr 2010 19:36:39 +0000 (19:36 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 16 Apr 2010 19:36:39 +0000 (19:36 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

sys-libs/libselinux/ChangeLog
sys-libs/libselinux/libselinux-2.0.71.ebuild
sys-libs/libselinux/libselinux-2.0.85.ebuild
sys-libs/libsemanage/ChangeLog
sys-libs/libsemanage/libsemanage-2.0.27.ebuild
sys-libs/libsemanage/libsemanage-2.0.33-r1.ebuild
sys-libs/libsemanage/libsemanage-2.0.33.ebuild

index 223b8dfd8ce7b8e1ec774b69951bf6d637337a55..85c748bbc9ad7e874832cb4478367c0f32c6b1a8 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sys-libs/libselinux
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.64 2009/08/02 01:50:32 pebenito Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.65 2010/04/16 19:33:16 arfrever Exp $
+
+  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Delete calls to deprecated python_version().
 
   02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
   libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
index f0c6338d8a5ea707120e46cbc55a28592c24493a..39060c10d159d4ee5c93df3bfc47fd6c0e233f09 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.0.71.ebuild,v 1.3 2009/08/02 01:50:32 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.0.71.ebuild,v 1.4 2010/04/16 19:33:16 arfrever Exp $
 
 IUSE="ruby"
 RUBY_OPTIONAL="yes"
@@ -39,9 +39,8 @@ src_unpack() {
 }
 
 src_compile() {
-       python_version
        emake LDFLAGS="-fPIC ${LDFLAGS}" all || die
-       emake PYLIBVER="python${PYVER}" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
+       emake PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
 
        if use ruby; then
                emake rubywrap || die
@@ -52,9 +51,8 @@ src_compile() {
 }
 
 src_install() {
-       python_version
        python_need_rebuild
-       make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap || die
+       make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install install-pywrap || die
 
        if use ruby; then
                emake DESTDIR="${D}" install-rubywrap || die
@@ -62,11 +60,9 @@ src_install() {
 }
 
 pkg_postinst() {
-       python_version
-       python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_optimize $(python_get_sitedir)
 }
 
 pkg_postrm() {
-       python_version
-       python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_cleanup $(python_get_sitedir)
 }
index 588a1728e9bcdf79bc9cac437e59522270b88f92..323ba4fdfcf814992476dd215e352f86e10deb5d 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.0.85.ebuild,v 1.2 2009/08/02 01:50:32 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.0.85.ebuild,v 1.3 2010/04/16 19:33:16 arfrever Exp $
 
 IUSE="ruby"
 RUBY_OPTIONAL="yes"
@@ -39,9 +39,8 @@ src_unpack() {
 }
 
 src_compile() {
-       python_version
        emake LDFLAGS="-fPIC ${LDFLAGS}" all || die
-       emake PYLIBVER="python${PYVER}" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
+       emake PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
 
        if use ruby; then
                emake rubywrap || die
@@ -52,9 +51,8 @@ src_compile() {
 }
 
 src_install() {
-       python_version
        python_need_rebuild
-       make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap || die
+       make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install install-pywrap || die
 
        if use ruby; then
                emake DESTDIR="${D}" install-rubywrap || die
@@ -62,11 +60,9 @@ src_install() {
 }
 
 pkg_postinst() {
-       python_version
-       python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_optimize $(python_get_sitedir)
 }
 
 pkg_postrm() {
-       python_version
-       python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_cleanup $(python_get_sitedir)
 }
index 384550e5f6c6887396395fdbe390259c6154ba78..a819786ed118ba978cc0122428ce17cabe1600de 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-libs/libsemanage
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.28 2009/08/24 18:36:16 pebenito Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.29 2010/04/16 19:36:39 arfrever Exp $
+
+  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libsemanage-2.0.27.ebuild, libsemanage-2.0.33.ebuild,
+  libsemanage-2.0.33-r1.ebuild:
+  Delete calls to deprecated python_version().
 
 *libsemanage-2.0.33-r1 (24 Aug 2009)
 
index 5a25449e88d89f20e5a78361242b0fe7318e16b0..4212c42da81c65b8e09fd39f6f84172303ca88f3 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.27.ebuild,v 1.3 2009/08/02 01:54:26 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.27.ebuild,v 1.4 2010/04/16 19:36:39 arfrever Exp $
 
 IUSE=""
 
@@ -51,23 +51,19 @@ src_unpack() {
 }
 
 src_compile() {
-       python_version
-       emake PYLIBVER="python${PYVER}" all || die
-       emake PYLIBVER="python${PYVER}" pywrap || die
+       emake PYLIBVER="python$(python_get_version)" all || die
+       emake PYLIBVER="python$(python_get_version)" pywrap || die
 }
 
 src_install() {
-       python_version
        python_need_rebuild
-       make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap
+       make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install install-pywrap
 }
 
 pkg_postinst() {
-       python_version
-       python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_optimize $(python_get_sitedir)
 }
 
 pkg_postrm() {
-       python_version
-       python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_cleanup $(python_get_sitedir)
 }
index 7341e7259f5d024ac925adf3be7fd5f8ee3236c1..97cfee294c6a2b7eb392e880fc3b03abc06d6820 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33-r1.ebuild,v 1.1 2009/08/24 18:36:16 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33-r1.ebuild,v 1.2 2010/04/16 19:36:39 arfrever Exp $
 
 IUSE=""
 
@@ -57,25 +57,21 @@ src_unpack() {
 }
 
 src_compile() {
-       python_version
-       emake PYLIBVER="python${PYVER}" all || die
-       emake PYLIBVER="python${PYVER}" pywrap || die
+       emake PYLIBVER="python$(python_get_version)" all || die
+       emake PYLIBVER="python$(python_get_version)" pywrap || die
 }
 
 src_install() {
-       python_version
        python_need_rebuild
-       make DESTDIR="${D}" PYLIBVER="python${PYVER}" \
+       make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" \
                LIBDIR="${D}/usr/$(get_libdir)/" \
                SHLIBDIR="${D}/$(get_libdir)/" install install-pywrap
 }
 
 pkg_postinst() {
-       python_version
-       python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_optimize $(python_get_sitedir)
 }
 
 pkg_postrm() {
-       python_version
-       python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_cleanup $(python_get_sitedir)
 }
index ead025f6f5261aa1291419d43378596bc44d8a6a..5dfbd666bc4b89029872ff8be1c88392dec065af 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33.ebuild,v 1.3 2009/08/03 13:30:03 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33.ebuild,v 1.4 2010/04/16 19:36:39 arfrever Exp $
 
 IUSE=""
 
@@ -51,23 +51,19 @@ src_unpack() {
 }
 
 src_compile() {
-       python_version
-       emake PYLIBVER="python${PYVER}" all || die
-       emake PYLIBVER="python${PYVER}" pywrap || die
+       emake PYLIBVER="python$(python_get_version)" all || die
+       emake PYLIBVER="python$(python_get_version)" pywrap || die
 }
 
 src_install() {
-       python_version
        python_need_rebuild
-       make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap
+       make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install install-pywrap
 }
 
 pkg_postinst() {
-       python_version
-       python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_optimize $(python_get_sitedir)
 }
 
 pkg_postrm() {
-       python_version
-       python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+       python_mod_cleanup $(python_get_sitedir)
 }