Import py-unpaddedbase64 1.1.0, from maintainer Renaud Allard

Python module to encode and decode Base64 without "=" padding.

RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes
using "=" characters. However this conveys no benefit so many protocols
choose to use Base64 without the "=" padding.

dependency for upcoming synapse/matrix server port.

ok solene@
This commit is contained in:
landry 2020-03-08 16:19:34 +00:00
parent 2ea476f60c
commit f218a83672
4 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/03/08 16:19:34 landry Exp $
COMMENT = Python module implementing Base64 without "=" padding
MODPY_EGG_VERSION = 1.1.0
GH_ACCOUNT = matrix-org
GH_PROJECT = python-unpaddedbase64
GH_TAGNAME = v${MODPY_EGG_VERSION}
PKGNAME = py-unpaddedbase64-${MODPY_EGG_VERSION}
CATEGORIES = textproc
HOMEPAGE = None
MAINTAINER = Renaud Allard <renaud@allard.it>
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (python-unpaddedbase64-1.1.0.tar.gz) = Tj/BiD519wOA6QPoWP/ct3uFYkITq5VZxfHlkXSRu3M=
SIZE (python-unpaddedbase64-1.1.0.tar.gz) = 5889

View File

@ -0,0 +1,5 @@
Python module to encode and decode Base64 without "=" padding.
RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes
using "=" characters. However this conveys no benefit so many protocols
choose to use Base64 without the "=" padding.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/03/08 16:19:34 landry Exp $
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}unpaddedbase64.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/unpaddedbase64-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/unpaddedbase64-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/unpaddedbase64-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/unpaddedbase64-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/unpaddedbase64-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/unpaddedbase64.py