Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2020 15:15:00 +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: r534780 - in head/databases: . py-pymemcache
Message-ID:  <202005091515.049FF0CX026761@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat May  9 15:15:00 2020
New Revision: 534780
URL: https://svnweb.freebsd.org/changeset/ports/534780

Log:
  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>

Added:
  head/databases/py-pymemcache/
  head/databases/py-pymemcache/Makefile   (contents, props changed)
  head/databases/py-pymemcache/distinfo   (contents, props changed)
  head/databases/py-pymemcache/pkg-descr   (contents, props changed)
Modified:
  head/databases/Makefile   (contents, props changed)

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Sat May  9 14:29:08 2020	(r534779)
+++ head/databases/Makefile	Sat May  9 15:15:00 2020	(r534780)
@@ -790,6 +790,7 @@
     SUBDIR += py-pycql
     SUBDIR += py-pyhs
     SUBDIR += py-pylibmc
+    SUBDIR += py-pymemcache
     SUBDIR += py-pymssql
     SUBDIR += py-pymysql
     SUBDIR += py-pyodbc

Added: head/databases/py-pymemcache/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-pymemcache/Makefile	Sat May  9 15:15:00 2020	(r534780)
@@ -0,0 +1,27 @@
+# $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>

Added: head/databases/py-pymemcache/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-pymemcache/distinfo	Sat May  9 15:15:00 2020	(r534780)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1588673573
+SHA256 (pymemcache-3.1.1.tar.gz) = 39cb4ed728fad0d71386730898b467d3d56994fcabfea324d8b2e743fa158bff
+SIZE (pymemcache-3.1.1.tar.gz) = 44464

Added: head/databases/py-pymemcache/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-pymemcache/pkg-descr	Sat May  9 15:15:00 2020	(r534780)
@@ -0,0 +1,13 @@
+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



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