From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 8 10:10:12 2012 Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG> Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE10D1065672 for <freebsd-ports-bugs@hub.freebsd.org>; Mon, 8 Oct 2012 10:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A1A568FC12 for <freebsd-ports-bugs@hub.freebsd.org>; Mon, 8 Oct 2012 10:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q98AACw0019234 for <freebsd-ports-bugs@freefall.freebsd.org>; Mon, 8 Oct 2012 10:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q98AAC5V019233; Mon, 8 Oct 2012 10:10:12 GMT (envelope-from gnats) Resent-Date: Mon, 8 Oct 2012 10:10:12 GMT Resent-Message-Id: <201210081010.q98AAC5V019233@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kubilay Kocak <koobs.freebsd@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AA41106566B; Mon, 8 Oct 2012 10:06:04 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 539DB8FC08; Mon, 8 Oct 2012 10:06:03 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so4306853pbb.13 for <multiple recipients>; Mon, 08 Oct 2012 03:06:02 -0700 (PDT) Received: by 10.68.203.38 with SMTP id kn6mr32367666pbc.30.1349690762798; Mon, 08 Oct 2012 03:06:02 -0700 (PDT) Received: from freebsd-9-amd64.localdomain (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPS id vi9sm10501173pbc.41.2012.10.08.03.06.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Oct 2012 03:06:02 -0700 (PDT) Received: by freebsd-9-amd64.localdomain (Postfix, from userid 1001) id CD08F3A4A5; Mon, 8 Oct 2012 21:05:56 +1100 (EST) Message-Id: <20121008100556.CD08F3A4A5@freebsd-9-amd64.localdomain> Date: Mon, 8 Oct 2012 21:05:56 +1100 (EST) From: Kubilay Kocak <koobs.freebsd@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clsung@FreeBSD.org Subject: ports/172481: [PATCH] databases/py-redis: update to 2.7.0, take maintainership, Add OPTIONS + more X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs> List-Post: <mailto:freebsd-ports-bugs@freebsd.org> List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 08 Oct 2012 10:10:12 -0000 >Number: 172481 >Category: ports >Synopsis: [PATCH] databases/py-redis: update to 2.7.0, take maintainership, Add OPTIONS + more >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Oct 08 10:10:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kubilay Kocak >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul 7 21:26:56 EST >Description: - Update to 2.7.0 - Take maintainership (approved: clsung @ IRC w/ sbz) - Add CHEESESHOP as primary MASTERSITE - Remove LICENSE_FILE for those in bsd.licenses.db.mk - Whitespace alignment - Add HIREDIS OPTIONng - Use easy_install (make tests easier to run) - Add zip_safe=False to setup.py - Update and sort pkg-plist - Replace dirrmtry with dirrm - New Makefile header convention Changes: (2.4.13 -> 2.7.0): https://github.com/andymccurdy/redis-py/blob/2.7.0/CHANGES ====[QA]==== supersedes: ports/170648 portlint: looks fine. porttest: OK redports: https://redports.org/buildarchive/20121008082149-16785/ unittest: Ran 157 tests in 7.814s - OK (skipped=12) Note: tested against databases/redis-devel ============ Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- py27-redis-2.7.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/py-redis/Makefile ./Makefile --- /usr/ports/databases/py-redis/Makefile 2012-06-02 10:48:54.000000000 +1000 +++ ./Makefile 2012-10-08 19:19:44.000000000 +1100 @@ -1,23 +1,30 @@ -# New ports collection makefile for: py-redis -# Date created: 18 March 2011 -# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> -# +# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> # $FreeBSD: ports/databases/py-redis/Makefile,v 1.5 2012/06/02 00:48:54 clsung Exp $ -# PORTNAME= redis -PORTVERSION= 2.4.13 +PORTVERSION= 2.7.0 CATEGORIES= databases python -MASTER_SITES= http://cloud.github.com/downloads/andymccurdy/redis-py/ +MASTER_SITES= CHEESESHOP \ + http://cloud.github.com/downloads/andymccurdy/redis-py/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= clsung@FreeBSD.org +MAINTAINER= koobs.freebsd@gmail.com COMMENT= Python client for Redis key-value store LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +OPTIONS_DEFINE= HIREDIS +HIREDIS_DESC= Add py-hiredis C extension support +# bypass infrastructure bug +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MHIREDIS} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}hiredis>0:${PORTSDIR}/databases/py-hiredis +.endif .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/databases/py-redis/distinfo ./distinfo --- /usr/ports/databases/py-redis/distinfo 2012-06-02 10:48:54.000000000 +1000 +++ ./distinfo 2012-10-08 18:14:08.000000000 +1100 @@ -1,2 +1,2 @@ -SHA256 (redis-2.4.13.tar.gz) = 365285e161395344edc629a2e108f6bb0983e96d9b5012dab1f76cec2379a09a -SIZE (redis-2.4.13.tar.gz) = 29329 +SHA256 (redis-2.7.0.tar.gz) = 0a6d3ff3d83ade3fb3f2f7392414e43237af61d92ce783cae05b9d1ac40f0e91 +SIZE (redis-2.7.0.tar.gz) = 39229 diff -ruN --exclude=CVS /usr/ports/databases/py-redis/files/patch-setup.py ./files/patch-setup.py --- /usr/ports/databases/py-redis/files/patch-setup.py 2012-06-02 10:48:54.000000000 +1000 +++ ./files/patch-setup.py 2012-08-15 22:27:34.000000000 +1000 @@ -1,14 +1,22 @@ ---- ./setup.py.orig 2012-05-27 06:05:41.000000000 +1000 -+++ ./setup.py 2012-05-27 06:05:49.000000000 +1000 -@@ -30,10 +30,7 @@ - 'Programming Language :: Python'], - } +--- ./setup.py.orig 2012-08-10 08:48:07.000000000 +1000 ++++ ./setup.py 2012-08-15 22:27:30.000000000 +1000 +@@ -3,10 +3,7 @@ + + from redis import __version__ -try: - from setuptools import setup -except ImportError: - from distutils.core import setup -+from distutils.core import setup - - setup(**sdict) ++from setuptools import setup + f = open(os.path.join(os.path.dirname(__file__), 'README.md')) + long_description = f.read() +@@ -41,5 +38,6 @@ + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', +- ] ++ ], ++ zip_safe=False, + ) diff -ruN --exclude=CVS /usr/ports/databases/py-redis/pkg-plist ./pkg-plist --- /usr/ports/databases/py-redis/pkg-plist 2012-06-02 10:48:54.000000000 +1000 +++ ./pkg-plist 2012-08-15 22:29:19.000000000 +1000 @@ -1,17 +1,27 @@ @comment $FreeBSD: ports/databases/py-redis/pkg-plist,v 1.4 2012/06/02 00:48:54 clsung Exp $ -%%PYTHON_SITELIBDIR%%/redis/__init__.py -%%PYTHON_SITELIBDIR%%/redis/__init__.pyc -%%PYTHON_SITELIBDIR%%/redis/__init__.pyo -%%PYTHON_SITELIBDIR%%/redis/client.py -%%PYTHON_SITELIBDIR%%/redis/client.pyc -%%PYTHON_SITELIBDIR%%/redis/client.pyo -%%PYTHON_SITELIBDIR%%/redis/connection.py -%%PYTHON_SITELIBDIR%%/redis/connection.pyc -%%PYTHON_SITELIBDIR%%/redis/connection.pyo -%%PYTHON_SITELIBDIR%%/redis/exceptions.py -%%PYTHON_SITELIBDIR%%/redis/exceptions.pyc -%%PYTHON_SITELIBDIR%%/redis/exceptions.pyo -%%PYTHON_SITELIBDIR%%/redis/utils.py -%%PYTHON_SITELIBDIR%%/redis/utils.pyc -%%PYTHON_SITELIBDIR%%/redis/utils.pyo -@dirrmtry %%PYTHON_SITELIBDIR%%/redis +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/_compat.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/_compat.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/_compat.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/client.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/client.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/client.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/connection.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/connection.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/connection.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/exceptions.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/exceptions.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/exceptions.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/utils.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/utils.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/utils.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% --- py27-redis-2.7.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: