From owner-svn-ports-all@freebsd.org Thu May 18 16:02:58 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D66ADD733CC; Thu, 18 May 2017 16:02:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1CE6EBF; Thu, 18 May 2017 16:02:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4IG2vGe002597; Thu, 18 May 2017 16:02:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4IG2vxn002593; Thu, 18 May 2017 16:02:57 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705181602.v4IG2vxn002593@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 18 May 2017 16:02:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441159 - in head/devel: . py-smmap2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 16:02:58 -0000 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 +# $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 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