From owner-svn-ports-all@FreeBSD.ORG Tue Dec 9 01:55:53 2014 Return-Path: Delivered-To: svn-ports-all@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 704CA6E2; Tue, 9 Dec 2014 01:55:53 +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 518E02FF; Tue, 9 Dec 2014 01:55:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB91trYB099526; Tue, 9 Dec 2014 01:55:53 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB91tq9l099516; Tue, 9 Dec 2014 01:55:52 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201412090155.sB91tq9l099516@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 9 Dec 2014 01:55:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374342 - in head/databases/py-pylibmc: . 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-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 09 Dec 2014 01:55:53 -0000 Author: koobs Date: Tue Dec 9 01:55:51 2014 New Revision: 374342 URL: https://svnweb.freebsd.org/changeset/ports/374342 QAT: https://qat.redports.org/buildarchive/r374342/ Log: databases/py-pylibmc: Update to 1.4.1, Allow Python 3 support - Update to 1.4.1 - Allow Python 3 support [1] - Update COMMENT to match PyPi upstream - Add TESTS option, TEST_DEPENDS and regression-test target - Strip shared library - Patch setup.{py,cfg} to add allow 'test' command to run - Update pkg-descr to match upstream - pkg-descr: Update WWW: URL to match PyPi upstream This update passes QA (test suite) under Python 2.7 and 3.4. Changes: http://sendapatch.se/projects/pylibmc/changelog.html [1] https://github.com/lericson/pylibmc/issues/146 Added: head/databases/py-pylibmc/files/ head/databases/py-pylibmc/files/patch-setup.cfg (contents, props changed) head/databases/py-pylibmc/files/patch-setup.py (contents, props changed) Modified: head/databases/py-pylibmc/Makefile head/databases/py-pylibmc/distinfo head/databases/py-pylibmc/pkg-descr Modified: head/databases/py-pylibmc/Makefile ============================================================================== --- head/databases/py-pylibmc/Makefile Mon Dec 8 23:08:04 2014 (r374341) +++ head/databases/py-pylibmc/Makefile Tue Dec 9 01:55:51 2014 (r374342) @@ -2,22 +2,33 @@ # $FreeBSD$ PORTNAME= pylibmc -PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTVERSION= 1.4.1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org -COMMENT= Python wrapper around the libmemcached interface +COMMENT= Quick and small memcached client for Python LICENSE= BSD3CLAUSE LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached +TEST_DEPENDS= memcached:${PORTSDIR}/databases/memcached \ + nosetests:${PORTSDIR}/devel/py-nose -USES= python:2 +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install test suite dependencies +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} + +USES= python USE_PYTHON= distutils autoplist MAKE_ENV+= LIBMEMCACHED="${LOCALBASE}" +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pylibmc.so + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + .include Modified: head/databases/py-pylibmc/distinfo ============================================================================== --- head/databases/py-pylibmc/distinfo Mon Dec 8 23:08:04 2014 (r374341) +++ head/databases/py-pylibmc/distinfo Tue Dec 9 01:55:51 2014 (r374342) @@ -1,2 +1,2 @@ -SHA256 (pylibmc-1.3.0.tar.gz) = a6945a4c77f96d5b744118805247fb24c09f1d353aebbce6dd510a6042689b45 -SIZE (pylibmc-1.3.0.tar.gz) = 49949 +SHA256 (pylibmc-1.4.1.tar.gz) = a00e75f5c76e573e95ac5b29cb8a816728930f29332c49c74dbfd326d598088f +SIZE (pylibmc-1.4.1.tar.gz) = 53360 Added: head/databases/py-pylibmc/files/patch-setup.cfg ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-pylibmc/files/patch-setup.cfg Tue Dec 9 01:55:51 2014 (r374342) @@ -0,0 +1,8 @@ +--- setup.cfg.orig 2014-12-09 01:22:54 UTC ++++ setup.cfg +@@ -1,5 +1,4 @@ + [nosetests] +-with-info=1 + with-doctest=1 + debug=nose.plugins.pylibmc + doctest-extension=txt Added: head/databases/py-pylibmc/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-pylibmc/files/patch-setup.py Tue Dec 9 01:55:51 2014 (r374342) @@ -0,0 +1,8 @@ +--- setup.py.orig 2014-12-09 01:16:30 UTC ++++ setup.py +@@ -122,4 +122,5 @@ setup( + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + ], ++ test_suite = 'nose.collector' + ) Modified: head/databases/py-pylibmc/pkg-descr ============================================================================== --- head/databases/py-pylibmc/pkg-descr Mon Dec 8 23:08:04 2014 (r374341) +++ head/databases/py-pylibmc/pkg-descr Tue Dec 9 01:55:51 2014 (r374342) @@ -1,4 +1,11 @@ -pylibmc is a Python wrapper around the accompanying C Python extension -_pylibmc, which is a wrapper around libmemcached from TangentOrg. +pylibmc is a client in Python for memcached. It is a wrapper around +TangentOrg's libmemcached library. -WWW: https://pypi.python.org/pypi/pylibmc +The interface is intentionally made as close to python-memcached as possible, +so that applications can drop-in replace it. + +pylibmc leverages among other things configurable behaviors, data pickling, +data compression, battle-tested GIL retention, consistent distribution, and +the binary memcached protocol. + +WWW: http://sendapatch.se/projects/pylibmc