mgorny      15/01/03 11:00:24

  Modified:             ChangeLog
  Added:                aubio-0.4.0-r1.ebuild
  Removed:              aubio-0.4.0.ebuild
  Log:
  Improve use of distutils-r1. Ensure correct Python impl for waf-utils.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.30                 media-libs/aubio/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/ChangeLog?rev=1.30&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/ChangeLog?rev=1.30&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/aubio/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog   14 Mar 2014 10:04:20 -0000      1.29
+++ ChangeLog   3 Jan 2015 11:00:24 -0000       1.30
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/aubio
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/ChangeLog,v 1.29 
2014/03/14 10:04:20 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/ChangeLog,v 1.30 
2015/01/03 11:00:24 mgorny Exp $
+
+*aubio-0.4.0-r1 (03 Jan 2015)
+
+  03 Jan 2015; Michał Górny <[email protected]> +aubio-0.4.0-r1.ebuild,
+  -aubio-0.4.0.ebuild:
+  Improve use of distutils-r1. Ensure correct Python impl for waf-utils.
 
   14 Mar 2014; Agostino Sarubbo <[email protected]> aubio-0.3.2-r2.ebuild:
   Stable for ppc64, wrt bug #474886



1.1                  media-libs/aubio/aubio-0.4.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/aubio-0.4.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/aubio-0.4.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: aubio-0.4.0-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/aubio-0.4.0-r1.ebuild,v 1.1 
2015/01/03 11:00:24 mgorny Exp $

EAPI=5

DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='threads(+)'

inherit distutils-r1 waf-utils multilib

DESCRIPTION="Library for audio labelling"
HOMEPAGE="http://aubio.org/";
SRC_URI="http://aubio.org//pub/${P}.tar.bz2";

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python"

RDEPEND="
        ffmpeg? ( virtual/ffmpeg )
        fftw? ( sci-libs/fftw:3.0 )
        jack? ( media-sound/jack-audio-connection-kit )
        libsamplerate? ( media-libs/libsamplerate )
        python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
        sndfile? ( media-libs/libsndfile )"
DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        virtual/pkgconfig
        app-text/txt2man
        doc? ( app-doc/doxygen )"
REQUIRED_USE=${PYTHON_REQUIRED_USE}

DOCS=( AUTHORS ChangeLog README.md )
PYTHON_SRC_DIR="${S}/python"

src_prepare() {
        sed -i -e "s:\/lib:\/$(get_libdir):" src/wscript_build || die
        sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
}

src_configure() {
        python_setup
        waf-utils_src_configure \
                --enable-complex \
                --docdir="${EPREFIX}"/usr/share/doc/${PF} \
                $(use_enable double-precision double) \
                $(use_enable fftw fftw3f) \
                $(use_enable fftw fftw3) \
                $(use_enable ffmpeg avcodec) \
                $(use_enable jack) \
                $(use_enable libsamplerate samplerate) \
                $(use_enable sndfile)

        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
                doxygen full.cfg || die
        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 python ; then
                cd "${PYTHON_SRC_DIR}" || die
                DOCS="" distutils-r1_src_install
                newdoc README README.python
        fi

        if use doc; then
                dohtml -r doc/full/html/.
                dodoc doc/*.txt
        fi

        if use examples; then
                # install dist_noinst_SCRIPTS from Makefile.am
                dodoc -r examples
        fi
}




Reply via email to