diff options
author | Dan Langille <dvl@FreeBSD.org> | 2023-03-02 14:55:02 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2023-03-02 14:55:02 +0000 |
commit | c5afabd7378b6edbc5026c9f4d12eaf20f7eb915 (patch) | |
tree | 2a7c32a04394c967fb0248e1ed602a102ca85f8f | |
parent | net-im/webinar: Catch up with recent atk changes. (diff) |
devel/py-tendo: Add new port
The main feature of interest is a single process instance feature which
can be used to ensure only one proces runs at a time, given multiple
users. Implemented via fnctl "under the hood" to create/check/remove
a lock file. While on FreeBSD we have lockf(1), this is not portable.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-tendo/Makefile | 22 | ||||
-rw-r--r-- | devel/py-tendo/distinfo | 3 | ||||
-rw-r--r-- | devel/py-tendo/pkg-descr | 10 |
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 91bd5c1c52d4..29207c2a0b0a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5482,6 +5482,7 @@ SUBDIR += py-telepath SUBDIR += py-tempora SUBDIR += py-tenacity + SUBDIR += py-tendo SUBDIR += py-termcolor SUBDIR += py-termcolor-whl SUBDIR += py-termstyle diff --git a/devel/py-tendo/Makefile b/devel/py-tendo/Makefile new file mode 100644 index 000000000000..1118733e7a71 --- /dev/null +++ b/devel/py-tendo/Makefile @@ -0,0 +1,22 @@ +PORTNAME= tendo +PORTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Basic functionality that is not provided by Python +WWW= https://github.com/pycontribs/tendo + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python:3.8+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + ${ECHO} "from setuptools import setup ; setup()" > ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/devel/py-tendo/distinfo b/devel/py-tendo/distinfo new file mode 100644 index 000000000000..f7aaaa57c106 --- /dev/null +++ b/devel/py-tendo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677680159 +SHA256 (tendo-0.3.0.tar.gz) = 68392d686eb6ece71c14ff0fe24340e83c4362525c8b26f144c84f3122ae9e77 +SIZE (tendo-0.3.0.tar.gz) = 34368 diff --git a/devel/py-tendo/pkg-descr b/devel/py-tendo/pkg-descr new file mode 100644 index 000000000000..bb2a59823200 --- /dev/null +++ b/devel/py-tendo/pkg-descr @@ -0,0 +1,10 @@ +Tendo is a python module that adds basic functionality that is not provided by +Python. Read the documentation for more info. + +* file-based singleton capability +* transparent Unicode support for text file operations (BOM detection) +* console logging coloring +* enable you to use symlinks under windows +* python tee implementation for executing external programs and redirecting + their output to both console/file +* improved execfile |