Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 16:02:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441159 - in head/devel: . py-smmap2
Message-ID:  <201705181602.v4IG2vxn002593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu May 18 16:02:57 2017
New Revision: 441159
URL: https://svnweb.freebsd.org/changeset/ports/441159

Log:
  Add py-smmap2 2.0.1
  
  Smmap wraps an interface around mmap and tracks the mapped files as well as the
  amount of clients who use it. If the system runs out of resources, or if a
  memory limit is reached, it will automatically unload unused maps to allow
  continued operation.
  
  To allow processing large files even on 32 bit systems, it allows only portions
  of the file to be mapped. Once the user reads beyond the mapped region, smmap
  will automatically map the next required region, unloading unused regions using
  a LRU algorithm.
  
  WWW: https://pypi.python.org/pypi/smmap2
  WWW: https://github.com/gitpython-developers/smmap

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu May 18 16:02:38 2017	(r441158)
+++ head/devel/Makefile	Thu May 18 16:02:57 2017	(r441159)
@@ -4723,6 +4723,7 @@
     SUBDIR += py-sip
     SUBDIR += py-six
     SUBDIR += py-smmap
+    SUBDIR += py-smmap2
     SUBDIR += py-sortedcontainers
     SUBDIR += py-sourcemap
     SUBDIR += py-spark

Added: head/devel/py-smmap2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-smmap2/Makefile	Thu May 18 16:02:57 2017	(r441159)
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	smmap2
+PORTVERSION=	2.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Sliding-window memory map manager
+
+LICENSE=	BSD3CLAUSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist distutils
+USES=		python
+
+.include <bsd.port.mk>

Added: head/devel/py-smmap2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-smmap2/distinfo	Thu May 18 16:02:57 2017	(r441159)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495051618
+SHA256 (smmap2-2.0.1.tar.gz) = 5c9fd3ac4a30b85d041a8bd3779e16aa704a161991e74b9a46692bc368e68752
+SIZE (smmap2-2.0.1.tar.gz) = 21948

Added: head/devel/py-smmap2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-smmap2/pkg-descr	Thu May 18 16:02:57 2017	(r441159)
@@ -0,0 +1,12 @@
+Smmap wraps an interface around mmap and tracks the mapped files as well as the
+amount of clients who use it. If the system runs out of resources, or if a
+memory limit is reached, it will automatically unload unused maps to allow
+continued operation.
+
+To allow processing large files even on 32 bit systems, it allows only portions
+of the file to be mapped. Once the user reads beyond the mapped region, smmap
+will automatically map the next required region, unloading unused regions using
+a LRU algorithm.
+
+WWW: https://pypi.python.org/pypi/smmap2
+WWW: https://github.com/gitpython-developers/smmap



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