[proaudio] [2282] pyjack: added a ChangeLog; added examples installation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2282
Author: dominique
Date: 2012-11-10 17:20:18 +0100 (Sat, 10 Nov 2012)
Log Message:
-----------
pyjack: added a ChangeLog; added examples installation
Modified Paths:
--------------
trunk/overlays/proaudio/media-libs/pyjack/Manifest
trunk/overlays/proaudio/media-libs/pyjack/pyjack-0.5.2.ebuild
Added Paths:
-----------
trunk/overlays/proaudio/media-libs/pyjack/ChangeLog
Added: trunk/overlays/proaudio/media-libs/pyjack/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/pyjack/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-libs/pyjack/ChangeLog 2012-11-10 16:20:18 UTC (rev 2282)
@@ -0,0 +1,7 @@
+# ChangeLog for media-libs/pyjack
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 10 Nov 2012: Dominique Michel <dominique@xxxxxxxxxxxxx>
+ pyjack-0.5.2.ebuild: add python eclass support;
+ add examples installation and USE flag
Modified: trunk/overlays/proaudio/media-libs/pyjack/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/pyjack/Manifest 2012-11-10 15:02:25 UTC (rev 2281)
+++ trunk/overlays/proaudio/media-libs/pyjack/Manifest 2012-11-10 16:20:18 UTC (rev 2282)
@@ -1,2 +1,3 @@
-DIST pyjack-0.5.2.tar.gz 28042 RMD160 34c7e1df697b1e8f42a0aa46555fccb9ccb57d92 SHA1 5137f4e520a6542067dd18fb98d4110f2ea26e6e SHA256 a35bd7d5bcbb7f61466db0645aaa733213f4df4483247526d6efe74f1d071f07
-EBUILD pyjack-0.5.2.ebuild 480 RMD160 546163d7b366cc2f8cb021ff5d824fccb3ed74ca SHA1 234bb9bf2ce9d2bff6c827b45e7fe597be51739f SHA256 9de5a0c06250c3ae7f446da2e1e1e063677f655209a0c4c349fc892e05312bd5
+DIST pyjack-0.5.2.tar.gz 28042 SHA256 a35bd7d5bcbb7f61466db0645aaa733213f4df4483247526d6efe74f1d071f07 SHA512 98716e890417f6c2dc255438b81b20d6313c405eccb52c807fc8478c6f6e80471d897278aa8392282879e54e0cf1097ca8304c12c33dbf39c6f95eb93c2bdbc2 WHIRLPOOL 7dbfb11feaf4498bdca7e090e0922726283fefc4b9e6977d72cf9d0bda69d528a2782b6ec49f2126992fca0bfad3e63bc289ea38126f9f477da5378f50df5d54
+EBUILD pyjack-0.5.2.ebuild 735 SHA256 c9480f8047c72d5b607913f148aa0fedf74419a5d247ce6d973942c9aabb1a48 SHA512 2f76d1bc65897b4a007ab4fb85f4c24b1310aae3d5a523aa479297da86c5778f6ce777c951a99bbcc21356cd7eeaf013ff976c5b9a5e1b08dd8f7aa9d1b966e0 WHIRLPOOL fef5972201c011dc6042c20388957e15b087c2f073aaf825cd19fabeedd0f04d623e4dff3c611435a0a923a6c0116ee1974f4539d0344a2641133929cc74112e
+MISC ChangeLog 267 SHA256 792da3c402ec4ceb1818acb8fcea6c539ce5036ad8dabab513604c89fb9af12c SHA512 c1bbedc25d34d480662c0f59b0409035d9c242b595786d8fd172bd65619c8bc9044a0f110530e07b4ff888983eade92c1bcd7c27fd1d41be71b63e4c750d9c18 WHIRLPOOL 1d3f6a41be6b9d3b6342d4298ed3b5eea65e203c23942fa9a8cd400bd979a1ffbb5af6cf431385dd64370b74844945f06c8764f99f30d143510789b005301278
Modified: trunk/overlays/proaudio/media-libs/pyjack/pyjack-0.5.2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/pyjack/pyjack-0.5.2.ebuild 2012-11-10 15:02:25 UTC (rev 2281)
+++ trunk/overlays/proaudio/media-libs/pyjack/pyjack-0.5.2.ebuild 2012-11-10 16:20:18 UTC (rev 2282)
@@ -4,19 +4,34 @@
EAPI=3
-inherit distutils
+PYTHON_DEPEND="2"
+inherit distutils python
DESCRIPTION="jack audio client module for python"
HOMEPAGE="http://py-jack.sourceforge.net/"
-SRC_URI="http://downloads.sourceforge.net/project/py-jack/py-jack/${PVR}/pyjack-${PVR}.tar.gz"
+SRC_URI="http://downloads.sourceforge.net/project/py-jack/py-jack/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="examples"
DEPEND="
media-sound/jack-audio-connection-kit
dev-lang/python
"
RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+
+if use "examples" ; then
+ src_install() {
+ distutils_src_install
+ insinto ${ROOT}/usr/share/doc/${PF}/examples
+ doins demos/* || die "Cannot install demos"
+ }
+fi