From owner-svn-ports-head@FreeBSD.ORG Sat Dec 14 23:18:23 2013 Return-Path: Delivered-To: svn-ports-head@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 5122C971; Sat, 14 Dec 2013 23:18:23 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D2A5160D; Sat, 14 Dec 2013 23:18:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBENINZ8007806; Sat, 14 Dec 2013 23:18:23 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBENIN11007805; Sat, 14 Dec 2013 23:18:23 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312142318.rBENIN11007805@svn.freebsd.org> From: William Grzybowski Date: Sat, 14 Dec 2013 23:18:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336498 - head/textproc/py-tvgrab X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Dec 2013 23:18:23 -0000 Author: wg Date: Sat Dec 14 23:18:22 2013 New Revision: 336498 URL: http://svnweb.freebsd.org/changeset/ports/336498 Log: textproc/py-tvgrab: fix usage of python and stagify - Fix usage of python - Trim COMMENT - Use python auto plist - Allow staging Reported by: exp-run (PR 184591) Deleted: head/textproc/py-tvgrab/pkg-plist Modified: head/textproc/py-tvgrab/Makefile Modified: head/textproc/py-tvgrab/Makefile ============================================================================== --- head/textproc/py-tvgrab/Makefile Sat Dec 14 23:14:13 2013 (r336497) +++ head/textproc/py-tvgrab/Makefile Sat Dec 14 23:18:22 2013 (r336498) @@ -10,25 +10,25 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pytvgrab-lib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A xmltv python library to write grabbers of tv scheduling collections +COMMENT= Library to write grabbers of tv scheduling collections EXTRACT_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil:extract USE_BZIP2= yes -USE_PYTHON= yes +USE_PYTHON= 2 USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= pytvgrab_lib +PYDISTUTILS_AUTOPLIST= yes PORTDOCS= README -NO_STAGE= yes post-extract: @${CP} ${FILESDIR}/timezone.py ${WRKSRC}/lib/timezone.py +post-patch: + @${REINPLACE_CMD} -e 's,python -c,${PYTHON_CMD} -c,' ${WRKSRC}/setup.py + post-install: -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include