[proaudio] [2730] media-sound/a2jmidid: python-single-r1, NO_WAF_LIBDIR, src_configure cleanup

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2730
Author:   lilrc
Date:     2013-05-11 09:59:39 +0200 (Sat, 11 May 2013)
Log Message:
-----------
media-sound/a2jmidid: python-single-r1, NO_WAF_LIBDIR, src_configure cleanup

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog
    trunk/overlays/proaudio/media-sound/a2jmidid/Manifest
    trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-99999.ebuild

Modified: trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog	2013-05-10 08:57:47 UTC (rev 2729)
+++ trunk/overlays/proaudio/media-sound/a2jmidid/ChangeLog	2013-05-11 07:59:39 UTC (rev 2730)
@@ -2,6 +2,13 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 May 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+  a2jmidid-99999.ebuild:
+  Move to python-single-r1 eclass.
+  Specify NO_WAF_LIBDIR to avoid passing invalid option --libdir to waf.
+  Clean up in src_configure
+  Rearrange DOCS.
+
   18 Mar 2013; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxxxxxxxx>
   a2jmidid-99999.ebuild: Added dbus USE flag
 

Modified: trunk/overlays/proaudio/media-sound/a2jmidid/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/a2jmidid/Manifest	2013-05-10 08:57:47 UTC (rev 2729)
+++ trunk/overlays/proaudio/media-sound/a2jmidid/Manifest	2013-05-11 07:59:39 UTC (rev 2730)
@@ -1,3 +1,3 @@
-EBUILD a2jmidid-99999.ebuild 1204 SHA256 5e06a86f9c87b7dbbab1d668aa140cb471b5b4f6371112782bb97cb4b1f6dc04 SHA512 a1841c6448d556a06af5f669a42249e01a0abeee076c80b0d7138cddadcb37fc7456e7871879cd2b8aeee90685cdec1dd3b0c91f4d14a745f382d98b997c7883 WHIRLPOOL f49808f5c66e544e7db9a51670f27ed050abd9c20e50233c4f306f72425b4c7bcc20013fb8bc2da0faf9c45940fe506b04c58ea1ba0173dd3ef75b78de999693
-MISC ChangeLog 740 SHA256 82cce91b2f0ab30eeffe9a2c01d29f0d1ea4f1be38751c438f30c0af9dbfe1ab SHA512 a75a5fe6dc4edbd0052c5efa48721b4995edf8f539518b5ddaea0dad0c9fc308a2d650714a9a02880c8f4ffabc5fc4fd34cb01f8ca83dbb3ba56fae63ccbb75e WHIRLPOOL 7de92e7968e540a9c0870ecae190d71a92f0fd2be93169385761dcc90829cc96222aec23d95b3d38774ea70165137598f50276293c61814c8b369cea8c254150
+EBUILD a2jmidid-99999.ebuild 854 SHA256 63993086bb9d3d9b8ce333d511715fe18cd357a9da6aef113fce8b02584e869f SHA512 054b14606a5ad57bce1f1afcdafd7ec02906b7b4587507bc685ab866897a08dbc2a0ce5222f3b603c0f9f0c9e46771460ad5209a4e67bd578fb0ec4104c1c3c8 WHIRLPOOL 361fcfb1c7111dc1ed737a489eec17e2da1f8d3e308bdd2743213112916e1788924944842e32942b1149a6ff6829fc38f72c0fc6a2a7d88527e1bc7d385d65b7
+MISC ChangeLog 985 SHA256 cc363942b536a0015f21998e757156dfa01fe8d341f9fc89c452b41d5336dbc6 SHA512 c0bb0c12d50317f03a6f8c52cd441d003e56285669b4cbdd3cee0528b59643a58c31d4128a40738927971f37193c4adfcca47ffaab5e5e4114709342ae9e424f WHIRLPOOL fc5bda1e6e2a7df164607a415704c053de929c8e08aa628e977b73ab8866eee7b2a9ce2156c2c34183d382cb50cc93acae4a319917615759fe1477b86c63ae1f
 MISC metadata.xml 247 SHA256 c2427c0b91734561d67ea45714ace7c8ee38104b3087a859cf8eaa8a72b5c71b SHA512 0c03342f0c6e6edd1d172515b70e59ca767b531ce213acf96b4a52f0f34d1718a766448d34a9c084455d3efd4d78f69ece89cfc77abd5e46af493b94221d5be7 WHIRLPOOL 4dd29b07da8a82133292754463244a27d098d4c5eead41e4c9f4a012c4c103e4f7eaf1eea6a9e0957fd8d4dc2a4691e88e7e29fb182215eebd2c55c95f962d09

Modified: trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-99999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-99999.ebuild	2013-05-10 08:57:47 UTC (rev 2729)
+++ trunk/overlays/proaudio/media-sound/a2jmidid/a2jmidid-99999.ebuild	2013-05-11 07:59:39 UTC (rev 2730)
@@ -1,15 +1,15 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-6.ebuild,v 1.1 2010/01/09 18:49:56 aballier Exp $
+# $Header: $
 
-EAPI=4
-PYTHON_DEPEND="2"
+EAPI="5"
 
-inherit git-2 python toolchain-funcs waf-utils
+PYTHON_COMPAT=( python2_7 )
+inherit git-2 python-single-r1 waf-utils
 
 DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
 HOMEPAGE="http://home.gna.org/a2jmidid/";
-EGIT_REPO_URI="git://repo.or.cz/a2jmidid.git"
+EGIT_REPO_URI="git://repo.or.cz/${PN}.git"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -22,30 +22,22 @@
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-DOCS=(AUTHORS README NEWS internals.txt)
+DOCS=( AUTHORS NEWS README internals.txt )
 
-pkg_setup() {
-	python_set_active_version 2
-	python_pkg_setup
-}
-
 src_unpack() {
 	git-2_src_unpack
 }
 
 src_configure() {
-	WAF_BINARY="./waf"
-	tc-export CC AR CPP LD RANLIB
-	local myconf
-	myconf="--prefix=${EPREFIX}/usr"
-	if use !dbus ; then
-		myconf="${myconf} --disable-dbus"
-	fi
-	# waf fail if I write "${myconf}" 
-	CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ${WAF_BINARY} configure ${myconf} || die "failed to configure"
+	local mywafconfargs=(
+		$(usex dbus "" --disable-dbus)
+	)
+
+	NO_WAF_LIBDIR="1"
+	waf-utils_src_configure ${mywafconfargs[@]}
 }
 
 src_install() {
 	waf-utils_src_install
-	python_convert_shebangs -r 2 "${ED}"
+	python_fix_shebang "${ED}"
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/