1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/textproc/py-file-read-backwards/Makefile
Muhammad Moinur Rahman 1c10b1f54d
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
2024-10-10 10:05:10 +02:00

25 lines
600 B
Makefile

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>