mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
textproc/py-file-read-backwards: New port
Memory efficient way of reading files line-by-line from the end of file This package is for reading file backward line by line as unicode in a memory efficient manner for both Python 2.7 and Python 3. It currently supports ascii, latin-1, and utf-8 encodings. It supports "\r", "\r\n", and "\n" as new lines. WWW: https://github.com/RobinNil/file_read_backwards Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1bf50b4e0e
commit
1c10b1f54d
@ -1380,6 +1380,7 @@
|
||||
SUBDIR += py-fasttext-predict
|
||||
SUBDIR += py-faust-cchardet
|
||||
SUBDIR += py-feedparser
|
||||
SUBDIR += py-file-read-backwards
|
||||
SUBDIR += py-fingerprints
|
||||
SUBDIR += py-flor
|
||||
SUBDIR += py-fluent.syntax
|
||||
|
24
textproc/py-file-read-backwards/Makefile
Normal file
24
textproc/py-file-read-backwards/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
PORTNAME= file-read-backwards
|
||||
DISTVERSION= 3.1.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Memory efficient way of reading files line-by-line from the end of file
|
||||
WWW= https://github.com/RobinNil/file_read_backwards
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils unittest2
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
TEST_WRKSRC= ${WRKSRC}/tests
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-file-read-backwards/distinfo
Normal file
3
textproc/py-file-read-backwards/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1728545451
|
||||
SHA256 (file_read_backwards-3.1.0.tar.gz) = bd04593bc1938a003224be451d5d735f1f4490e1e70a568ce8d330bb7652a684
|
||||
SIZE (file_read_backwards-3.1.0.tar.gz) = 23328
|
6
textproc/py-file-read-backwards/pkg-descr
Normal file
6
textproc/py-file-read-backwards/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This package is for reading file backward line by line as unicode in a
|
||||
memory efficient manner for both Python 2.7 and Python 3.
|
||||
|
||||
It currently supports ascii, latin-1, and utf-8 encodings.
|
||||
|
||||
It supports "\r", "\r\n", and "\n" as new lines.
|
Loading…
Reference in New Issue
Block a user