freebsd-ports/databases/py-pymemcache/Makefile
Steve Wills 6a1c5737aa databases/py-pymemcache: create port
A comprehensive, fast, pure-Python memcached client.

pymemcache supports the following features:

 * Complete implementation of the memcached text protocol.
 * Configurable timeouts for socket connect and send/recv calls.
 * Access to the "noreply" flag, which can significantly increase the speed of
   writes.
 * Flexible, modular and simple approach to serialization and deserialization.
 * The (optional) ability to treat network and memcached errors as cache
   misses.

WWW: https://github.com/pinterest/pymemcache

PR:		246314
Submitted by:	Alessandro Sagratini <ale_sagra@hotmail.com>
2020-05-09 15:15:00 +00:00

27 lines
537 B
Makefile

# $FreeBSD$
PORTNAME= pymemcache
PORTVERSION= 3.1.1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ale_sagra@hotmail.com
COMMENT= Comprehensive, fast, pure-Python memcached client
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
DEVELOPER= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>