From nobody Thu Mar 2 15:00:23 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PSDml66HXz3vvW7; Thu, 2 Mar 2023 15:00:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PSDml5Yrdz4JRS; Thu, 2 Mar 2023 15:00:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677769223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Yh8nfA9Km8UgeNzQny5MavAb5OGqZ/GkaA9kRm0A45A=; b=AQThuziffpwSfAGlwTGSgVZEXfnokVV53avWkT5Yo0OZIjn1qoyES3A49qAOj72G212de7 nPRrop+XpUrhG4+RAXi1iH1Fy0l4UbFClpx5D0F9ZQtQa4bAvELNloV10FljyMfGc425sV aXEyqF+4cZNd0SdUSkk58dI4FUe20rmOtJaYJ5EClj0cTHAmeiu7yP/riHVbRgaWCX1TfE ls30nxfIhm4ADcHmoDmBohHBSnF6kYIFU5Y3RwCVf8IDXY05ds0PeSX0gB26I2QNfXRYal WRd0tcQr6qFGB4xkdmrJ5q3g/XFBTF/WerQFuyDROYvE/UKrXE1SaWWobgnbIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677769223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Yh8nfA9Km8UgeNzQny5MavAb5OGqZ/GkaA9kRm0A45A=; b=UyWuMO/g+Om+w707iE9h7fkOlkFaI2s/FwOHGk7xHq1siAWmshhEuXlzpAO9vdJordNPf9 sawKqxGPCpCHly9UDi3NtoiKdv7izZpKTcGjocN7QMtGvLFoqtlON0Oh4UTpQhBAkY7KMW 2z24y/FC/YVpwDNkljd4Afl5eUPTgeo7M+Pg/kWOCmdf6zhyXQMal72mB4Yfk56060hGt0 v3zhagZBKikR2dSUwJ7NKzsEW3zyrjkHSID6HdoQIUd2ClQLVlugBVqKGKj3wbO3CYzJOf 7j9qgGZS6/eL796euoeWiA9nJ96wW33JKiNKDP3nDu3k3D4m4PJc8KIw9tiu2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677769223; a=rsa-sha256; cv=none; b=XT9L9IoAu04WmRp7gscoZZzUSv7fBXfKYC4IfM7hGqsm7wEgWeQhUR+pOeZaV2DsNxCbZC xmZJ3HQHi8MxRoxo57tYQ9WzofDZfw6VUOoW4LtpC+KHDtO8+wqh3/vAax99ijLXtiIIpT yq/PxGwSnJ7PvoZQEMcFuk7KT3NmwiNPO/vimBk/cp1DxZj8KY0Q24V/pFaiMmir4U8/0w R9SOcFbxW87hJb/3lJxLIjXv35jwNlXkX889FYkA3RJGShN5BxZgYy/ZhR/fP6kZuUiaIc sF+LsGJkCisMOe77J6UxGApZ2kmPaI5EQZ64ug/YUoPzal4ffwEZ2blmC4/dfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PSDml4Jd0zL9x; Thu, 2 Mar 2023 15:00:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 322F0NUx014573; Thu, 2 Mar 2023 15:00:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 322F0NVw014572; Thu, 2 Mar 2023 15:00:23 GMT (envelope-from git) Date: Thu, 2 Mar 2023 15:00:23 GMT Message-Id: <202303021500.322F0NVw014572@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: c5afabd7378b - main - devel/py-tendo: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5afabd7378b6edbc5026c9f4d12eaf20f7eb915 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5afabd7378b6edbc5026c9f4d12eaf20f7eb915 commit c5afabd7378b6edbc5026c9f4d12eaf20f7eb915 Author: Dan Langille AuthorDate: 2023-03-02 14:55:02 +0000 Commit: Dan Langille CommitDate: 2023-03-02 14:55:02 +0000 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. --- devel/Makefile | 1 + devel/py-tendo/Makefile | 22 ++++++++++++++++++++++ devel/py-tendo/distinfo | 3 +++ devel/py-tendo/pkg-descr | 10 ++++++++++ 4 files changed, 36 insertions(+) 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 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