From owner-svn-ports-all@freebsd.org Fri May 11 07:27:14 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E64AEFC519B; Fri, 11 May 2018 07:27:13 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8979270421; Fri, 11 May 2018 07:27:13 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 64CDB465B; Fri, 11 May 2018 07:27:13 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4B7RDLC047721; Fri, 11 May 2018 07:27:13 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4B7RCqY047718; Fri, 11 May 2018 07:27:12 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201805110727.w4B7RCqY047718@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 11 May 2018 07:27:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469614 - head/databases/py-pyPgSQL X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/databases/py-pyPgSQL X-SVN-Commit-Revision: 469614 X-SVN-Commit-Repository: ports 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.25 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: Fri, 11 May 2018 07:27:14 -0000 Author: koobs Date: Fri May 11 07:27:12 2018 New Revision: 469614 URL: https://svnweb.freebsd.org/changeset/ports/469614 Log: databases/py-pyPgSQL: Unmark BROKEN, Update MAINTAINER This port was marked BROKEN/DEPRECATED due to a corrupt patch file. Update the patch source to fix the issue. Update MAINTAINER at submitters request. While here, level up ports / python port compliance: - Strip shared libraries - Use option helpers - Use python autoplist - Match upstream setup.py metadata (COMMENT) - Use explicit/canonical python package dependencies - Unmute INSTALL_* commands PR: 228119 Submitted by: Chris Hutchinson Approved by: koobs (python, maintainer) Modified: head/databases/py-pyPgSQL/Makefile head/databases/py-pyPgSQL/distinfo head/databases/py-pyPgSQL/pkg-plist Modified: head/databases/py-pyPgSQL/Makefile ============================================================================== --- head/databases/py-pyPgSQL/Makefile Fri May 11 06:40:27 2018 (r469613) +++ head/databases/py-pyPgSQL/Makefile Fri May 11 07:27:12 2018 (r469614) @@ -3,50 +3,45 @@ PORTNAME= pyPgSQL PORTVERSION= 2.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= python@FreeBSD.org -COMMENT= Python DB-API 2 compliant library for using PostgreSQL databases +MAINTAINER= portmaster@BSDforge.com +COMMENT= Python DB-API 2.0 compliant interface to PostgreSQL -BROKEN= Invalid checksum -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2018-06-06 +LICENSE= BSD2CLAUSE -RUN_DEPENDS= ${DATETIME_DEP}:lang/py-mx-base +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mx-base>0:lang/py-mx-base -USES= pgsql python:2.7 -USE_PYTHON= distutils +USES= pgsql python:2.7 +USE_PYTHON= distutils autoplist DOCS= Announce ChangeLog README README.html EXAMPLES= examples/*.py -DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py - -OPTIONS_DEFINE= BYTEA_CONN EXAMPLES DOCS +OPTIONS_DEFINE= BYTEA_CONN EXAMPLES DOCS OPTIONS_DEFAULT= BYTEA_CONN + BYTEA_CONN_DESC= Apply Bytea connection patch +BYTEA_CONN_VARS= PATCH_SITES= https://sourceforge.net/p/pypgsql/patches/_discuss/thread/c9fcb468/43b1/attachment/ \ + PATCHFILES= patch-byteaconn .include -.if ${PORT_OPTIONS:MBYTEA_CONN} -PATCH_SITES= http://sourceforge.net/tracker/download.php?group_id=16528&atid=316528&file_id=273956&aid=1939119/ -PATCHFILES= pyPgSQL-patch_byteaconn -.endif - DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL EXAMPLESDIR= ${PREFIX}/share/examples/py-pyPgSQL post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyPgSQL/libpq/libpqmodule.so @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${EXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Modified: head/databases/py-pyPgSQL/distinfo ============================================================================== --- head/databases/py-pyPgSQL/distinfo Fri May 11 06:40:27 2018 (r469613) +++ head/databases/py-pyPgSQL/distinfo Fri May 11 07:27:12 2018 (r469614) @@ -1,4 +1,3 @@ +TIMESTAMP = 1526023581 SHA256 (pyPgSQL-2.5.1.tar.gz) = 498486f066f11a68f5b02a54ba5a008d01d507038c873bfd901c14d3f5ca18af SIZE (pyPgSQL-2.5.1.tar.gz) = 152840 -SHA256 (pyPgSQL-patch_byteaconn) = 73a324808aef49382e736245023eb8c468e1ca0803052a2a45162465b0ad28d7 -SIZE (pyPgSQL-patch_byteaconn) = 4718 Modified: head/databases/py-pyPgSQL/pkg-plist ============================================================================== --- head/databases/py-pyPgSQL/pkg-plist Fri May 11 06:40:27 2018 (r469613) +++ head/databases/py-pyPgSQL/pkg-plist Fri May 11 07:27:12 2018 (r469614) @@ -1,13 +1,3 @@ -%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.py -%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.pyc -%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.pyo -%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.py -%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.pyc -%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.pyo -%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.py -%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.pyc -%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.pyo -%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/libpqmodule.so %%PORTDOCS%%%%DOCSDIR%%/Announce %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/README