Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2026 09:58:24 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6e895a45b8f8 - main - devel/py-pybase64: New port: Fast Base64 encoding/decoding using libbase64
Message-ID:  <69d4d540.468d2.6685f3d1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit 6e895a45b8f8064c02d6e13551bfaae32a41b364
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-07 04:58:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-07 09:58:09 +0000

    devel/py-pybase64: New port: Fast Base64 encoding/decoding using libbase64
---
 devel/Makefile              |  1 +
 devel/py-pybase64/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-pybase64/distinfo  |  3 +++
 devel/py-pybase64/pkg-descr |  3 +++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 42546634d6c6..029421b21cab 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5654,6 +5654,7 @@
     SUBDIR += py-pyaml-env
     SUBDIR += py-pyasn1
     SUBDIR += py-pyasn1-modules
+    SUBDIR += py-pybase64
     SUBDIR += py-pybind11
     SUBDIR += py-pybix
     SUBDIR += py-pybreaker
diff --git a/devel/py-pybase64/Makefile b/devel/py-pybase64/Makefile
new file mode 100644
index 000000000000..a09c9b9d5876
--- /dev/null
+++ b/devel/py-pybase64/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	pybase64
+DISTVERSION=	1.4.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fast Base64 encoding/decoding using libbase64
+WWW=		https://github.com/mayeut/pybase64
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}cython>=3.0:lang/cython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+LIB_DEPENDS=	libbase64.so:devel/base64
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/tests
+
+.include <bsd.port.mk>
diff --git a/devel/py-pybase64/distinfo b/devel/py-pybase64/distinfo
new file mode 100644
index 000000000000..8a2638c48554
--- /dev/null
+++ b/devel/py-pybase64/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775500352
+SHA256 (pybase64-1.4.3.tar.gz) = c2ed274c9e0ba9c8f9c4083cfe265e66dd679126cd9c2027965d807352f3f053
+SIZE (pybase64-1.4.3.tar.gz) = 137272
diff --git a/devel/py-pybase64/pkg-descr b/devel/py-pybase64/pkg-descr
new file mode 100644
index 000000000000..1c7fe12a2de8
--- /dev/null
+++ b/devel/py-pybase64/pkg-descr
@@ -0,0 +1,3 @@
+pybase64 is a fast Base64 encoding/decoding library for Python. It provides
+a drop-in replacement for Python's base64 module using SIMD-optimized
+implementations for significantly better performance.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d4d540.468d2.6685f3d1>