Date: Mon, 16 Mar 2009 15:24:41 GMT From: QingFeng <qingfeng@me.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132699: New port: databases/py-cmemcache Python extension for libmemcache, the C API to memcached. Message-ID: <200903161524.n2GFOf6W088212@www.freebsd.org> Resent-Message-ID: <200903161530.n2GFU1hM083609@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132699 >Category: ports >Synopsis: New port: databases/py-cmemcache Python extension for libmemcache, the C API to memcached. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 16 15:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: QingFeng >Release: >Organization: 80s >Environment: FreeBSD 80s 7.0-RELEASE FreeBSD 7.0-RELEASE #6: Wed Dec 10 21:20:32 CST 2008 root@:/usr/obj/usr/src/sys/BOYPARK i386 >Description: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-cmemcache # py-cmemcache/distinfo # py-cmemcache/Makefile # py-cmemcache/pkg-descr # py-cmemcache/pkg-plist # echo c - py-cmemcache mkdir -p py-cmemcache > /dev/null 2>&1 echo x - py-cmemcache/distinfo sed 's/^X//' >py-cmemcache/distinfo << 'END-of-py-cmemcache/distinfo' XMD5 (cmemcache-0.95.tar.bz2) = b4680c311201ee3c0456e123874a289b XSHA256 (cmemcache-0.95.tar.bz2) = ca86b3086e4b4901520e0b30bbb4ba7230cdaa805eca8b50af7d7f0efb931560 XSIZE (cmemcache-0.95.tar.bz2) = 41093 END-of-py-cmemcache/distinfo echo x - py-cmemcache/Makefile sed 's/^X//' >py-cmemcache/Makefile << 'END-of-py-cmemcache/Makefile' X# New ports collection makefile for: py-cmemcache X# Date created: 17 Jan 2009 X# Whom: Qing Feng <qingfeng@me.com> X# X# $FreeBSD$ X# X XPORTNAME= cmemcache XPORTVERSION= 0.95 XCATEGORIES= databases python XMASTER_SITES= http://gijsbert.org/downloads/cmemcache/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= ${PORTNAME}-${PORTVERSION} XEXTRACT_SUFX= .tar.bz2 X XMAINTAINER= qingfeng@me.com XCOMMENT= Python API for memcached, a distributed memory cache daemon X XLIB_DEPENDS= memcache:${PORTSDIR}/databases/libmemcache X XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes X X.include <bsd.port.mk> END-of-py-cmemcache/Makefile echo x - py-cmemcache/pkg-descr sed 's/^X//' >py-cmemcache/pkg-descr << 'END-of-py-cmemcache/pkg-descr' XPython extension for libmemcache, the C API to memcached. cmemcache API is the same as python-memcache, so it is easy to replace python-memcache with cmemcache, and vice versa. X Xcmemcache is about 1.7 times faster than python-memcache with short key names (8 characters), faster with larger key names (I get about 2x for 100 character keys). Using get_multi is faster still, almost 2x for 2 8-character keys. See cachecmp.py for profiling logic. X XWWW: http://gijsbert.org/cmemcache/ END-of-py-cmemcache/pkg-descr echo x - py-cmemcache/pkg-plist sed 's/^X//' >py-cmemcache/pkg-plist << 'END-of-py-cmemcache/pkg-plist' X%%PYTHON_SITELIBDIR%%/_cmemcache.so X%%PYTHON_SITELIBDIR%%/cmemcache.py X%%PYTHON_SITELIBDIR%%/cmemcache.pyc X%%PYTHON_SITELIBDIR%%/cmemcache.pyo END-of-py-cmemcache/pkg-plist exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903161524.n2GFOf6W088212>