Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 17:54:47 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Kevin Lo <kevlo@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r419669 - head/audio/py-speechrecognition
Message-ID:  <b2af7711-5bc3-4dfa-29c7-f9d0e9af5d85@FreeBSD.org>
In-Reply-To: <201608050740.u757ebnY045776@repo.freebsd.org>
References:  <201608050740.u757ebnY045776@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/08/2016 5:40 PM, Kevin Lo wrote:
> Author: kevlo
> Date: Fri Aug  5 07:40:36 2016
> New Revision: 419669
> URL: https://svnweb.freebsd.org/changeset/ports/419669
> 
> Log:
>   Add a conditional depends on devel/py-monotonic for faster operations in
>   some functions on Python 2.  See:
>   https://github.com/Uberi/speech_recognition/#monotonic-for-python-2-for-faster-operations-in-some-functions-on-python-2
>   
>   Spotted by:	koobs
> 
> Modified:
>   head/audio/py-speechrecognition/Makefile
> 
> Modified: head/audio/py-speechrecognition/Makefile
> ==============================================================================
> --- head/audio/py-speechrecognition/Makefile	Fri Aug  5 06:39:13 2016	(r419668)
> +++ head/audio/py-speechrecognition/Makefile	Fri Aug  5 07:40:36 2016	(r419669)
> @@ -16,9 +16,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
>  RUN_DEPENDS=	flac:audio/flac \
>  		${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio
>  
> +NO_ARCH=	yes
>  USES=		python
>  USE_PYTHON=	distutils autoplist
>  
> -NO_ARCH=	yes
> +.include <bsd.port.pre.mk>
> +
> +.if ${PYTHON_REL} < 3000
> +RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}monotonic>=0.3:devel/py-monotonic
> +.endif
>  
> -.include <bsd.port.mk>
> +.include <bsd.port.post.mk>
> 

Nice, thank you! :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b2af7711-5bc3-4dfa-29c7-f9d0e9af5d85>