git: d9c5f0660163 - main - devel/py-boltons: Add py-boltons 23.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:23:43 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9c5f06601639502ec470612afa89678ac46013b commit d9c5f06601639502ec470612afa89678ac46013b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:35:02 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:19:49 +0000 devel/py-boltons: Add py-boltons 23.0.0 Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as -- and yet conspicuously missing from -- the standard library, including: - Atomic file saving, bolted on with fileutils - A highly-optimized OrderedMultiDict, in dictutils - Two types of PriorityQueue, in queueutils - Chunked and windowed iteration, in iterutils - Recursive data structure iteration and merging, with iterutils.remap - Exponential backoff functionality, including jitter, through iterutils.backoff - A full-featured TracebackInfo type, for representing stack traces, in tbutils --- devel/Makefile | 1 + devel/py-boltons/Makefile | 21 +++++++++++++++++++++ devel/py-boltons/distinfo | 3 +++ devel/py-boltons/pkg-descr | 10 ++++++++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1bf93c1d9367..8f8b981626d9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4350,6 +4350,7 @@ SUBDIR += py-blinker SUBDIR += py-blist SUBDIR += py-bluelet + SUBDIR += py-boltons SUBDIR += py-boolean.py SUBDIR += py-boto SUBDIR += py-botocore diff --git a/devel/py-boltons/Makefile b/devel/py-boltons/Makefile new file mode 100644 index 000000000000..8f7e87bacbf4 --- /dev/null +++ b/devel/py-boltons/Makefile @@ -0,0 +1,21 @@ +PORTNAME= boltons +PORTVERSION= 23.0.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Functionality that should be in the standard library +WWW= https://github.com/mahmoud/boltons + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-boltons/distinfo b/devel/py-boltons/distinfo new file mode 100644 index 000000000000..a0b23b1268f7 --- /dev/null +++ b/devel/py-boltons/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677770917 +SHA256 (boltons-23.0.0.tar.gz) = 8c50a71829525835ca3c849c7ed2511610c972b4dddfcd41a4a5447222beb4b0 +SIZE (boltons-23.0.0.tar.gz) = 182572 diff --git a/devel/py-boltons/pkg-descr b/devel/py-boltons/pkg-descr new file mode 100644 index 000000000000..b8f1d44a8a4e --- /dev/null +++ b/devel/py-boltons/pkg-descr @@ -0,0 +1,10 @@ +Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same +spirit as -- and yet conspicuously missing from -- the standard library, +including: +- Atomic file saving, bolted on with fileutils +- A highly-optimized OrderedMultiDict, in dictutils +- Two types of PriorityQueue, in queueutils +- Chunked and windowed iteration, in iterutils +- Recursive data structure iteration and merging, with iterutils.remap +- Exponential backoff functionality, including jitter, through iterutils.backoff +- A full-featured TracebackInfo type, for representing stack traces, in tbutils