[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2024-06-24 Thread Sam James
commit: 765cbe9e259d277abfaa186a9d5cb2d7725b211a
Author: Aliaksei Urbanski  gmail  com>
AuthorDate: Wed Jun 19 00:59:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 25 02:08:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=765cbe9e

media-libs/aubio: revbump to 0.4.9-r4

These changes fix:
  - compile with python-exec[-native-symlinks]
  - GCC 14 compatibility
  - NumPy 2 compatibility
  - documentation issues:
* partially missing docs on the first install
* duplicated docs on reinstalls
  - missing blas USE flag
  - missing pytest dependency

[sam: Drop the changes to -r2.]

Closes: https://bugs.gentoo.org/933405
Closes: https://bugs.gentoo.org/925102
Bug: https://bugs.gentoo.org/589262
Signed-off-by: Aliaksei Urbanski  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36988
Signed-off-by: Sam James  gentoo.org>

 ...aubio-0.4.9-r3.ebuild => aubio-0.4.9-r4.ebuild} | 32 +--
 media-libs/aubio/files/aubio-0.4.9-gcc-14.patch| 37 ++
 media-libs/aubio/files/aubio-0.4.9-numpy-2.patch   | 13 
 3 files changed, 72 insertions(+), 10 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r3.ebuild 
b/media-libs/aubio/aubio-0.4.9-r4.ebuild
similarity index 77%
rename from media-libs/aubio/aubio-0.4.9-r3.ebuild
rename to media-libs/aubio/aubio-0.4.9-r4.ebuild
index 4a910ed12d2e..0c8533c51c66 100644
--- a/media-libs/aubio/aubio-0.4.9-r3.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 
@@ -22,7 +22,7 @@ SRC_URI="
 LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~loong ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
+IUSE="blas doc double-precision examples ffmpeg fftw jack libsamplerate 
sndfile python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
?? ( double-precision libsamplerate )
@@ -32,6 +32,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   blas? ( virtual/cblas )
ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
fftw? ( sci-libs/fftw:3.0= )
jack? ( virtual/jack )
@@ -47,10 +48,8 @@ DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/txt2man
virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   )
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
 "
 BDEPEND="${DISTUTILS_DEPS}"
 
