Delete deprecation warnings (bug #313945).
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Wed, 23 Jun 2010 14:19:23 +0000 (14:19 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Wed, 23 Jun 2010 14:19:23 +0000 (14:19 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

media-sound/ecasound/ChangeLog
media-sound/ecasound/Manifest
media-sound/ecasound/ecasound-2.6.0.ebuild

index 5b37676ea2a54c980aff7dc99afae0635210f680..b3e6bcbc3a99c62d1d2ffbc8146bb1c10f869da5 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-sound/ecasound
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.57 2009/08/01 06:24:06 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.58 2010/06/23 14:19:23 arfrever Exp $
+
+  23 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  ecasound-2.6.0.ebuild:
+  Delete deprecation warnings (bug #313945).
 
   01 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> ecasound-2.6.0.ebuild:
   Remove USE depend for media-libs/alsa-lib[midi].
index 46ec77869c02cdd890e22daf630bc2b0d6c214f0..5520c6748b5ca2594db3ebb79af7ae87babbc59d 100644 (file)
@@ -1,4 +1,4 @@
 DIST ecasound-2.6.0.tar.gz 966629 RMD160 25ca71ff8f270ee871cb3f86f9e79e22b866d0cc SHA1 fb34fd31d112a4a1d3e1a87f302324152f62eac7 SHA256 925d12a422883c356565c542110d070f61c3693e01eaa1b00eb25082e4779f88
-EBUILD ecasound-2.6.0.ebuild 2165 RMD160 e2e82cb8e40a21f68a2bf67c2a7843898793f42f SHA1 f79f0c84f674bab64af54532a582bcb5ba4c9a31 SHA256 a9065ab27672d27b69b7001bd1370fc95e10e861b0a7aa65ee28c12bd94b54e5
-MISC ChangeLog 8767 RMD160 f3e01c2b643bc2c0c6afb1f91d915636fe24506b SHA1 792b9515ab8943acbc0e62942080aa0b292ebed8 SHA256 672211003e41f65bd3ffbdb0eb420bfd04bbef2f28da6cf2b573cf0d92b97c6c
+EBUILD ecasound-2.6.0.ebuild 1986 RMD160 7023a822540f28541bfcec11cbbf367975c708c7 SHA1 00e300f0c4f0e496d4d82c69c84cc4a4a44a080f SHA256 7c058280743ccf2a24042c128238599e00f2d9b1b4f930aa0661bbf8f465d2ee
+MISC ChangeLog 8910 RMD160 a014f8d15ee72c22cf5a6c6249aa1f6e13de03f8 SHA1 ef8d428e50426ba1abaa67c6634ea720b4d7d4e6 SHA256 1ac82d95e931a713f6f8d451152f180bf650bd44e0c96b1e20661b1c0258cae8
 MISC metadata.xml 756 RMD160 6d3c33eeed4fd27e66efc39cef9df6e4f6c0c85c SHA1 ad6acbd92059cb3a42c63831bea1cca257918199 SHA256 1f0d3106e16d53e9dc59cbb3c5859e07d8381231e7eb0812eb6bf971e99aa37c
index a4ac87222ef374293a0ce886997792054074b2d9..f6ef7d4007784caea6e54bd30d6374d2de751d7e 100644 (file)
@@ -1,10 +1,10 @@
-# 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/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.6 2009/08/01 06:24:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.7 2010/06/23 14:19:23 arfrever Exp $
 
-EAPI=2
+EAPI=3
 
-inherit eutils multilib python
+inherit eutils python
 
 DESCRIPTION="a package for multitrack audio processing"
 HOMEPAGE="http://ecasound.seul.org/ecasound"
@@ -34,10 +34,9 @@ src_configure() {
        local PYConf
 
        if use python; then
-               python_version
                PYConf="--enable-pyecasound=c
-                       --with-python-includes=/usr/include/python${PYVER}
-                       --with-python-modules=/usr/$(get_libdir)/python${PYVER}"
+                       --with-python-includes=$(python_get_includedir)
+                       --with-python-modules=$(python_get_libdir)"
        else
                PYConf="$myconf --disable-pyecasound"
        fi
@@ -67,16 +66,12 @@ src_install() {
 
 pkg_postinst() {
        if use python; then
-               ebegin "Byte-compiling ${CATEGORY}/${PF} python modules"
-               python_version
-               local PYMODULE
-               for PYMODULE in ecacontrol.py pyeca.py eci.py; do
-                       python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE}
-               done
-               eend $?
+               python_mod_optimize ecacontrol.py eci.py pyeca.py
        fi
 }
 
 pkg_postrm() {
-       python_mod_cleanup
+       if use python; then
+               python_mod_cleanup ecacontrol.py eci.py pyeca.py
+       fi
 }