BSD Ports

devel/py-project-metadata 0.12.1 NetBSD

PEP 621 metadata parsing

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
5883811ae9
License
mit
Categories
devel, python
Package size
47.5 KiB, 260.7 KiB installed

Description

Dataclass for PEP 621 metadata with support for [core metadata] generation

This project does not implement the parsing of `pyproject.toml` containing PEP 621 metadata.

Instead, given a Python data structure representing PEP 621 metadata (already parsed), it will validate this input and generate a PEP 643-compliant metadata file (e.g. `PKG-INFO`).

Install

Binary package:

pkgin install py311-project-metadata

From pkgsrc:

cd /usr/pkgsrc/devel/py-project-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_640.12.1
NetBSD 10.1 aarch640.11.0
SmartOS / illumos x86_640.12.1
macOS 15 arm640.12.1

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-project-metadata-0.12.1, py313-project-metadata-0.12.1, py314-project-metadata-0.12.1

Commit history 1

DateCommitCreditsLog message
5883811ae9 wiz py-project-metadata: update to 0.12.1.
0.12.1 Fixes: Collect a config error instead of raising a raw TypeError when project.dynamic contains a non-string (unhashable) entry with all_errors=True. 0.12.0 Features: Support PEP 808 (partially dynamic project metadata) (METADATA 2.6). Add support for Python 3.15. Warn (PEP 685) when an extra name in project.optional-dependencies is not a valid name. The extra is still emitted, only a ConfigurationWarning is produced. Fixes: Error on an unset dynamic version instead of silently writing Version: 0.0.0. If "version" is declared in project.dynamic but never assigned by the build backend, writing the metadata now raises a ConfigurationError (Field "project.version" missing), restoring the 0.8.x behavior that regressed in the 0.9 rewrite. …