From owner-svn-ports-all@FreeBSD.ORG Sat May 17 09:49:52 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23880186; Sat, 17 May 2014 09:49:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11BAB2111; Sat, 17 May 2014 09:49:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4H9npbU074667; Sat, 17 May 2014 09:49:51 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4H9npBd074666; Sat, 17 May 2014 09:49:51 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201405170949.s4H9npBd074666@svn.freebsd.org> From: Martin Wilke Date: Sat, 17 May 2014 09:49:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354302 - head/net-im/py-pyxmpp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2014 09:49:52 -0000 Author: miwi Date: Sat May 17 09:49:51 2014 New Revision: 354302 URL: http://svnweb.freebsd.org/changeset/ports/354302 QAT: https://qat.redports.org/buildarchive/r354302/ Log: - Support USE_GITHUB - Add LICENSE PR: 187742 Submitted by: Ports Fury Modified: head/net-im/py-pyxmpp/Makefile Modified: head/net-im/py-pyxmpp/Makefile ============================================================================== --- head/net-im/py-pyxmpp/Makefile Sat May 17 08:44:41 2014 (r354301) +++ head/net-im/py-pyxmpp/Makefile Sat May 17 09:49:51 2014 (r354302) @@ -5,24 +5,31 @@ PORTNAME= pyxmpp PORTVERSION= 1.1.2 PORTREVISION= 2 CATEGORIES= net-im python -MASTER_SITES= http://cloud.github.com/downloads/Jajcus/pyxmpp/ +MASTER_SITES= GHC PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Python XMPP library -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython \ +LICENSE= LGPL21 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:${PORTSDIR}/dns/py-dnspython \ ${PYTHON_PKGNAMEPREFIX}m2crypto>=0.18.2:${PORTSDIR}/security/py-m2crypto \ - ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 + ${PYTHON_PKGNAMEPREFIX}libxml2>0:${PORTSDIR}/textproc/py-libxml2 RUN_DEPENDS:= ${BUILD_DEPENDS} +WRKSRC= ${WRKDIR}/${DISTNAME} + +USE_GITHUB= yes +GH_ACCOUNT= Jajcus + +USES= shebangfix +SHEBANG_FILES= auxtools/*.py examples/*.py tests/*.py utils/*.py USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes post-patch: - @${GREP} -lR "/usr/bin/python" ${WRKSRC} | ${XARGS} \ - ${REINPLACE_CMD} -e "s|/usr/bin/python|${PYTHON_CMD}|" @${REINPLACE_CMD} -e \ "/include_dirs =/s|\[.*|['${LOCALBASE}/include/libxml2','${LOCALBASE}/include']| ; \ /library_dirs =/s|\[.*|['${LOCALBASE}/lib']|" ${WRKSRC}/setup.py