Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1677680159 | ||
SHA256 (tendo-0.3.0.tar.gz) = 68392d686eb6ece71c14ff0fe24340e83c4362525c8b26f144c84f3122ae9e77 | ||
SIZE (tendo-0.3.0.tar.gz) = 34368 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |