[proaudio] [2533] media-libs/alsaplayer-python: move to distutils-r1, fix boost depend , add patches, change keywording, cleanup |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2533
Author: lilrc
Date: 2013-03-11 19:34:11 +0100 (Mon, 11 Mar 2013)
Log Message:
-----------
media-libs/alsaplayer-python: move to distutils-r1, fix boost depend, add patches, change keywording, cleanup
Modified Paths:
--------------
trunk/overlays/proaudio/media-libs/alsaplayer-python/ChangeLog
trunk/overlays/proaudio/media-libs/alsaplayer-python/Manifest
trunk/overlays/proaudio/media-libs/alsaplayer-python/metadata.xml
Added Paths:
-----------
trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r2.ebuild
trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-libboost.patch
trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-undefined.patch
Removed Paths:
-------------
trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r1.ebuild
Modified: trunk/overlays/proaudio/media-libs/alsaplayer-python/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/ChangeLog 2013-03-11 15:41:22 UTC (rev 2532)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/ChangeLog 2013-03-11 18:34:11 UTC (rev 2533)
@@ -1,7 +1,22 @@
# ChangeLog for media-libs/alsaplayer-python
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*alsaplayer-python-0.3.1-r2 (11 Mar 2013)
+
+ 11 Mar 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+ -alsaplayer-python-0.3.1-r1.ebuild, +alsaplayer-python-0.3.1-r2.ebuild,
+ +files/alsaplayer-python-0.3.1-libboost.patch,
+ +files/alsaplayer-python-0.3.1-undefined.patch, metadata.xml:
+ Clear cvs header.
+ Use EAPI 5.
+ Move to distutils-r1 eclass.
+ Keyword for ~x86 and ~amd64.
+ Fix boost dependency.
+ Patch to remove undefined symbols.
+ Patch to find correct boost library.
+ Remove no-herd from metadata.xml.
+
10 Nov 2010; Dominique Michel <dominique#tuxfamily.org> :
Updated python version variable
Modified: trunk/overlays/proaudio/media-libs/alsaplayer-python/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/Manifest 2013-03-11 15:41:22 UTC (rev 2532)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/Manifest 2013-03-11 18:34:11 UTC (rev 2533)
@@ -1,4 +1,6 @@
-DIST python_alsaplayer-0.3.1.tar.bz2 17384 RMD160 5ba0dc4ce8869000c43dd8cfa59f5f3621a1b574 SHA1 51ac14b2afbc1ae03b1c34372ea9eb09a3ec1348 SHA256 3f3f00bbb5c20a2c96ba9c72ce08e85060843f045820675e04236a7a1c965f5c
-EBUILD alsaplayer-python-0.3.1-r1.ebuild 742 RMD160 958ddeb432cff5c454d7229c5342b4cf479791cc SHA1 d537a4ae3ff44bcf052ea0926692db13e9a404f4 SHA256 24ffaf6f9d1a2eef02be258c469dd3a023aca0f74b7489c9524d7d8ba7af1b10
-MISC ChangeLog 311 RMD160 5820eb2a91409fa104dc375071b7fc990941fc2a SHA1 aca9aeacbfeb4e3fd923948e8d000fdbec28a2a2 SHA256 1bedfa7e174a143a3ab8db922da1fcda2169910b21de186c22c21836fa4cd73e
-MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
+AUX alsaplayer-python-0.3.1-libboost.patch 937 SHA256 66becc8c41a41c68edeea8fabf908520f2eb09a60df93392fadf21d7f9fc4c93 SHA512 f46c4ea12763f3171fc89106e89a8cb4c7a783dc088d0c02e3f14f5c4c4bed34d515e00345cec47ec0d2564fc8878e58d9bdcb846c3546f7cac4e5c3fef69235 WHIRLPOOL d07eeb22377583de8ff2f5a3c5268a3e7b8dbe2b740378ed9897a65de8e901850129c94cce716ae3e6b421d2785171ced614b3e8ad810a241b9405e46540b3db
+AUX alsaplayer-python-0.3.1-undefined.patch 770 SHA256 311d6cb54053f1da928326a060110a6650ae0fdb7daea697fdaedb1061a3e5d5 SHA512 524e9515f8daf675c4b69f187e9820ca76d5aa3cec0993a4db3416d93a8945344434f45207dff97fa6702b36fb84bb25fb4acf2675d1e3ac55437ff6633830e7 WHIRLPOOL f1886ddba95d7a6743387b48fda004950717a70b0a6e3973da5c30592c6672490bda720219114c4ab4eb8afcc5896b03cd052b99e349bc3e5764d23674c84c26
+DIST python_alsaplayer-0.3.1.tar.bz2 17384 SHA256 3f3f00bbb5c20a2c96ba9c72ce08e85060843f045820675e04236a7a1c965f5c SHA512 038d1e5f0d5fa24e3568a244d5702019510e2e73593c783fbda065f97de4cd07e062fb4b859f66f036c8bc9bc87f681de404edb1d7453dafb3d79aef7a651283 WHIRLPOOL 8a1d606dd50928cb4750079378bbb170a7e4b206e12983968833f09e28f5b9cff73da51fbe83406d385e13cb06303a4d054fcea70defab2fdfb0d2d2bbbe03e2
+EBUILD alsaplayer-python-0.3.1-r2.ebuild 715 SHA256 530ac9c382862049ee4fe23c7a10439c67ecd2cae60f55fefd710db811dd70f1 SHA512 cc52f2287a6ed9fb1fa35fafe0f59c94c475d7f8642e0b947a087181c4195d9683abbc9a2696de2dbb388424b91ed3b7599a5f36efd61202af66e85c08887a75 WHIRLPOOL ddb2c978b9c2e8cac4a669a5fde31f107c389d60c9c729533b938dcd3ea6a92250eab81321e593108b605b9833a6b6714b5130d86c4369e8e9d513ee55b16126
+MISC ChangeLog 839 SHA256 fd19c3e3ada3dd8d739d0bbbf52819064f4bcfe98ce8862a46ad07858ad10bb1 SHA512 1f9fda6f9a798efd5ca7059b2cee96d10fc641b3cd03fb22b9bf2167a362a96f038cd7ef93ccdfb8bd31482cac55f70bfda36117e2c21dcd8b15738ca22f2378 WHIRLPOOL 9b9a008fab93d4470ab2eaf71ae2cc0f466e66d18c33a251af946de6a1483f57d415cf392e89951558edfc176573f6a61ad1ddd195974b6d7dba89a0d9842dd3
+MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f
Deleted: trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r1.ebuild 2013-03-11 15:41:22 UTC (rev 2532)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r1.ebuild 2013-03-11 18:34:11 UTC (rev 2533)
@@ -1,34 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.76-r3.ebuild,v 1.6 2006/07/12 22:05:09 agriffis Exp $
-
-PYTHON_DEPEND="2"
-
-inherit eutils distutils # autotools
-
-MY_P="python"
-MY_PN="${MY_P}_alsaplayer"
-
-RESTRICT="mirror"
-
-DESCRIPTION="New Python bindings for Alsaplayer."
-HOMEPAGE="http://alsaplayer.sourceforge.net/"
-SRC_URI="mirror://sourceforge/alsaplayer/${MY_PN}-${PV}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-S=${WORKDIR}/${MY_P}
-
-RDEPEND="media-sound/alsaplayer
- dev-lang/python
- dev-libs/boost"
-
-DEPEND="${RDEPEND}"
-
-src_install() {
-# python setup.py install
- distutils_src_install
-}
Copied: trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r2.ebuild (from rev 2523, trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r1.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r2.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/alsaplayer-python-0.3.1-r2.ebuild 2013-03-11 18:34:11 UTC (rev 2533)
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
+inherit distutils-r1
+
+MY_P="python"
+MY_PN="${MY_P}_alsaplayer"
+
+RESTRICT="mirror"
+
+DESCRIPTION="New Python bindings for Alsaplayer."
+HOMEPAGE="http://alsaplayer.sourceforge.net/"
+SRC_URI="mirror://sourceforge/alsaplayer/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="media-sound/alsaplayer
+ dev-libs/boost[python,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog README )
+PATCHES=(
+ "${FILESDIR}/${P}-undefined.patch"
+ "${FILESDIR}/${P}-libboost.patch"
+)
Added: trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-libboost.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-libboost.patch (rev 0)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-libboost.patch 2013-03-11 18:34:11 UTC (rev 2533)
@@ -0,0 +1,28 @@
+--- python.orig/setup.py 2007-07-08 21:46:19.000000000 +0200
++++ python/setup.py 2013-03-11 19:14:11.084906745 +0100
+@@ -2,6 +2,8 @@
+
+ from distutils.core import setup, Extension
+
++import sys
++
+ long_description='''
+ A set of python bindings for the alsaplayer libraries. These are written in
+ C++ using boost.python and are intended to provide a minimal level of
+@@ -9,6 +11,8 @@
+ can then be written purely in python.
+ '''
+
++boost_lib = 'boost_python-{0}.{1}'.format(sys.version_info[0], sys.version_info[1])
++
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Intended Audience :: Developers',
+@@ -29,6 +33,6 @@
+ ['control.cc'],
+ include_dirs=[],
+ library_dirs=[],
+- libraries=['alsaplayer', 'boost_python'])
++ libraries=['alsaplayer', boost_lib])
+ ]
+ )
Added: trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-undefined.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-undefined.patch (rev 0)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/files/alsaplayer-python-0.3.1-undefined.patch 2013-03-11 18:34:11 UTC (rev 2533)
@@ -0,0 +1,28 @@
+--- python.orig/control.cc 2007-07-08 21:42:46.000000000 +0200
++++ python/control.cc 2013-03-11 18:57:39.840939431 +0100
+@@ -150,12 +150,6 @@
+ int get_length(int sid)
+ { return get<int>(ap_get_length, sid); }
+
+- int get_frame(int sid)
+- { return get<int>(ap_get_frame, sid); }
+-
+- int get_frames(int sid)
+- { return get<int>(ap_get_frames, sid); }
+-
+ std::string get_stream_type(int sid)
+ { return get_string<AP_STREAM_TYPE_MAX>(ap_get_stream_type, sid); }
+
+@@ -298,12 +292,6 @@
+ ap_set_position_relative);
+ def("get_length",
+ ::get_length);
+- def("set_frame",
+- ap_set_frame);
+- def("get_frame",
+- ::get_frame);
+- def("get_frames",
+- ::get_frames);
+ def("get_stream_type",
+ ::get_stream_type);
+ def("get_status",
Modified: trunk/overlays/proaudio/media-libs/alsaplayer-python/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-libs/alsaplayer-python/metadata.xml 2013-03-11 15:41:22 UTC (rev 2532)
+++ trunk/overlays/proaudio/media-libs/alsaplayer-python/metadata.xml 2013-03-11 18:34:11 UTC (rev 2533)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
<maintainer>
<email>proaudio@xxxxxxxxxxxxx</email>
<name>pro-audio overlay team</name>