BSD Ports

devel/py-importlib-metadata 9.0.1 NetBSD

Read metadata from Python packages

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e81c995efe
License
apache-2.0
Categories
devel, python
Package size
49.4 KiB, 277.5 KiB installed

Description

importlib_metadata is a library which provides an API for accessing an installed package's metadata, such as its entry points or its top-level name. This functionality intends to replace most uses of pkg_resources entry point API and metadata API. Along with importlib.resources in Python 3.7 and newer (backported as importlib_resources for older versions of Python), this can eliminate the need to use the older and less efficient pkg_resources package.

This package supplies third-party access to the functionality of importlib.metadata including improvements added to subsequent Python versions.

In the other systems

SystemPortVersion
NetBSDdevel/py-importlib-metadata9.0.1
FreeBSDdevel/py-importlib-metadata9.0.1
OpenBSDdevel/py-importlib-metadata9.0.1p0
DragonFlydevel/py-importlib-metadata8.6.1
MidnightBSDdevel/py-importlib-metadata8.7.1
HardenedBSDdevel/py-importlib-metadata9.0.1
GhostBSDdevel/py-importlib-metadata9.0.1

Install

Binary package:

pkgin install py311-importlib-metadata

From pkgsrc:

cd /usr/pkgsrc/devel/py-importlib-metadata && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_649.0.1
NetBSD 10.1 aarch649.0.0
SmartOS / illumos x86_649.0.1
macOS 15 arm649.0.1

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-importlib-metadata-9.0.1, py313-importlib-metadata-9.0.1, py314-importlib-metadata-9.0.1

Commit history 2

DateCommitCreditsLog message
e81c995efe adam py-importlib-metadata: updated to 9.1.0
v9.1.0 Features - Removed support for Python 3.10, now end-of-life. - Where a path supplies more than one metadata directory for a distribution, as an interrupted or unclean upgrade may leave behind, discovery now prefers the greater one by reverse lexicographic ordering of the directory names, so the stale metadata no longer shadows the version in use. Bugfixes - A missing required metadata field (``Name`` or ``Version``) now raises a ``KeyError`` that names the field and identifies the distribution, which ``PathDistribution`` renders as its metadata path. - Restored lazy validation of ``EntryPoint.value``, deferring the ``ValueError`` for an invalid value until a component is accessed or the entry point is …
5e71987461 wiz py-importlib-metadata: update to 9.0.1.
v9.0.1 Bugfixes - Marked the ``other`` parameter of ``SimplePath.joinpath`` and ``SimplePath.__truediv__`` positional-only, so ``pathlib.Path`` satisfies the protocol under type checkers that compare parameter names. (#542)