Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 03:35:05 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307878 - in head/databases/py-redis: . files
Message-ID:  <201211280335.qAS3Z5km026698@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Nov 28 03:35:05 2012
New Revision: 307878
URL: http://svnweb.freebsd.org/changeset/ports/307878

Log:
  - Update to 2.7.0
  - 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
  - Give maintainership to submitter
  
  PR:		ports/172481
  Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com>
  Approved by:	clsung via IRC
  Feature safe:	yes

Modified:
  head/databases/py-redis/Makefile   (contents, props changed)
  head/databases/py-redis/distinfo   (contents, props changed)
  head/databases/py-redis/files/patch-setup.py   (contents, props changed)
  head/databases/py-redis/pkg-plist   (contents, props changed)

Modified: head/databases/py-redis/Makefile
==============================================================================
--- head/databases/py-redis/Makefile	Wed Nov 28 03:23:46 2012	(r307877)
+++ head/databases/py-redis/Makefile	Wed Nov 28 03:35:05 2012	(r307878)
@@ -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$
-#
 
 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>

Modified: head/databases/py-redis/distinfo
==============================================================================
--- head/databases/py-redis/distinfo	Wed Nov 28 03:23:46 2012	(r307877)
+++ head/databases/py-redis/distinfo	Wed Nov 28 03:35:05 2012	(r307878)
@@ -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

Modified: head/databases/py-redis/files/patch-setup.py
==============================================================================
--- head/databases/py-redis/files/patch-setup.py	Wed Nov 28 03:23:46 2012	(r307877)
+++ head/databases/py-redis/files/patch-setup.py	Wed Nov 28 03:35:05 2012	(r307878)
@@ -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,
+ )

Modified: head/databases/py-redis/pkg-plist
==============================================================================
--- head/databases/py-redis/pkg-plist	Wed Nov 28 03:23:46 2012	(r307877)
+++ head/databases/py-redis/pkg-plist	Wed Nov 28 03:35:05 2012	(r307878)
@@ -1,17 +1,27 @@
 @comment $FreeBSD$
-%%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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211280335.qAS3Z5km026698>