svn commit: r441340 - head/audio/py-mad

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat May 20 21:50:12 UTC 2017


Author: sunpoet
Date: Sat May 20 21:50:10 2017
New Revision: 441340
URL: https://svnweb.freebsd.org/changeset/ports/441340

Log:
  Relax USES=python
  
  - Update COMMENT
  - Sort USE_PYTHON
  - Remove pythonprefix from USE_PYTHON
  - Update pkg-descr
  - Update WWW
  - Take maintainership

Modified:
  head/audio/py-mad/Makefile
  head/audio/py-mad/pkg-descr

Modified: head/audio/py-mad/Makefile
==============================================================================
--- head/audio/py-mad/Makefile	Sat May 20 21:50:06 2017	(r441339)
+++ head/audio/py-mad/Makefile	Sat May 20 21:50:10 2017	(r441340)
@@ -7,24 +7,23 @@ DISTVERSIONPREFIX=	version/
 CATEGORIES=	audio python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	Python module that provides the MPEG Audio Decoder interface
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Python wrapper for the MPEG Audio Decoder library
 
 LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libmad.so:audio/libmad
 
-USE_GITHUB=	yes
+USE_PYTHON=	autoplist distutils
+USES=		python
+
 GH_ACCOUNT=	jaqx0r
 GH_PROJECT=	pymad
-
-USES=		python:2
-USE_PYTHON=	distutils autoplist pythonprefix
+USE_GITHUB=	yes
 
 do-configure:
-	@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
-		--prefix ${LOCALBASE}
+	@cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mad.so

Modified: head/audio/py-mad/pkg-descr
==============================================================================
--- head/audio/py-mad/pkg-descr	Sat May 20 21:50:06 2017	(r441339)
+++ head/audio/py-mad/pkg-descr	Sat May 20 21:50:10 2017	(r441340)
@@ -1,5 +1,5 @@
-This is a Python module that allows Python programs to use the MPEG
-Audio Decoder library. It provides a high-level API which makes reading
-from MPEG audio streams a piece of cake.
+pymad is a Python module that allows Python programs to use the MPEG Audio
+Decoder library. pymad provides a high-level API, similar to the pyogg module,
+which makes reading PCM data from MPEG audio streams a piece of cake.
 
-WWW: https://github.com/jaqx0r/pymad/
+WWW: https://github.com/jaqx0r/pymad


More information about the svn-ports-all mailing list