Port details
py-b2 Command Line Interface for Backblaze's B2 storage service
5.0.3 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.7.1Version of this port present on the latest quarterly branch. upstream: v5.0.4A newer version was found upstream by portscout, first on 2026-12-03.
Maintainer: leres@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-11-14 17:48:08
Last Update: 2026-11-26 08:47:53
Commit Hash: 27a24ff
License: MIT
WWW:
https://www.backblaze.com/b2/docs/quick_command_line.html
Description: #
B2 Cloud Storage is a cloud service for storing files in the cloud. Files are available for download at any time, either through the API or through a browser-compatible URL. This package provides Backblaze's official command line tool for accessing all of the capabilities of B2 Cloud Storage.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}b2>0:devel/py-b2@${PY_FLAVOR}
Conflicts: #
CONFLICTS_INSTALL:
  • boost_build
To install the port: #
cd /usr/ports/devel/py-b2/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-b2
  • pkg install py312-b2
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 py312-b2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-b2
Package flavors (<flavor>: <package>) #
  • py312: py312-b2
distinfo: #
TIMESTAMP = 1794689032 SHA256 (Backblaze-B2_Command_Line_Tool-v5.0.3_GH0.tar.gz) = 1fcd3d7a9725c1507b7f3b941a8ccebc0feec097ad2763139d994115333719af SIZE (Backblaze-B2_Command_Line_Tool-v5.0.3_GH0.tar.gz) = 310552

Packages (timestamps in pop-ups are UTC): #
py311-b2
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---4.4.1-
FreeBSD:14:quarterly---4.3.3-
FreeBSD:15:latest--n/a4.4.1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 

py312-b2
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest5.0.35.0.3--5.0.3
FreeBSD:14:quarterly4.7.14.7.1--4.7.1
FreeBSD:15:latest5.0.35.0.3n/a-n/a
FreeBSD:15:quarterly4.7.14.7.1n/a-n/a
FreeBSD:16:latest CURRENT4.7.15.0.3n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-hatch-vcs>.4 : devel/py-hatch-vcs@py312
  2. py312-hatchling>=1.24.2 : devel/py-hatchling@py312
  3. py312-pdm-backend>=0 : devel/py-pdm-backend@py312
  4. py312-tabulate>=0.9.0 : devel/py-tabulate@py312
  5. python3.12 : lang/python312
  6. py312-build>=0 : devel/py-build@py312
  7. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-argcomplete>=3.5.2 : devel/py-argcomplete@py312
  2. py312-arrow>=1.0.2 : devel/py-arrow@py312
  3. py312-b2sdk>=2.13.2 : devel/py-b2sdk@py312
  4. py312-certifi>=2026.10.19 : security/py-certifi@py312
  5. py312-docutils>=0.18.1 : textproc/py-docutils@py312
  6. py312-platformdirs>=3.11.0 : devel/py-platformdirs@py312
  7. py312-rst2ansi>=0.1.5 : textproc/py-rst2ansi@py312
  8. py312-tabulate>=0.9.0 : devel/py-tabulate@py312
  9. py312-tqdm>=4.65.0 : misc/py-tqdm@py312
  10. python3.12 : lang/python312
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
devel_py-b2
USES: #
cpe python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Backblaze/B2_Command_Line_Tool/tar.gz/v5.0.3?dummy=/
Collapse this list.
Port Moves
  • port moved here from devel/b2 on 2024-11-14
    REASON: Add py- prefix

