You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / python3-hatch-nodejs-version-0.3.2-1.lbn36.noarch

python3-hatch-nodejs-version-0.3.2-1.lbn36.noarch

Package Attributes
RPM  python3-hatch-nodejs-version-0.3.2-1.lbn36.noarch.rpm Architecture  noarch Size  32723 Created  2024/01/21 13:50:59 UTC
Package Specification
Summary Hatch plugin for versioning from a package.json file
Group Unspecified
License ZPL
Home Page https://pypi.org/project/hatch-nodejs-version
Description

hatch-nodejs-version

This package provides two Hatch plugins:

version source plugin that reads/writes the package version from the version field of the Node.js package.json file. metadata hook plugin that reads PEP 621 metadata from the Node.js package.json file.

Table of Contents

Installation Global dependency Version source Metadata hook License

Global dependency Ensure hatch-nodejs-version is defined within the build-system.requires field in your pyproject.toml file. [build-system] requires = ["hatchling", "hatch-nodejs-version"] build-backend = "hatchling.build"

Version source The version source plugin name is nodejs.

pyproject.toml [tool.hatch.version] source = "nodejs"

hatch.toml [version] source = "nodejs"

Semver The semver specification defines the following version sections:

major minor patch pre-release build

Meanwhile, PEP 440 defines:

epoch major minor patch pre-release post-release dev-release

In order to ensure round-trip support, and ensure semantic

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python-hatch-nodejs-version
python3-hatch-nodejs-version
python3.10-hatch-nodejs-version
python3.10dist(hatch-nodejs-version)
python3dist(hatch-nodejs-version)
Obsoletes
python-hatch-nodejs-version

Document Actions