From owner-svn-ports-head@FreeBSD.ORG Sat Jan 17 22:16:51 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 087DAB9B; Sat, 17 Jan 2015 22:16:51 +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 CEF05FA3; Sat, 17 Jan 2015 22:16:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0HMGoAo000619; Sat, 17 Jan 2015 22:16:50 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0HMGoQY000617; Sat, 17 Jan 2015 22:16:50 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201501172216.t0HMGoQY000617@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Sat, 17 Jan 2015 22:16:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377267 - in head/devel/py-experimental.cssselect: . files 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.18-1 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, 17 Jan 2015 22:16:51 -0000 Author: rm Date: Sat Jan 17 22:16:49 2015 New Revision: 377267 URL: https://svnweb.freebsd.org/changeset/ports/377267 QAT: https://qat.redports.org/buildarchive/r377267/ Log: devel/py-experimental.cssselect: fix packaging on python3 Added: head/devel/py-experimental.cssselect/files/ head/devel/py-experimental.cssselect/files/patch-setup.py (contents, props changed) Modified: head/devel/py-experimental.cssselect/Makefile Modified: head/devel/py-experimental.cssselect/Makefile ============================================================================== --- head/devel/py-experimental.cssselect/Makefile Sat Jan 17 21:51:43 2015 (r377266) +++ head/devel/py-experimental.cssselect/Makefile Sat Jan 17 22:16:49 2015 (r377267) @@ -13,6 +13,13 @@ COMMENT= Experimental version of lxml.cs RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml USES= python zip -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils + +post-patch: + # fix pkg-plist problem with python3. This file is not installing. + @${REINPLACE_CMD} -e 's|src/experimental/__init__.py||' \ + ${WRKSRC}/src/experimental.cssselect.egg-info/SOURCES.txt + @${RM} ${WRKSRC}/src/experimental/__init__.py \ + ${WRKSRC}/src/experimental.cssselect.egg-info/SOURCES.txt.bak .include Added: head/devel/py-experimental.cssselect/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-experimental.cssselect/files/patch-setup.py Sat Jan 17 22:16:49 2015 (r377267) @@ -0,0 +1,11 @@ +--- setup.py.orig 2012-04-04 20:27:16 UTC ++++ setup.py +@@ -16,7 +16,7 @@ setup( + open("CHANGES.txt").read(), + author='Laurence Rowe', + url='https://github.com/lrowe/experimental.cssselect', +- packages=find_packages('src'), ++ packages=['experimental'], + package_dir={'':'src'}, + namespace_packages=[ + '.'.join(name.split('.')[:n+1]) for n in range(name.count('.'))],