svn commit: r462810 - head/net-im/py-xmpppy

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 24 13:37:48 UTC 2018


Author: sunpoet
Date: Sat Feb 24 13:37:47 2018
New Revision: 462810
URL: https://svnweb.freebsd.org/changeset/ports/462810

Log:
  Use USE_PYTHON=autoplist
  
  - Add NO_ARCH
  - Convert to USES=shebangfix

Deleted:
  head/net-im/py-xmpppy/pkg-plist
Modified:
  head/net-im/py-xmpppy/Makefile

Modified: head/net-im/py-xmpppy/Makefile
==============================================================================
--- head/net-im/py-xmpppy/Makefile	Sat Feb 24 13:37:42 2018	(r462809)
+++ head/net-im/py-xmpppy/Makefile	Sat Feb 24 13:37:47 2018	(r462810)
@@ -14,11 +14,10 @@ COMMENT=	Python library that provides easy scripting w
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dnspython>=1.7.1:dns/py-dnspython@${FLAVOR}
 
-USES=		python:2.7
-USE_PYTHON=	distutils
+USES=		python:2.7 shebangfix
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
 
-post-patch:
-	@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
-		${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
+SHEBANG_FILES=	doc/examples/*.py
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list