git: 1522ca8b42b5 - main - net-im/py-smpplib: add new port

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sun, 20 Sep 2026 12:54:40 UTC
The branch main has been updated by 0mp:

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

commit 1522ca8b42b53c7b5da4ad2bf8966751d265c078
Author:     Pete Diamond <lazeraman@gmail.com>
AuthorDate: 2026-09-19 01:24:33 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2026-09-20 12:52:54 +0000

    net-im/py-smpplib: add new port
    
    SMPPLib implements the Short Message Peer-to-Peer (SMPP) protocol for
    exchanging SMS messages with SMSC gateways.  It binds as a transmitter,
    receiver or transceiver, sends and receives PDUs, and splits long or
    Unicode text into concatenated multipart messages.
    
    SMPPLib is a missing optional RUN_DEP for py-apprise
    
    PR:     298657
---
 net-im/Makefile             |  1 +
 net-im/py-smpplib/Makefile  | 24 ++++++++++++++++++++++++
 net-im/py-smpplib/distinfo  |  3 +++
 net-im/py-smpplib/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/net-im/Makefile b/net-im/Makefile
index d80ec00d910b..f15e50cecb37 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -122,6 +122,7 @@
     SUBDIR += py-slack-sdk
     SUBDIR += py-slackeventsapi
     SUBDIR += py-slixmpp
+    SUBDIR += py-smpplib
     SUBDIR += py-toxcore-c
     SUBDIR += py-unmessage
     SUBDIR += py-zapzap
diff --git a/net-im/py-smpplib/Makefile b/net-im/py-smpplib/Makefile
new file mode 100644
index 000000000000..7cc6af984b02
--- /dev/null
+++ b/net-im/py-smpplib/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	smpplib
+DISTVERSION=	2.2.4
+CATEGORIES=	net-im python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	lazeraman@gmail.com
+COMMENT=	SMPPLib is a Python library for working with the SMPP protocol
+WWW=		https://github.com/python-smpplib/python-smpplib
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517 pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net-im/py-smpplib/distinfo b/net-im/py-smpplib/distinfo
new file mode 100644
index 000000000000..228b3f9097ef
--- /dev/null
+++ b/net-im/py-smpplib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789769538
+SHA256 (smpplib-2.2.4.tar.gz) = 6f3b036fcb2643c1b7a3289bb5ac4c9a720af1bf73e572e2729db6b5d800c273
+SIZE (smpplib-2.2.4.tar.gz) = 25032
diff --git a/net-im/py-smpplib/pkg-descr b/net-im/py-smpplib/pkg-descr
new file mode 100644
index 000000000000..e47cf560800d
--- /dev/null
+++ b/net-im/py-smpplib/pkg-descr
@@ -0,0 +1,4 @@
+SMPPLib implements the Short Message Peer-to-Peer (SMPP) protocol for
+exchanging SMS messages with SMSC gateways.  It binds as a transmitter,
+receiver or transceiver, sends and receives PDUs, and splits long or
+Unicode text into concatenated multipart messages.