git: f98695ce0292 - main - devel/py-tailer: Add py-tailer 0.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 11:42:27 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f98695ce02929e110366ce9e578941a2b10c53fc
commit f98695ce02929e110366ce9e578941a2b10c53fc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 11:21:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 11:40:48 +0000
devel/py-tailer: Add py-tailer 0.4.1
Python tail is a simple implementation of GNU tail and head.
It provides 3 main functions that can be performed on any file-like object that
supports seek() and tell().
- tail: read lines from the end of a file
- head: read lines from the top of a file
- follow: read lines as a file grows
WWW: https://github.com/six8/pytailer
---
devel/Makefile | 1 +
devel/py-tailer/Makefile | 18 ++++++++++++++++++
devel/py-tailer/distinfo | 3 +++
devel/py-tailer/pkg-descr | 9 +++++++++
4 files changed, 31 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 8fae4bd6645f..3c09861115fc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5338,6 +5338,7 @@
SUBDIR += py-tables
SUBDIR += py-tabulate
SUBDIR += py-tabulator
+ SUBDIR += py-tailer
SUBDIR += py-tapi
SUBDIR += py-tarantool-queue
SUBDIR += py-tartiflette
diff --git a/devel/py-tailer/Makefile b/devel/py-tailer/Makefile
new file mode 100644
index 000000000000..49d4ed002cc0
--- /dev/null
+++ b/devel/py-tailer/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= tailer
+PORTVERSION= 0.4.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple implementation of GNU tail and head
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-tailer/distinfo b/devel/py-tailer/distinfo
new file mode 100644
index 000000000000..e6aa97e81267
--- /dev/null
+++ b/devel/py-tailer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661599119
+SHA256 (tailer-0.4.1.tar.gz) = 78d60f23a1b8a2d32f400b3c8c06b01142ac7841b75d8a1efcb33515877ba531
+SIZE (tailer-0.4.1.tar.gz) = 7504
diff --git a/devel/py-tailer/pkg-descr b/devel/py-tailer/pkg-descr
new file mode 100644
index 000000000000..7209ce44a41e
--- /dev/null
+++ b/devel/py-tailer/pkg-descr
@@ -0,0 +1,9 @@
+Python tail is a simple implementation of GNU tail and head.
+
+It provides 3 main functions that can be performed on any file-like object that
+supports seek() and tell().
+- tail: read lines from the end of a file
+- head: read lines from the top of a file
+- follow: read lines as a file grows
+
+WWW: https://github.com/six8/pytailer