@@ -59,13 +58,23 @@ PYTHON_SRC_DIR="${S}"
 
 PATCHES=(
"${FILESDIR}"/${P}-docdir.patch
+   "${FILESDIR}"/${P}-gcc-14.patch
+   "${FILESDIR}"/${P}-numpy-2.patch
"${FILESDIR}"/ffmpeg5.patch
 )
 
 src_prepare() {
default
 
-   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+   # In case when aubio is already installed, calling of the
+   # `sphinx` function at the wscript causes a python interpreter
+   # crash on `import aubio` if aubio was built with =2.
+   # Additionally, it causes duplication of the documentation.
+   sed \
+   -e '/\(doxygen\|sphinx\)(bld)$/d' \
+   -e "s/package = 'blas'/package = 'cblas'/" \
+   -i wscript || die
 
sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
 
@@ -77,7 +86,9 @@ src_prepare() {
fi
 
# update waf to fix Python 3.12 compatibility
+   python_setup
sed -r \
+   -e "s:python:${PYTHON}:" \
-e "s:(WAFVERSION=).*:\1${WAFVERSION}:" \
-e "s:(WAFURL=).*:\1'${DISTDIR}/${WAFTARBALL}':" \
-e 's:^fetchwaf$:cp "${WAFURL}" "${WAFTARBALL}":' \
@@ -91,6 +102,7 @@ src_configure() {
local mywafconfargs=(
--enable-complex
--docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable blas)
$(use_enable doc docs)
$(use_enable double-precision double)
$(use_enable fftw fftw3)
@@ -122,8 +134,8 @@ src_compile() {
pushd "${S}"/doc &>/dev/null || die
python_setup
LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" \
-   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
-   emake dirhtml
+   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages:${PYTHONPATH}"
 \
+   emake html
fi
 
cd "${S}" || die
@@ -160,7 +172,7 @@ src_install() {
if use doc; then
dodoc doc/*.txt
docinto html
-   dodoc -r doc/_build/dirhtml/.
+   dodoc 

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2023-03-14 Thread Miroslav Šulc
commit: 50c8da202c029804b80186af5997e85317035f51
Author: Violet Purcell  inventati  org>
AuthorDate: Mon Mar 13 19:08:12 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Mar 14 06:35:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c8da20

media-libs/aubio: enable py3.11

Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/30093
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild |  3 ++-
 .../aubio-0.4.9-remove-universal-newlines.patch| 31 ++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index d352834990c5..8cd665ace6bd 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 
@@ -52,6 +52,7 @@ PYTHON_SRC_DIR="${S}"
 PATCHES=(
"${FILESDIR}"/${PN}-0.4.9-docdir.patch
"${FILESDIR}"/ffmpeg5.patch
+   "${FILESDIR}"/${PN}-0.4.9-remove-universal-newlines.patch
 )
 
 src_prepare() {

diff --git a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch 
b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch
new file mode 100644
index ..304dae7afc5b
--- /dev/null
+++ b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch
@@ -0,0 +1,31 @@
+--- aubio-0.4.9/waflib/ConfigSet.py2023-03-07 16:02:26.109510883 -0500
 aubio-0.4.9/waflib/ConfigSet.py2023-03-07 16:05:12.892415156 -0500
+@@ -146,7 +146,7 @@ class ConfigSet(object):
+   Utils.writef(filename,''.join(buf))
+   def load(self,filename):
+   tbl=self.table
+-  code=Utils.readf(filename,m='rU')
++  code=Utils.readf(filename,m='r')
+   for m in re_imp.finditer(code):
+   g=m.group
+   tbl[g(2)]=eval(g(3))
+--- aubio-0.4.9/waflib/Context.py  2023-03-07 16:02:26.109510883 -0500
 aubio-0.4.9/waflib/Context.py  2023-03-07 16:05:20.764245554 -0500
+@@ -106,7 +106,7 @@ class Context(ctx):
+   cache[node]=True
+   self.pre_recurse(node)
+   try:
+-  function_code=node.read('rU',encoding)
++  function_code=node.read('r',encoding)
+   
exec(compile(function_code,node.abspath(),'exec'),self.exec_dict)
+   finally:
+   self.post_recurse(node)
+@@ -346,7 +346,7 @@ def load_module(path,encoding=None):
+   pass
+   module=imp.new_module(WSCRIPT_FILE)
+   try:
+-  code=Utils.readf(path,m='rU',encoding=encoding)
++  code=Utils.readf(path,m='r',encoding=encoding)
+   except EnvironmentError:
+   raise Errors.WafError('Could not read the file %r'%path)
+   module_dir=os.path.dirname(path)



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2022-02-28 Thread Alexis Ballier
commit: af459c88b6c5fdef8fca4d3c5a33aed8d0ff16a5
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 28 09:55:25 2022 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 28 10:05:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af459c88

media-libs/aubio: ffmpeg5 fix

from upstream

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexis Ballier  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r1.ebuild |  1 +
 media-libs/aubio/files/ffmpeg5.patch   | 28 
 2 files changed, 29 insertions(+)

diff --git a/media-libs/aubio/aubio-0.4.9-r1.ebuild 
b/media-libs/aubio/aubio-0.4.9-r1.ebuild
index 579361fe63c9..48d70ea69fd3 100644
--- a/media-libs/aubio/aubio-0.4.9-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r1.ebuild
@@ -51,6 +51,7 @@ PYTHON_SRC_DIR="${S}"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.4.9-docdir.patch
+   "${FILESDIR}"/ffmpeg5.patch
 )
 
 src_prepare() {

diff --git a/media-libs/aubio/files/ffmpeg5.patch 
b/media-libs/aubio/files/ffmpeg5.patch
new file mode 100644
index ..e4901ad69c01
--- /dev/null
+++ b/media-libs/aubio/files/ffmpeg5.patch
@@ -0,0 +1,28 @@
+From 8a05420e5dd8c7b8b2447f82dc919765876511b3 Mon Sep 17 00:00:00 2001
+From: Paul Brossier 
+Date: Tue, 25 Jan 2022 18:30:27 +0100
+Subject: [PATCH 1/1] [source_avcodec] define FF_API_LAVF_AVCTX for libavcodec
+ > 59, thx @berolinux (closes gh-353)
+
+---
+ src/io/source_avcodec.c | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c
+index e0ae93b5..1421bd9a 100644
+--- a/src/io/source_avcodec.c
 b/src/io/source_avcodec.c
+@@ -68,6 +68,10 @@
+ #define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+ #endif
+ 
++#if LIBAVCODEC_VERSION_MAJOR >= 59
++#define FF_API_LAVF_AVCTX 1
++#endif
++
+ struct _aubio_source_avcodec_t {
+   uint_t hop_size;
+   uint_t samplerate;
+-- 
+2.11.0
+



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2020-07-15 Thread Sam James
commit: 3fada402b4218b1e0e6e731900d6f889f1939d82
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 16 00:29:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 16 01:01:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fada402

media-libs/aubio: security cleanup

Bug: https://bugs.gentoo.org/711226
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/Manifest   |   2 -
 media-libs/aubio/aubio-0.4.7-r1.ebuild  | 123 ---
 media-libs/aubio/aubio-0.4.8.ebuild | 124 
 media-libs/aubio/files/aubio-0.4.8-docdir.patch |  20 
 4 files changed, 269 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 77196db1fd3..cafe77d9791 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,3 +1 @@
-DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260
-DIST aubio-0.4.8.tar.bz2 387933 BLAKE2B 
e30d0ce97360376edf8eba895dc3040157a139c843ef9d6bf0483ffb750916eaccf9e28b8d80dcc0034572cca4f08479e4db44468c96206ce7b60a2fa9600634
 SHA512 
e58b32beda36865a5243ec7ed4647cf96e3652a25fd319fc697c08f93487f895070dc66b830700b40b879220c2e3a53b8cdc255ce2e34770ba5e34b36a4f51b4
 DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B 
b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301
 SHA512 
0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130

diff --git a/media-libs/aubio/aubio-0.4.7-r1.ebuild 
b/media-libs/aubio/aubio-0.4.7-r1.ebuild
deleted file mode 100644
index 977ee51acd4..000
--- a/media-libs/aubio/aubio-0.4.7-r1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 waf-utils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="https://aubio.org/;
-SRC_URI="https://aubio.org/pub/${P}.tar.bz2;
-
-LICENSE="GPL-3"
-SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
-   fftw? ( sci-libs/fftw:3.0= )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? (
-   ${PYTHON_DEPS}
-   || (
-   dev-python/numpy-python2[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )
-   )
-   sndfile? ( media-libs/libsndfile )
-"
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   app-text/txt2man
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen )
-"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   ?? ( double-precision libsamplerate )
-"
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-src_prepare() {
-   default
-   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
-
-   if ! use test; then
-   sed -e "/bld.*tests/d" -i wscript || die
-   fi
-}
-
-src_configure() {
-   python_setup
-   local mywafconfargs=(
-   --enable-complex
-   --docdir="${EPREFIX}"/usr/share/doc/${PF}
-   $(use_enable double-precision double)
-   $(use_enable fftw fftw3)
-   $(use_enable ffmpeg avcodec)
-   $(use_enable jack)
-   $(use_enable libsamplerate samplerate)
-   $(use_enable sndfile)
-   )
-   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
-
-   waf-utils_src_configure "${mywafconfargs[@]}"
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_configure
-   fi
-}
-
-src_compile() {
-   waf-utils_src_compile --notests
-
-   if use doc; then
-   cd "${S}"/doc || die
-   emake dirhtml
-   fi
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   waf-utils_src_compile --alltests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_test
-   fi
-}
-
-src_install() {
-   waf-utils_src_install
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS from Makefile.am
-   dodoc -r examples
-   fi
-
-   if use python ; then
-   cd 

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2018-04-20 Thread Alexis Ballier
commit: cc722585c1aa2e0d59093d53c8f466e51ae8aa60
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Apr 20 14:51:11 2018 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Apr 20 18:11:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc722585

media-libs/aubio: fix build with ffmpeg4

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 media-libs/aubio/aubio-0.4.6.ebuild  |  3 ++-
 media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch | 13 +
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.6.ebuild 
b/media-libs/aubio/aubio-0.4.6.ebuild
index c02467cd6e7..9c6af6537ba 100644
--- a/media-libs/aubio/aubio-0.4.6.ebuild
+++ b/media-libs/aubio/aubio-0.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,6 +40,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DOCS=( AUTHORS ChangeLog README.md )
 PYTHON_SRC_DIR="${S}"
+PATCHES=( "${FILESDIR}/${PN}-0.4.6-ffmpeg4.patch" )
 
 src_prepare() {
default

diff --git a/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch 
b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch
new file mode 100644
index 000..7df4665655b
--- /dev/null
+++ b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch
@@ -0,0 +1,13 @@
+Index: aubio-0.4.6/src/io/source_avcodec.c
+===
+--- aubio-0.4.6.orig/src/io/source_avcodec.c
 aubio-0.4.6/src/io/source_avcodec.c
+@@ -58,7 +58,7 @@
+ #include "fmat.h"
+ #include "source_avcodec.h"
+ 
+-#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
++#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+ 
+ struct _aubio_source_avcodec_t {
+   uint_t hop_size;



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2015-11-01 Thread Alexis Ballier
commit: 14bbc6a2259790692bec61a3d886a887e4752a02
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sun Nov  1 10:17:23 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sun Nov  1 10:17:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14bbc6a2

media-libs/aubio: remove old.

Package-Manager: portage-2.2.23

 media-libs/aubio/Manifest  |   2 -
 media-libs/aubio/aubio-0.3.2-r2.ebuild |  96 --
 media-libs/aubio/aubio-0.4.0-r1.ebuild | 104 ---
 media-libs/aubio/files/aubio-0.3.2-multilib.patch  |  11 -
 .../aubio/files/aubio-0.3.2-numarray-gnuplot.patch | 332 -
 5 files changed, 545 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 158e49c..d8ae92a 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,3 +1 @@
-DIST aubio-0.3.2.tar.gz 609006 SHA256 
dc1387b048610a6141f523c27314b7a60bd299c3d6789c372445ddc6511512cd SHA512 
b3d8445716c0cde02ee1e7b036864598ec7562d8a938a61f644c384d80e95601abcb6e713cdaab7b2613f6f4f27db1cfafa7c23824c61f504e83d11fefdee8fc
 WHIRLPOOL 
eeb732702bbb1682d32fde5cce4d17ae402292e1c19dac2e45600b268c955310683712952be8a1f72c08255c8c75c5beff9a127ab5b296883a64a4b5d9cb949a
-DIST aubio-0.4.0.tar.bz2 277613 SHA256 
49de9a06c819d4c4e0a9198a95eac374a1650083aef16c397004258bac2d33a2 SHA512 
4f04ca8a873e45b6cdf84e3fb6028d9ad0abc0300daf83b1f7b08021355b1449f9c8d3a9b617bd479668e6b2c0c63c3ce69d61baeb6b0f621a84e850dedce8b6
 WHIRLPOOL 
432c0f555d21190838b573b90a68f625b267a399380ac79cb8687e8d2de53db1dff8c9ab235db446b315a98d9df729d45db7360b825e0ad37d6924b09788b1b9
 DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 WHIRLPOOL 
ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6

diff --git a/media-libs/aubio/aubio-0.3.2-r2.ebuild 
b/media-libs/aubio/aubio-0.3.2-r2.ebuild
deleted file mode 100644
index 539474b..000
--- a/media-libs/aubio/aubio-0.3.2-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=3
-
-PYTHON_DEPEND="2:2.6"
-
-inherit autotools eutils python
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.piem.org;
-SRC_URI="http://aubio.piem.org/pub/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="alsa doc examples jack lash static-libs"
-
-RDEPEND="sci-libs/fftw:3.0
-   media-libs/libsndfile
-   media-libs/libsamplerate
-   alsa? ( media-libs/alsa-lib )
-   jack? ( media-sound/jack-audio-connection-kit )
-   lash? ( media-sound/lash )"
-DEPEND="${RDEPEND}
-   >=dev-lang/swig-1.3.0
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen virtual/latex-base )"
-
-pkg_setup() {
-   DOCS=( AUTHORS ChangeLog README TODO )
-
-   python_set_active_version 2
-   python_pkg_setup
-}
-
-src_prepare() {
-   # disable automagic puredata wrt #369835
-   sed -i -e '/AC_CHECK_HEADER/s:m_pd.h:dIsAbLe&:' configure.ac || die
-
-   epatch \
-   "${FILESDIR}"/${P}-multilib.patch \
-   "${FILESDIR}"/${P}-numarray-gnuplot.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable static-libs static) \
-   $(use_enable jack) \
-   $(use_enable alsa) \
-   $(use_enable lash)
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   export VARTEXFONTS="${T}/fonts"
-   cd "${S}"/doc
-   doxygen user.cfg
-   doxygen devel.cfg
-   doxygen examples.cfg
-   fi
-}
-
-src_install() {
-   # `default` would be enough here if python.eclass supported EAPI=4
-   emake DESTDIR="${D}" install || die
-   dodoc "${DOCS[@]}"
-
-   doman doc/*.1
-   if use doc; then
-   mv doc/user/html doc/user/user
-   dohtml -r doc/user/user
-   mv doc/devel/html doc/devel/devel
-   dohtml -r doc/devel/devel
-   mv doc/examples/html doc/examples/examples
-   dohtml -r doc/examples/examples
-   fi
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS from Makefile.am
-   insinto /usr/share/doc/${PF}/examples
-   doins 
python/aubio{compare-onset,plot-notes,filter-notes,web.py} || die
-   docinto examples
-   newdoc python/README README.examples
-   fi
-
-   find "${ED}"usr -name '*.la' -exec rm -f {} +
-}
-
-pkg_postinst() { python_mod_optimize aubio; }
-pkg_postrm() { python_mod_cleanup aubio; }

diff --git a/media-libs/aubio/aubio-0.4.0-r1.ebuild