Bug 132699 - New port: databases/py-cmemcache Python extension for libmemcache, the C API to memcached.
Summary: New port: databases/py-cmemcache Python extension for libmemcache, the C API ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 15:30 UTC by QingFeng
Modified: 2009-03-16 21:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description QingFeng 2009-03-16 15:30:01 UTC
# 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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-03-16 15:30:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2009-03-16 17:05:07 UTC
Responsible Changed
From-To: freebsd-python->miwi

I'll take it.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2009-03-16 21:46:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-03-16 21:47:09 UTC
miwi        2009-03-16 21:46:57 UTC

  FreeBSD ports repository

  Modified files:
    databases            Makefile 
  Added files:
    databases/py-cmemcache Makefile distinfo pkg-descr pkg-plist 
  Log:
  Python 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.
  
  WWW:    http://gijsbert.org/cmemcache/
  
  PR:             ports/132699
  Submitted by:   Qing Feng <qingfeng at me.com>
  
  Revision  Changes    Path
  1.748     +1 -0      ports/databases/Makefile
  1.1       +24 -0     ports/databases/py-cmemcache/Makefile (new)
  1.1       +3 -0      ports/databases/py-cmemcache/distinfo (new)
  1.1       +5 -0      ports/databases/py-cmemcache/pkg-descr (new)
  1.1       +4 -0      ports/databases/py-cmemcache/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"