From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 23:32:06 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B070777D; Sun, 26 Jan 2014 23:32:06 +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 828371747; Sun, 26 Jan 2014 23:32:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QNW6a6093550; Sun, 26 Jan 2014 23:32:06 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0QNW6Vs093548; Sun, 26 Jan 2014 23:32:06 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201401262332.s0QNW6Vs093548@svn.freebsd.org> From: Ruslan Makhmatkhanov Date: Sun, 26 Jan 2014 23:32:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341308 - head/databases/py-psycopg2 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: Sun, 26 Jan 2014 23:32:06 -0000 Author: rm Date: Sun Jan 26 23:32:05 2014 New Revision: 341308 URL: http://svnweb.freebsd.org/changeset/ports/341308 QAT: https://qat.redports.org/buildarchive/r341308/ Log: - convert to autogenerated packing list to fix python3 packaging - simplify DOCS and EXAMPLES installation PR: 182422 Reported by: Arseny Nasokin Approved by: miwi (maintainer, by email) Deleted: head/databases/py-psycopg2/pkg-plist Modified: head/databases/py-psycopg2/Makefile head/databases/py-psycopg2/pkg-descr Modified: head/databases/py-psycopg2/Makefile ============================================================================== --- head/databases/py-psycopg2/Makefile Sun Jan 26 23:31:22 2014 (r341307) +++ head/databases/py-psycopg2/Makefile Sun Jan 26 23:32:05 2014 (r341308) @@ -1,4 +1,4 @@ -# Created by: Martin Wilke +# Created by: Martin Wilke # $FreeBSD$ PORTNAME= psycopg2 @@ -9,35 +9,28 @@ MASTER_SITES= http://initd.org/psycopg/t PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= miwi@FreeBSD.org -COMMENT= The high performance Python adapter for PostgreSQL +COMMENT= High performance Python adapter for PostgreSQL -USE_PGSQL= yes -# Python3 ready -USE_PYTHON= yes +USE_PGSQL= yes +USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes DOCSDIR= ${PREFIX}/share/doc/py-psycopg2 EXAMPLESDIR= ${PREFIX}/share/examples/py-psycopg2 -EXAMPLES= binary.py copy_from.py copy_to.py cursor.py dialtone.py \ +PORTEXAMPLES= binary.py copy_from.py copy_to.py cursor.py dialtone.py \ dict.py dt.py encoding.py fetch.py lastrowid.py lobject.py \ mogrify.py myfirstrecipe.py notify.py simple.py somehackers.jpg \ threads.py typecast.py tz.py usercast.py whereareyou.jpg -DOCS= AUTHORS INSTALL README NEWS PKG-INFO +PORTDOCS= AUTHORS INSTALL README NEWS PKG-INFO post-install: -.if !defined(NOPORTEXAMPLES) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} -.for f in ${EXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} -.endfor -.endif -.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor -.endif + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Modified: head/databases/py-psycopg2/pkg-descr ============================================================================== --- head/databases/py-psycopg2/pkg-descr Sun Jan 26 23:31:22 2014 (r341307) +++ head/databases/py-psycopg2/pkg-descr Sun Jan 26 23:32:05 2014 (r341308) @@ -11,4 +11,4 @@ be opened; instead one of the unused con makes psycopg very fast in typical client-server applications that create a servicing thread every time a client request arrives. -WWW: http://initd.org/psycopg +WWW: http://initd.org/psycopg/