[proaudio] [2181] Fixed python compilation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2181
Author: dominique
Date: 2012-07-28 21:08:19 +0200 (Sat, 28 Jul 2012)
Log Message:
-----------
Fixed python compilation
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/a2jmidid/Manifest
trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-9999.ebuild
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog
Added: trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog 2012-07-28 19:08:19 UTC (rev 2181)
@@ -0,0 +1,7 @@
+# ChangeLog for media-sound/a2jmidid
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 28 Jul 2012; Dominique Michel <dominique@xxxxxxxxxxxxx> +ChangeLog:
+ initial ChangeLog
+ a2jmidid-9999.ebuild: Added python eclass and fixed compiling when python3 is installed.
Modified: trunk/overlays/proaudio/media-sound/a2jmidid/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/a2jmidid/Manifest 2012-07-26 20:33:53 UTC (rev 2180)
+++ trunk/overlays/proaudio/media-sound/a2jmidid/Manifest 2012-07-28 19:08:19 UTC (rev 2181)
@@ -1,2 +1,3 @@
-EBUILD a2jmidid-9999.ebuild 894 RMD160 35fca70cea3622d11b3606a12a0f03c24e8f6381 SHA1 2c091814cf9291b2923cd04ed481130b60ac9b87 SHA256 605b5ac35a80da64c7d5379ae8ff95cf2d98380aa3c14230cd4481ea5049d7d6
-MISC metadata.xml 269 RMD160 57a33f740ca5851e5dc49193ad0c08bc0fd9ee53 SHA1 74fbb5d91a0ec978c870e891a82f7c1e6e4ae030 SHA256 ddc823c2cad73241c51cdde403aa2230cbe94903e89d97b0c95f0a34b137d3e0
+EBUILD a2jmidid-9999.ebuild 970 SHA256 db190103cee20f4bb0b5d55c287ca4b7e57b15832925b08312c54e129946e2d3 SHA512 532a2404d7a0dd08820b49d761195d3784178694b0f3a42200904770ac6af1cd56ce8f8b3007d55abe828022b2495855863b603f29891591eba6e8cba7eedabc WHIRLPOOL 22e74adad2f9af2729c1688bdd62c4e301d5585168d810e72295d286d42293a862193579d01491451a76f167db7ea532ef9d9b05b287da03e57e80a5440de26e
+MISC ChangeLog 302 SHA256 6b59ed6f7956034d4338ddd85ab6b90164cf357ec13696c201d008ee47b9cb67 SHA512 2670ca5cd107076403bd0da7da4f62550427314cdc379f3f34abfea9def17cfe9ec35a3832d885c15a4beb98edffcdcc192d3a2e888eb347c12cf58fd1fcc969 WHIRLPOOL 3364c5db5f16c34a93bb329c6e21d649367db73f9d22f48af3ddacfe3d067a2c674afc8bb8c2962141ad5f6a7684eeca377789efbb23690e8a17212c82300105
+MISC metadata.xml 269 SHA256 ddc823c2cad73241c51cdde403aa2230cbe94903e89d97b0c95f0a34b137d3e0 SHA512 44af54d26940caccb0d307f2483f2ed66f53d72ab9b78bae764f692fde71403befd2bd791b2543df759f7181a237f47d09488df25ce6e0c5ca9ebcb44dfbb829 WHIRLPOOL 69d669c1e2472679e9b44a70c247fc125705ef729e36c774b1a11a09326d53065a473a456362600e35b73f57dd35edbc4b77957807bebcd77732dca26e526ef6
Modified: trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-9999.ebuild 2012-07-26 20:33:53 UTC (rev 2180)
+++ trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-9999.ebuild 2012-07-28 19:08:19 UTC (rev 2181)
@@ -4,7 +4,8 @@
EAPI=2
-inherit git toolchain-funcs
+PYTHON_DEPEND="2:2.7"
+inherit git python toolchain-funcs
DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
HOMEPAGE="http://home.gna.org/a2jmidid/"
@@ -19,9 +20,13 @@
media-sound/jack-audio-connection-kit
sys-apps/dbus"
DEPEND="${RDEPEND}
- dev-util/pkgconfig
- dev-lang/python"
+ dev-util/pkgconfig"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_compile() {
tc-export CC AR CPP LD RANLIB
./waf configure --prefix=/usr || die "failed to configure"