git: 981a6e645259 - main - net-mgmt/py-pyixapi: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 12:04:53 UTC
The branch main has been updated by bofh:

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

commit 981a6e6452598bb1e8133ad1540394845acefbb3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-09-05 11:41:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-09-05 12:04:44 +0000

    net-mgmt/py-pyixapi: New port
    
    Python API client library for IX-API.
    
    Currently Supported API versions are version 1 and version 2.
    
    WWW: https://ix-api.net/
---
 net-mgmt/Makefile             |  1 +
 net-mgmt/py-pyixapi/Makefile  | 23 +++++++++++++++++++++++
 net-mgmt/py-pyixapi/distinfo  |  3 +++
 net-mgmt/py-pyixapi/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index a7e943abb5f7..41e9a41a90bf 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -343,6 +343,7 @@
     SUBDIR += py-pyIOSXR
     SUBDIR += py-pyang
     SUBDIR += py-pyeapi
+    SUBDIR += py-pyixapi
     SUBDIR += py-pynetbox
     SUBDIR += py-pynxos
     SUBDIR += py-pypowerwall
diff --git a/net-mgmt/py-pyixapi/Makefile b/net-mgmt/py-pyixapi/Makefile
new file mode 100644
index 000000000000..b1c57adfe523
--- /dev/null
+++ b/net-mgmt/py-pyixapi/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pyixapi
+DISTVERSION=	0.2.6
+CATEGORIES=	net-mgmt python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Python API client library for IX-API
+WWW=		https://ix-api.net/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyjwt>=2.4.0:www/py-pyjwt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/py-pyixapi/distinfo b/net-mgmt/py-pyixapi/distinfo
new file mode 100644
index 000000000000..108271427920
--- /dev/null
+++ b/net-mgmt/py-pyixapi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756893360
+SHA256 (pyixapi-0.2.6.tar.gz) = 864ef41255f62613db3161127b4c7c7bb36c776fb675cb3cdea3f7deee8a9732
+SIZE (pyixapi-0.2.6.tar.gz) = 14614
diff --git a/net-mgmt/py-pyixapi/pkg-descr b/net-mgmt/py-pyixapi/pkg-descr
new file mode 100644
index 000000000000..41fcb40e2774
--- /dev/null
+++ b/net-mgmt/py-pyixapi/pkg-descr
@@ -0,0 +1,3 @@
+Python API client library for IX-API.
+
+Currently Supported API versions are version 1 and version 2.