BSD Ports

devel/py-backports.entry-points-selectable 1.3.0_1 FreeBSD

Compatibility shim providing selectable entry points for older implementations

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
5745d12eea
License
MIT
Categories
devel, python
Package size
6.3 KiB, 14.3 KiB installed

Description

Compatibility shim to ease adoption of importlib_metadata 3.6. Supplies forward-compatibility of "selectable" entry points even on older versions of importlib_metadata and importlib.metadata, and avoids usage that triggers deprecation warnings.

Use this shim for libraries or applications invoking entry_points() that run on Python older than 3.10 or where importlib_metadata is older than 3.6. In most cases, this shim is unnecessary and the easiest thing to do is simply require importlib_metadata >= 3.6 on all Pythons (or only those prior to 3.10a7). In some environments, a library may be constrained on which versions of importlib_metadata can be required, so this library bridges that gap.

In the other systems

SystemPortVersion
FreeBSDdevel/py-backports.entry-points-selectable1.3.0_1
DragonFlydevel/py-backports.entry-points-selectable1.3.0
HardenedBSDdevel/py-backports.entry-points-selectable1.3.0_1
GhostBSDdevel/py-backports.entry-points-selectable1.3.0_1

Install

Binary package:

pkg install py312-backports.entry-points-selectable

From the ports tree:

cd /usr/ports/devel/py-backports.entry-points-selectable/ && make install clean

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

RUN_DEPENDS=	py312-backports.entry-points-selectable>0:devel/py-backports.entry-points-selectable

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:latest1.3.0_11.3.0_11.2.01.3.01.3.0_1
FreeBSD:14:quarterly1.3.0_11.3.0_1n/a1.3.01.3.0_1
FreeBSD:15:latest1.3.0_11.3.0_1n/a1.3.01.3.0
FreeBSD:15:quarterly1.3.0_11.3.0_1n/an/an/a
FreeBSD:16:latest1.3.0_11.3.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

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

Build dependencies 17
Run dependencies 8
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
backports.entry_points_selectable-1.3.0.tar.gz988217a8b44ae700fba548686dd274ddc91c060371565cd63806c20a1d33911746e6
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)