Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 13:37:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462810 - head/net-im/py-xmpppy
Message-ID:  <201802241337.w1ODblJJ069220@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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