diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-05-19 00:02:57 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-05-19 00:02:57 +0800 |
commit | c45b7e6bd04cb409f4ceb24cbca1321225a04be9 (patch) | |
tree | ba86dcb6663b21f39d6c11bbbe522a01881b1838 | |
parent | 4c14b9684c2e7d18079c645b38e3906b2577b0e3 (diff) | |
download | freebsd-ports-gnome-c45b7e6bd04cb409f4ceb24cbca1321225a04be9.tar.gz freebsd-ports-gnome-c45b7e6bd04cb409f4ceb24cbca1321225a04be9.tar.zst freebsd-ports-gnome-c45b7e6bd04cb409f4ceb24cbca1321225a04be9.zip |
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
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-smmap2/Makefile | 21 | ||||
-rw-r--r-- | devel/py-smmap2/distinfo | 3 | ||||
-rw-r--r-- | devel/py-smmap2/pkg-descr | 12 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b5b3d89e62c0..08373fc15a54 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-smmap2/Makefile b/devel/py-smmap2/Makefile new file mode 100644 index 000000000000..a86a928b5ea7 --- /dev/null +++ b/devel/py-smmap2/Makefile @@ -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> diff --git a/devel/py-smmap2/distinfo b/devel/py-smmap2/distinfo new file mode 100644 index 000000000000..d4b97eedcf40 --- /dev/null +++ b/devel/py-smmap2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1495051618 +SHA256 (smmap2-2.0.1.tar.gz) = 5c9fd3ac4a30b85d041a8bd3779e16aa704a161991e74b9a46692bc368e68752 +SIZE (smmap2-2.0.1.tar.gz) = 21948 diff --git a/devel/py-smmap2/pkg-descr b/devel/py-smmap2/pkg-descr new file mode 100644 index 000000000000..8cd7aa22ad2f --- /dev/null +++ b/devel/py-smmap2/pkg-descr @@ -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 |