aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-02-02 06:57:34 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-02-04 06:58:52 +0000
commit4a39c486b8338ecbfd0de60109cc27a9206c9ca2 (patch)
tree7d0ca424372e9427e32fa9e46ee0de9aa306e364
parentfbb65d3766888bcf237573a19df34ed4b65b5ba2 (diff)
downloadports-4a39c486b8338ecbfd0de60109cc27a9206c9ca2.tar.gz
ports-4a39c486b8338ecbfd0de60109cc27a9206c9ca2.zip
devel/py-interface-meta: New port: Expose an extensible API with enforced method signatures
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-interface-meta/Makefile25
-rw-r--r--devel/py-interface-meta/distinfo3
-rw-r--r--devel/py-interface-meta/pkg-descr2
4 files changed, 31 insertions, 0 deletions
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.