Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2024 06:18:18 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0b36a7a5161b - main - devel/py-psygnal: Add py-psygnal 0.11.1
Message-ID:  <202409180618.48I6II5U030989@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b36a7a5161bccebacb64ebb711363ce5dc4baed

commit 0b36a7a5161bccebacb64ebb711363ce5dc4baed
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:50:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:12:59 +0000

    devel/py-psygnal: Add py-psygnal 0.11.1
    
    Psygnal (pronounced "signal") is a pure python implementation of the observer
    pattern, with the API of Qt-style Signals with (optional) signature and type
    checking, and support for threading. It has no dependencies.
    
    This library does not require or use Qt in any way, It simply implements a
    similar observer pattern API.
---
 devel/Makefile             |  1 +
 devel/py-psygnal/Makefile  | 23 +++++++++++++++++++++++
 devel/py-psygnal/distinfo  |  3 +++
 devel/py-psygnal/pkg-descr |  6 ++++++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8ed179805bc8..f0422fcc135b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5436,6 +5436,7 @@
     SUBDIR += py-protobuf-compiler
     SUBDIR += py-protobuf4
     SUBDIR += py-proxmoxer
+    SUBDIR += py-psygnal
     SUBDIR += py-ptable
     SUBDIR += py-ptpython
     SUBDIR += py-ptvsd
diff --git a/devel/py-psygnal/Makefile b/devel/py-psygnal/Makefile
new file mode 100644
index 000000000000..3ce1250b69b2
--- /dev/null
+++ b/devel/py-psygnal/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	psygnal
+PORTVERSION=	0.11.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast python callback/event system modeled after Qt Signals
+WWW=		https://psygnal.readthedocs.io/en/latest/ \
+		https://github.com/pyapp-kit/psygnal
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-psygnal/distinfo b/devel/py-psygnal/distinfo
new file mode 100644
index 000000000000..87ddec12c44b
--- /dev/null
+++ b/devel/py-psygnal/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487274
+SHA256 (psygnal-0.11.1.tar.gz) = f9b02ca246ab0adb108c4010b4a486e464f940543201074591e50370cd7b0cc0
+SIZE (psygnal-0.11.1.tar.gz) = 102103
diff --git a/devel/py-psygnal/pkg-descr b/devel/py-psygnal/pkg-descr
new file mode 100644
index 000000000000..3433d5318003
--- /dev/null
+++ b/devel/py-psygnal/pkg-descr
@@ -0,0 +1,6 @@
+Psygnal (pronounced "signal") is a pure python implementation of the observer
+pattern, with the API of Qt-style Signals with (optional) signature and type
+checking, and support for threading. It has no dependencies.
+
+This library does not require or use Qt in any way, It simply implements a
+similar observer pattern API.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180618.48I6II5U030989>