Number of commits found: 15 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.3
26 Nov 2026 08:47:53
commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
*/*: Add CPE declaration to 617 ports

  Improve CPE coverage in the ports tree to help security scanners match
  software with vulnerability reports.

  Matched project and download URLs from port metadata against references
  in the official NVD CPE dictionary. Reviewed product identities to
  distinguish applications from related components and similarly named
  projects.

Sponsored by:	OTTRIA
Differential Revision:	https://reviews.freebsd.org/D61941
5.0.3
14 Nov 2026 20:55:54
commit hash: 3685b216eab9534526380296f386e665fccd8117commit hash: 3685b216eab9534526380296f386e665fccd8117commit hash: 3685b216eab9534526380296f386e665fccd8117commit hash: 3685b216eab9534526380296f386e665fccd8117 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 5.0.3

    https://github.com/Backblaze/B2_Command_Line_Tool/releases#release-v5.0.3

Reported by:	github
4.7.1
11 Jun 2026 17:45:44
commit hash: 75d123c363631304efedee5d884c40f6fca1ef81commit hash: 75d123c363631304efedee5d884c40f6fca1ef81commit hash: 75d123c363631304efedee5d884c40f6fca1ef81commit hash: 75d123c363631304efedee5d884c40f6fca1ef81 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.7.1

Changes since 4.7.0:

 - Fix b2:// URI parsing to accept bucket names containing periods.

 - Bump urllib3 from 2.6.3 to 2.7.0.

Reported by:	github
4.7.0
03 Jun 2026 20:44:47
commit hash: 64c711a274b723282a8b121e6cc71ac163ccc605commit hash: 64c711a274b723282a8b121e6cc71ac163ccc605commit hash: 64c711a274b723282a8b121e6cc71ac163ccc605commit hash: 64c711a274b723282a8b121e6cc71ac163ccc605 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.7.0

Changes since 4.6.0:

 - Reject unsafe remote filenames in the Download command.

 - Drop support for Python 3.9 and PyPy 3.9.

Reported by:	github
4.6.0
23 Mar 2026 20:13:25
commit hash: 43b9883a96b1350c8d5826826e850cdf41eb9beecommit hash: 43b9883a96b1350c8d5826826e850cdf41eb9beecommit hash: 43b9883a96b1350c8d5826826e850cdf41eb9beecommit hash: 43b9883a96b1350c8d5826826e850cdf41eb9bee files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.6.0

Changes since 4.5.1:

 - Update the version command to display the installed b2sdk version
   alongside the CLI version.

 - Bump b2sdk version to 2.10.3.

 - Fixed autocomplete parser cache on Python 3.14.2+.

 - Improve command-line options formatting in CLI help text.

Reported by:	github
4.5.1
05 Feb 2026 21:02:43
commit hash: 32b201914ccb4211ef039a89bf2c142b2993ad88commit hash: 32b201914ccb4211ef039a89bf2c142b2993ad88commit hash: 32b201914ccb4211ef039a89bf2c142b2993ad88commit hash: 32b201914ccb4211ef039a89bf2c142b2993ad88 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.5.1

Changes since 4.5.0:

 - Replace the phx-class-registry dependency with a simple in-house
   implementation.

 - Avoid eager calculation of command help during parser construction.

Reported by:	github
4.5.0
08 Jan 2026 21:57:47
commit hash: 6d7d72b13f5abb49b3cdf42839fa0fc9fefc5186commit hash: 6d7d72b13f5abb49b3cdf42839fa0fc9fefc5186commit hash: 6d7d72b13f5abb49b3cdf42839fa0fc9fefc5186commit hash: 6d7d72b13f5abb49b3cdf42839fa0fc9fefc5186 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.5.0

Changes since 4.4.2:

 - Fixed SystemError buffer overflow crash on Python 3.14+ caused
   by rst2ansi's terminal size detection bug.

Reported by:	github
4.4.2
25 Oct 2025 22:36:33
commit hash: 1e56ea3ddf6c6adaa321f7de70e5395166fd5383commit hash: 1e56ea3ddf6c6adaa321f7de70e5395166fd5383commit hash: 1e56ea3ddf6c6adaa321f7de70e5395166fd5383commit hash: 1e56ea3ddf6c6adaa321f7de70e5395166fd5383 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.4.2

Adjust some dependencies.

Changes since 4.4.1:

 - Handle filenames starting with / or ending with # or ?.

 - Avoid failing on missing extra dependencies in b2 license command.

 - Fix b2id:// uri support in file unhide command.

Reported by:	github
4.4.1
31 Jul 2025 20:26:55
commit hash: 41c4b8dbbc8b67b587aed9eac806b9fecbf0a5c9commit hash: 41c4b8dbbc8b67b587aed9eac806b9fecbf0a5c9commit hash: 41c4b8dbbc8b67b587aed9eac806b9fecbf0a5c9commit hash: 41c4b8dbbc8b67b587aed9eac806b9fecbf0a5c9 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.4.1

Adjust some dependencies.

Changes since 4.3.3:

 - Pin docutils version to avoid breaking the dependent rst2ansi
   library.

 - Migrate to b2sdk.v3

 - Switched to cloud-based signing using DigiCert KeyLocker.

 - Add multi-bucket keys support to the key create subcommand.

 - Support multi-bucket keys in key list subcommand.

Reported by:	github
4.3.3
19 Jun 2025 23:30:26
commit hash: ad1482269452dcd610fed3c37ab17ae1c7c60b3bcommit hash: ad1482269452dcd610fed3c37ab17ae1c7c60b3bcommit hash: ad1482269452dcd610fed3c37ab17ae1c7c60b3bcommit hash: ad1482269452dcd610fed3c37ab17ae1c7c60b3b files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.3.3

Changes since 4.3.2:

 - Fix autocomplete install for zsh.

 - Suggest running b2 bucket list on NonExistentBucket errors.

Reported by:	github
4.3.2
27 Apr 2025 17:30:00
commit hash: db423e952b7dc6a0e4084e1230f8b793a2ad742ecommit hash: db423e952b7dc6a0e4084e1230f8b793a2ad742ecommit hash: db423e952b7dc6a0e4084e1230f8b793a2ad742ecommit hash: db423e952b7dc6a0e4084e1230f8b793a2ad742e files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.3.1

Changes since 4.3.0:

 - Avoid failing on BrokenPipeError when running commands.

 - Display error message when trying to use --with-auth param for
   b2id:// urls in the file url command.

Reported by:	github
4.3.1_1
08 Mar 2025 23:21:20
commit hash: 3b6c12ace6ec4b090ce561c2c6770f0401c18bf9commit hash: 3b6c12ace6ec4b090ce561c2c6770f0401c18bf9commit hash: 3b6c12ace6ec4b090ce561c2c6770f0401c18bf9commit hash: 3b6c12ace6ec4b090ce561c2c6770f0401c18bf9 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Unbreak build after py-rst2ansi update from 0.1.5 to 0.1.5_1

It's probably a mistake to ever use == with *_DEPENDS so change
all of them to >=.
4.3.1
22 Feb 2025 17:58:10
commit hash: 3257707dff631a119ae581f2c5ccd41796683202commit hash: 3257707dff631a119ae581f2c5ccd41796683202commit hash: 3257707dff631a119ae581f2c5ccd41796683202commit hash: 3257707dff631a119ae581f2c5ccd41796683202 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.3.1

Changes since 4.3.0:

 - Avoid failing on BrokenPipeError when running commands.

 - Display error message when trying to use --with-auth param for
   b2id:// urls in the file url command.

Reported by:	github
4.3.0
22 Jan 2025 18:14:25
commit hash: 5400cab7854cfae4f711a0a6db9ab85466828f66commit hash: 5400cab7854cfae4f711a0a6db9ab85466828f66commit hash: 5400cab7854cfae4f711a0a6db9ab85466828f66commit hash: 5400cab7854cfae4f711a0a6db9ab85466828f66 files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/py-b2: Update to 4.3.0

Changes since 4.2.0:

 - Fix shell autocompletion for Python >=3.12.8 and >=3.13.1.

 - Add --exclude-if-uploaded-after to sync.

 - Add -l as an alias for --long argument.

 - Remove yapf in favor of ruff.

 - Upgraded to pytest 8.

 - Use SHA384 for Windows signing instead of expired SHA256withRSA.
4.2.0
14 Nov 2024 17:45:51
commit hash: da33eaab92181d1989c9ef3c70d617eca579ed9fcommit hash: da33eaab92181d1989c9ef3c70d617eca579ed9fcommit hash: da33eaab92181d1989c9ef3c70d617eca579ed9fcommit hash: da33eaab92181d1989c9ef3c70d617eca579ed9f files touched by this commit
Craig Leres (leres) search for other commits by this committer
devel/b2: rename devel/py-b2

PR:		241138

Number of commits found: 15