diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-23 13:05:04 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-23 13:05:04 +0000 |
commit | 337d7cc8fd59f705010c0199a0c3bc7d29640873 (patch) | |
tree | 63d66d272990984476c772a31fa27e1f6d761e4f /dev-python/pyao | |
parent | Version bump, change qa&inquisitio dependency from pcre++ to libpcre[cxx] for... (diff) | |
download | historical-337d7cc8fd59f705010c0199a0c3bc7d29640873.tar.gz historical-337d7cc8fd59f705010c0199a0c3bc7d29640873.tar.bz2 historical-337d7cc8fd59f705010c0199a0c3bc7d29640873.zip |
Small fix for >=python-2.5. Thanks to gilhad for the patch. Fixes #257550
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyao')
-rw-r--r-- | dev-python/pyao/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pyao/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyao/files/pyao-fix-deallocation.patch | 12 | ||||
-rw-r--r-- | dev-python/pyao/pyao-0.82-r1.ebuild | 34 |
4 files changed, 57 insertions, 3 deletions
diff --git a/dev-python/pyao/ChangeLog b/dev-python/pyao/ChangeLog index 5eecb0bb6015..0921efc2ce7a 100644 --- a/dev-python/pyao/ChangeLog +++ b/dev-python/pyao/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyao -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyao/ChangeLog,v 1.13 2007/02/22 00:34:01 peper Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyao/ChangeLog,v 1.14 2009/04/23 13:05:04 patrick Exp $ + +*pyao-0.82-r1 (23 Apr 2009) + + 23 Apr 2009; Patrick Lauer <patrick@gentoo.org> + +files/pyao-fix-deallocation.patch, +pyao-0.82-r1.ebuild: + Small fix for >=python-2.5. Thanks to gilhad for the patch. Fixes #257550 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/dev-python/pyao/Manifest b/dev-python/pyao/Manifest index 58a3c1f943ff..30b7656dbc50 100644 --- a/dev-python/pyao/Manifest +++ b/dev-python/pyao/Manifest @@ -1,6 +1,8 @@ +AUX pyao-fix-deallocation.patch 342 RMD160 e67f4488444805c3af2d806af43d41960a066c1d SHA1 c84d8b50fa6de35305bd752d1911fafc61c4178e SHA256 45ec10a444652fcfff73f314891018aaea165ad79c1bf5753a939ab3341b12fc DIST pyao-0.81.tar.gz 16066 RMD160 348a1c026d5a08128cbe0a0f7e93a23aa1877a2d SHA1 7761e64c430b18fd98cbf59e5b027ad9b9c07f84 SHA256 5e197597781de615ddf9f1c9201010bc3ccec08dbebecf9f9aef5dc99ea07d1a DIST pyao-0.82.tar.gz 15399 RMD160 6d602ef060ddc22b4cff841741c90fa88af45fed SHA1 9b213da96030648a5fa589d5eab7e1791374e269 SHA256 9a444518252f6d747e76a219e5efbc05b4e1742260a7419da9ddf93a519b30c5 EBUILD pyao-0.81.ebuild 569 RMD160 2ab48722d1dea2b5b21a0fc8f66a6400dea76d4a SHA1 8c083cdac43fde805f2e5b4b610b481003df659e SHA256 1f342e77c95d9beb134fc89601ffdeb429c051f2f28c6db6f0850eee554665b4 +EBUILD pyao-0.82-r1.ebuild 807 RMD160 aff364e3a8f80be0257ef929f50068f6f9d53db8 SHA1 996f461f4e6ab3ca2d121149a364d94833a237f9 SHA256 19613723125f571544feee7e9b50585dd6ac1a83a1e884f3c8fcd38d07ae4ba4 EBUILD pyao-0.82.ebuild 685 RMD160 de86b270a5036cbabb996dc45e7780dad4994175 SHA1 a200bbd0d07ba7d0c43d68c532568640faa34ebb SHA256 dcf4a609d97a0241a0c336386fe8910ec74678429945d10b453c9f937fdcd9f6 -MISC ChangeLog 1479 RMD160 985e1addaed2a9a612cf6d1772827ab3a49d11bc SHA1 632869ec147ad6d0d4b0cd163ba2248a69be0e5f SHA256 fe24008082dcc5657841003a5e43931dfab668b08ceeb39a4a1b6cbf407a2545 +MISC ChangeLog 1697 RMD160 df133df3aa60a9fe8f8bfbb3bb832226fde47da8 SHA1 47049f19c34336e7a3fda9184806fe8256548cc0 SHA256 e8bf206e5ad8cd0877d274f4e8469133f206da65c6bb85b33600fa4e2d9bcc30 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/pyao/files/pyao-fix-deallocation.patch b/dev-python/pyao/files/pyao-fix-deallocation.patch new file mode 100644 index 000000000000..ae422272da82 --- /dev/null +++ b/dev-python/pyao/files/pyao-fix-deallocation.patch @@ -0,0 +1,12 @@ +diff -ru pyao-0.82/src/aomodule.c pyao-0.82.ok/src/aomodule.c +--- pyao-0.82/src/aomodule.c 2003-07-24 08:52:59.000000000 +0200 ++++ pyao-0.82.ok/src/aomodule.c 2009-02-04 03:22:17.000000000 +0100 +@@ -150,7 +150,7 @@ + py_ao_dealloc(ao_Object *self) + { + ao_close(self->dev); +- PyMem_DEL(self); ++ PyObject_FREE(self); + } + + static PyObject * diff --git a/dev-python/pyao/pyao-0.82-r1.ebuild b/dev-python/pyao/pyao-0.82-r1.ebuild new file mode 100644 index 000000000000..5a3ef0beee97 --- /dev/null +++ b/dev-python/pyao/pyao-0.82-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyao/pyao-0.82-r1.ebuild,v 1.1 2009/04/23 13:05:04 patrick Exp $ + +inherit eutils distutils + +DESCRIPTION="Python bindings for the libao library" +HOMEPAGE="http://www.andrewchatham.com/pyogg/" +SRC_URI="http://www.andrewchatham.com/pyogg/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc -sparc ~x86" +IUSE="" + +DEPEND="virtual/python + >=media-libs/libao-0.8.3" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/pyao-fix-deallocation.patch" || die +} + +src_compile() { + ./config_unix.py || die + distutils_src_compile +} + +src_install() { + distutils_src_install + insinto /usr/share/doc/${PF}/examples + doins test.py +} |