BSD Ports

devel/py-backports.zoneinfo 0.2.1_3 FreeBSD

Backport of the standard library module zoneinfo

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
5745d12eea
License
APACHE20
Categories
devel, python
Package size
49.6 KiB, 165.5 KiB installed

Description

This package was originally the reference implementation for PEP 615, which proposes support for the IANA time zone database in the standard library, and now serves as a backport to Python 3.6+ (including PyPy).

This exposes the backports.zoneinfo module, which is a backport of the zoneinfo module. The backport's documentation can be found on readthedocs.

The module uses the system time zone data if available, and falls back to the tzdata package (available on PyPI) if installed.

In the other systems

SystemPortVersion
FreeBSDdevel/py-backports.zoneinfo0.2.1_3
DragonFlydevel/py-backports.zoneinfo0.2.1_2
HardenedBSDdevel/py-backports.zoneinfo0.2.1_3
GhostBSDdevel/py-backports.zoneinfo0.2.1_3

Install

Binary package:

pkg install py312-backports.zoneinfo

From the ports tree:

cd /usr/ports/devel/py-backports.zoneinfo/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-backports.zoneinfo>0:devel/py-backports.zoneinfo

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.1_30.2.1_30.2.1_10.2.1_20.2.1_3
FreeBSD:14:quarterly0.2.1_30.2.1_3n/a0.2.1_20.2.1_3
FreeBSD:15:latest0.2.1_30.2.1_3n/a0.2.1_20.2.1_2
FreeBSD:15:quarterly0.2.1_30.2.1_3n/an/an/a
FreeBSD:16:latest0.2.1_30.2.1_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 9

No port depends on this one.

Configuration

Options name: devel_backports.zoneinfo

OptionDefaultDescription
TZDATAonIANA time zone data support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
backports.zoneinfo-0.2.1.tar.gz74098fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
5745d12eea Alan Somers devel/py-backports.*: resolve conflicts with devel/py-backports
devel/py-backports does basically nothing except to install the /usr/local/lib/python3.*/site-packages/backports/__init__.py file. Several other py-backports.* ports also installed the same file, with identical contents. That created runtime conflicts that prevented certain ports from being installed, including sysutils/py-salt. Fix the conflicts by patching the offending ports to stop installing that file, and instead depend on devel/py-backports. PR: 297696 PR: 297697 Reviewed by: krion Sponsored by: ConnectWise Inspired by: 56a719e6b67 (svn r492366)