git: ea95d4a3b6b0 - main - devel/py-locket: Add py-locket 1.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Apr 2022 16:02:37 UTC
The branch main has been updated by sunpoet:

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

commit ea95d4a3b6b09cdb18ab16f65a34e4e124a869ef
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-30 15:56:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-30 15:56:05 +0000

    devel/py-locket: Add py-locket 1.0.0
    
    Locket implements a file-based lock that can be used by multiple processes
    provided they use the same path.
    
    WWW: https://github.com/mwilliamson/locket.py
---
 devel/Makefile            |  1 +
 devel/py-locket/Makefile  | 20 ++++++++++++++++++++
 devel/py-locket/distinfo  |  3 +++
 devel/py-locket/pkg-descr |  4 ++++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index fbe10c3932ff..3de47f146154 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4748,6 +4748,7 @@
     SUBDIR += py-llvmcpy
     SUBDIR += py-llvmlite
     SUBDIR += py-lml
+    SUBDIR += py-locket
     SUBDIR += py-lockfile
     SUBDIR += py-logan
     SUBDIR += py-logbook
diff --git a/devel/py-locket/Makefile b/devel/py-locket/Makefile
new file mode 100644
index 000000000000..45ea54fda899
--- /dev/null
+++ b/devel/py-locket/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	locket
+PORTVERSION=	1.0.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	File-based locks for Python
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-locket/distinfo b/devel/py-locket/distinfo
new file mode 100644
index 000000000000..1b7b761a5a6e
--- /dev/null
+++ b/devel/py-locket/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651316571
+SHA256 (locket-1.0.0.tar.gz) = 5c0d4c052a8bbbf750e056a8e65ccd309086f4f0f18a2eac306a8dfa4112a632
+SIZE (locket-1.0.0.tar.gz) = 4350
diff --git a/devel/py-locket/pkg-descr b/devel/py-locket/pkg-descr
new file mode 100644
index 000000000000..bebe2d03c9bc
--- /dev/null
+++ b/devel/py-locket/pkg-descr
@@ -0,0 +1,4 @@
+Locket implements a file-based lock that can be used by multiple processes
+provided they use the same path.
+
+WWW: https://github.com/mwilliamson/locket.py