git: 4a39c486b833 - main - devel/py-interface-meta: New port: Expose an extensible API with enforced method signatures

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 04 Feb 2023 06:58:56 UTC
The branch main has been updated by yuri:

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

commit 4a39c486b8338ecbfd0de60109cc27a9206c9ca2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-02 06:57:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-04 06:58:52 +0000

    devel/py-interface-meta: New port: Expose an extensible API with enforced method signatures
---
 devel/Makefile                    |  1 +
 devel/py-interface-meta/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-interface-meta/distinfo  |  3 +++
 devel/py-interface-meta/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 766a34cbc10b..17d4d490dac4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4702,6 +4702,7 @@
     SUBDIR += py-installer
     SUBDIR += py-intbitset
     SUBDIR += py-intelhex
+    SUBDIR += py-interface-meta
     SUBDIR += py-intervals
     SUBDIR += py-intervaltree
     SUBDIR += py-invoke
diff --git a/devel/py-interface-meta/Makefile b/devel/py-interface-meta/Makefile
new file mode 100644
index 000000000000..009b6237a262
--- /dev/null
+++ b/devel/py-interface-meta/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	interface-meta
+PORTVERSION=	1.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Expose an extensible API with enforced method signatures
+WWW=		https://github.com/matthewwardrop/interface_meta
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}poetry-dynamic-versioning>0:devel/py-poetry-dynamic-versioning@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+BINARY_ALIAS=	git=false
+
+.include <bsd.port.mk>
diff --git a/devel/py-interface-meta/distinfo b/devel/py-interface-meta/distinfo
new file mode 100644
index 000000000000..eb4be019fdaa
--- /dev/null
+++ b/devel/py-interface-meta/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675299955
+SHA256 (interface_meta-1.3.0.tar.gz) = 8a4493f8bdb73fb9655dcd5115bc897e207319e36c8835f39c516a2d7e9d79a1
+SIZE (interface_meta-1.3.0.tar.gz) = 15007
diff --git a/devel/py-interface-meta/pkg-descr b/devel/py-interface-meta/pkg-descr
new file mode 100644
index 000000000000..ae07595a0d1f
--- /dev/null
+++ b/devel/py-interface-meta/pkg-descr
@@ -0,0 +1,2 @@
+interface_meta provides a convenient way to expose an extensible API with
+enforced method signatures and consistent documentation.