svn commit: r420250 - in head/audio/py-mutagen: . files

Ruslan Makhmatkhanov rm at FreeBSD.org
Mon Aug 15 16:33:04 UTC 2016


Author: rm
Date: Mon Aug 15 16:33:03 2016
New Revision: 420250
URL: https://svnweb.freebsd.org/changeset/ports/420250

Log:
  audio/py-mutagen: small changes
  
  - make python version overridable, so we can reuse the Makefile
    from a slave port
  - remove patch file, because it is too simple to not implement the
    replacing in Makefile
  - utilize shebangfix against tools installed to ${PREFIX}/bin and
    mark this port concurrent-safe to get the tools prefixed with python version
  - bump PORTREVISION because of package change
  
  With hat:	python

Deleted:
  head/audio/py-mutagen/files/
Modified:
  head/audio/py-mutagen/Makefile

Modified: head/audio/py-mutagen/Makefile
==============================================================================
--- head/audio/py-mutagen/Makefile	Mon Aug 15 16:31:39 2016	(r420249)
+++ head/audio/py-mutagen/Makefile	Mon Aug 15 16:33:03 2016	(r420250)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mutagen
 PORTVERSION=	1.34.1
+PORTREVISION=	1
 CATEGORIES=	audio python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,13 @@ COMMENT=	Python-based audio metadata tag
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		python
-USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
+USES?=		python:2.7+
+USE_PYTHON=	autoplist concurrent distutils
+SHEBANG_FILES=	tools/mid3cp tools/mid3iconv tools/mid3v2 \
+		tools/moggsplit tools/mutagen-inspect tools/mutagen-pony
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list