svn commit: r394847 - in head/audio/py-speex: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Aug 20 10:42:33 UTC 2015


Author: amdmi3
Date: Thu Aug 20 10:42:32 2015
New Revision: 394847
URL: https://svnweb.freebsd.org/changeset/ports/394847

Log:
  - Strip library
  - Pet portlint
  - Regenerate patches with `make makepatch`

Modified:
  head/audio/py-speex/Makefile
  head/audio/py-speex/files/patch-setup.py
  head/audio/py-speex/files/patch-speex.pyx

Modified: head/audio/py-speex/Makefile
==============================================================================
--- head/audio/py-speex/Makefile	Thu Aug 20 10:40:49 2015	(r394846)
+++ head/audio/py-speex/Makefile	Thu Aug 20 10:42:32 2015	(r394847)
@@ -3,7 +3,7 @@
 
 PORTNAME=	speex
 PORTVERSION=	0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio python
 MASTER_SITES=	http://freenet.mcnabhosting.com/python/pySpeex/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +17,13 @@ BUILD_DEPENDS=	pyrex>=0.9.6.2:${PORTSDIR
 LIB_DEPENDS=	libspeex.so:${PORTSDIR}/audio/speex
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
 		${WRKSRC}/setup.py
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/speex.so
+
 .include <bsd.port.mk>

Modified: head/audio/py-speex/files/patch-setup.py
==============================================================================
--- head/audio/py-speex/files/patch-setup.py	Thu Aug 20 10:40:49 2015	(r394846)
+++ head/audio/py-speex/files/patch-setup.py	Thu Aug 20 10:42:32 2015	(r394847)
@@ -1,6 +1,6 @@
---- setup.py.orig	Sun Oct 30 13:10:14 2005
-+++ setup.py	Sat Mar  3 00:40:44 2007
-@@ -5,9 +5,9 @@
+--- setup.py.orig	2005-10-30 12:10:14 UTC
++++ setup.py
+@@ -5,9 +5,9 @@ import sys
  from distutils.core import setup, Extension
  from Pyrex.Distutils import build_ext
  

Modified: head/audio/py-speex/files/patch-speex.pyx
==============================================================================
--- head/audio/py-speex/files/patch-speex.pyx	Thu Aug 20 10:40:49 2015	(r394846)
+++ head/audio/py-speex/files/patch-speex.pyx	Thu Aug 20 10:42:32 2015	(r394847)
@@ -1,6 +1,6 @@
---- speex.pyx.orig	Sat Mar  3 00:32:39 2007
-+++ speex.pyx	Sat Mar  3 00:33:01 2007
-@@ -365,7 +365,7 @@
+--- speex.pyx.orig	2003-11-24 05:29:33 UTC
++++ speex.pyx
+@@ -365,7 +365,7 @@ cdef class new:
              bufOut[bufOutSiz] = nBytes % 256
              bufOut[bufOutSiz+1] = nBytes / 256
              bufOutSiz = bufOutSiz + 2
@@ -9,7 +9,7 @@
              # printf("ok5\n")
              bufOutSiz = bufOutSiz + nBytes
              # printf("ok6\n")
-@@ -522,7 +522,7 @@
+@@ -522,7 +522,7 @@ cdef class new:
        
                      # Copy from float to short (16 bits) for output
                      for i from 0 <= i < self.encFramesPerBlock:


More information about the svn-ports-head mailing list