c5afabd737
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.
22 lines
485 B
Makefile
22 lines
485 B
Makefile
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>
|