Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 15:41:24 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        Kubilay Kocak <koobs@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r419599 - in head/audio: . py-speechrecognition
Message-ID:  <20160805074124.GA52865@ns.kevlo.org>
In-Reply-To: <cf982b47-d38b-7f1c-5564-e069b571d6fa@FreeBSD.org>
References:  <201608040731.u747VQYU003888@repo.freebsd.org> <cf982b47-d38b-7f1c-5564-e069b571d6fa@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 05, 2016 at 03:52:46PM +1000, Kubilay Kocak wrote:
> 
> On 4/08/2016 5:31 PM, Kevin Lo wrote:
> > Author: kevlo
> > Date: Thu Aug  4 07:31:25 2016
> > New Revision: 419599
> > URL: https://svnweb.freebsd.org/changeset/ports/419599
> > 
> > Log:
> >   Import SpeechRecognition 3.4.6
> >   
> >   SpeechRecognition is a Python library for performing speech recognition,
> >   with support for several engines and APIs, online and offline.
> > 
> > Added:
> >   head/audio/py-speechrecognition/
> >   head/audio/py-speechrecognition/Makefile   (contents, props changed)
> >   head/audio/py-speechrecognition/distinfo   (contents, props changed)
> >   head/audio/py-speechrecognition/pkg-descr   (contents, props changed)
> > Modified:
> >   head/audio/Makefile
> > 
> > Modified: head/audio/Makefile
> > ==============================================================================
> > --- head/audio/Makefile	Thu Aug  4 07:24:01 2016	(r419598)
> > +++ head/audio/Makefile	Thu Aug  4 07:31:25 2016	(r419599)
> > @@ -634,6 +634,7 @@
> >      SUBDIR += py-pyliblo
> >      SUBDIR += py-shout
> >      SUBDIR += py-soundcloud
> > +    SUBDIR += py-speechrecognition
> >      SUBDIR += py-speex
> >      SUBDIR += py-tagpy
> >      SUBDIR += py-vorbis
> > 
> > Added: head/audio/py-speechrecognition/Makefile
> > ==============================================================================
> > --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> > +++ head/audio/py-speechrecognition/Makefile	Thu Aug  4 07:31:25 2016	(r419599)
> > @@ -0,0 +1,24 @@
> > +# $FreeBSD$
> > +
> > +PORTNAME=	speechrecognition
> > +PORTVERSION=	3.4.6
> > +CATEGORIES=	audio python
> > +MASTER_SITES=	CHEESESHOP
> > +DISTNAME=	${PORTNAME:S/s/S/:S/r/R/}-${PORTVERSION}
> > +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> > +
> > +MAINTAINER=	kevlo@FreeBSD.org
> > +COMMENT=	Python Library for performing speech recognition
> > +
> > +LICENSE=	BSD3CLAUSE
> > +LICENSE_FILE=	${WRKSRC}/LICENSE.txt
> > +
> > +RUN_DEPENDS=	flac:audio/flac \
> > +		${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio
> > +
> 
> Can you add a comment like below so we can fix version declarations up
> when the USES=python bits support more granular specifications
> 
> # Actually -2.7,3.3+
> > +USES=		python
> > +USE_PYTHON=	distutils autoplist
> > +
> > +NO_ARCH=	yes
> 
> .include <bsd.port.pre.mk>
> 
> A conditional depends on py-monotonic for PYTHON_REL < 3000 would be good:
> 
> https://github.com/Uberi/speech_recognition/#monotonic-for-python-2-for-faster-operations-in-some-functions-on-python-2
> 
> https://www.freshports.org/devel/py-monotonic/
> 
> 
> > +.include <bsd.port.mk>
> 
> -.include <bsd.port.mk>
> +.include <bsd.port.post.mk>

Fixes as r419669, thanks.

> > 
> > Added: head/audio/py-speechrecognition/distinfo
> > ==============================================================================
> > --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> > +++ head/audio/py-speechrecognition/distinfo	Thu Aug  4 07:31:25 2016	(r419599)
> > @@ -0,0 +1,3 @@
> > +TIMESTAMP = 1470209990
> > +SHA256 (SpeechRecognition-3.4.6.tar.gz) = 393eab35f102e6406dcacd54ff06473c2c86371cd566f8b314cf79df2d89ac31
> > +SIZE (SpeechRecognition-3.4.6.tar.gz) = 31521362
> > 
> > Added: head/audio/py-speechrecognition/pkg-descr
> > ==============================================================================
> > --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> > +++ head/audio/py-speechrecognition/pkg-descr	Thu Aug  4 07:31:25 2016	(r419599)
> > @@ -0,0 +1,4 @@
> > +SpeechRecognition is a Python library for performing speech recognition, 
> > +with support for several engines and APIs, online and offline.
> > +
> > +WWW: https://github.com/Uberi/speech_recognition/
> > 
> 
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160805074124.GA52865>