NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-b2sdk listed in the above command, you can pick from the names under the Packages section.
devel/py-b2sdk: Update to 2.12.0
Update dependencies.
Changes since 2.10.4:
- Handle null case when encoding / decoding content_sha1 in
BaseFileVersion.
- Fix SqliteAccountInfo to explicitly close temporary sqlite
connections used during setup.
- Declare official support for Python 3.14.
- Introduce a reusable validator to ensure remote B2 file names
are safe to use as local paths.
- Drop support for Python 3.9 and PyPy 3.9.
PR: 295590
Reported by: github
Approved by: PopularMoment@protonmail.com (maintainer)
devel/py-b2sdk: Update to 2.10.4
Update dependencies.
Changes since 2.10.2:
- Fixed a retry bug in upload_unbound_stream() small-file uploads
where a retryable upload error could cause a one-shot buffered
stream to be reopened after it was closed.
- Address backwards compatibility issue for sqlite account info
caused by the migration of schema to a new multi-bucket format.
- Avoid http-level retries during upload requests.
- Use stat.S_ISDIR check for local folder children scanning instead
of Path.is_dir to account for an api change in Python 3.14.
PR: 293748
Reported by: github
Approved by: PopularMoment@protonmail.com (maintainer)
devel/py-b2sdk: Update to 2.10.2
Changes since 2.9.4:
- Improve seed generation for containers' names in tests.
- Fix type error in retrying behavior for 429 status with Retry-After
header value set.
PR: 291881
Approved by: PopularMoment@protonmail.com (maintainer)
devel/py-b2sdk: Update to 2.9.4
Changes since 2.8.1:
- Adapt authorize_account flow to multi-bucket keys.
- Migrate to b2 native api v4.
- Move url_for_api func to an internal classmethod in B2Api class.
- Release apiver v3 interface. from b2sdk.v3 import ... is now the
recommended import, but previous versions are still supported.
- Update application key classes to support multiple bucket ids.
(Only the first 15 lines of the commit message are shown above )
devel/py-b2sdk: Update to 2.8.0
Changes since 2.7.0:
- Migrate to B2 Native API v3.
- Fix continuation for started large files with no fully finished
parts.
- Remove yapf in favor of ruff.
PR: 284302
Approved by: PopularMoment@protonmail.com (maintainer)
devel/py-b2sdk: Update to 2.7.0
Changes since 2.5.1:
- Fixed datetime.utcnow() deprecation warnings under Python 3.12.
- Make Event Notifications generally available.
- Switch a pytest hook from path to collection_path.
- Add upload token reset after upload timeout.
- Fix file/directory permission handling for Windows during the
B2 sync.
PR: 283906
Approved by: PopularMoment@protonmail.com (maintainer timeout, 2 weeks)
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/py-b2sdk: Update to 1.12.0 [1]
* Pet portclippy/portlint [1]
* Update testsuite and prepare the port for the 6.x release of
devel/py-setuptools_scm while I'm here.
Changelog:
https://github.com/Backblaze/b2-sdk-python/releases/tag/v1.12.0
PR: 258033
Reported by: Henry <PopularMoment@protonmail.com> (maintainer) [1]
Reviewed by: eduardo, koobs (earlier revision)
Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
PR: 255013
Differential Revision: https://reviews.freebsd.org/D29418
Exp-run by: antoine
Approved by: wen@, no objection from python@ or portmgr@
Follow up on devel/py-futures port removal in r559976
The devel/py-futures port was removed in r559976 as it was for
Python 2.7 only and no longer referenced in the default cases.
However it was still defined in Mk/Uses/python.mk in PY_FUTURES,
leaving a dangling reference.
Remove it from Mk/Uses/python.mk and from affected ports, as
it was already an empty definition for Python 3.6+
Bump minimal Python version of security/theonionbox to 3.6+
[NEW] devel/py-b2sdk: Backblaze B2 SDK
Python client library and a few handy utilities for
easy access to all of the capabilities of B2 Cloud Storage.
WWW: https://github.com/Backblaze/b2-sdk-python
PR: 242562
Submitted by: Henry David Bartholomew <PopularMoment protonmail com>