dev-python/poetry-dynamic-versioning - 1.10.0 (nest)

Search

Install

Install this version:

emerge -a =dev-python/poetry-dynamic-versioning-1.10.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/poetry-dynamic-versioning-1.10.0

Or alternatively:

emerge --autounmask-write -a =dev-python/poetry-dynamic-versioning-1.10.0

Package Information

Description:
Plugin for Poetry to enable dynamic versioning based on VCS tags
Homepage:
https://github.com/mtkennerly/poetry-dynamic-versioning
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.10.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 edo pypi

DESCRIPTION="Plugin for Poetry to enable dynamic versioning based on VCS tags"
HOMEPAGE="https://github.com/mtkennerly/poetry-dynamic-versioning"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="dev-python/dunamai[${PYTHON_USEDEP}]
	dev-python/tomlkit[${PYTHON_USEDEP}]
	dev-python/jinja2[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-vcs/git )"

PATCHES=( "${FILESDIR}/${PN}"-1.8.2-tests.patch )

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

EPYTEST_IGNORE=(
	# ignore intergration tests
	tests/test_integration.py
)

python_prepare_all() {
	if use test ; then
		edo git init > /dev/null
		edo git config --global user.email "${PN}@gentoo.org"
		edo git config --global user.name "${PN}"
	fi

	distutils-r1_python_prepare_all
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/poetry-dynamic-versioning | euse -E <flag> -p dev-python/poetry-dynamic-versioning | euse -D <flag> -p dev-python/poetry-dynamic-versioning

Global/Standard Flags

Inherited Eclasses

edo

Dependencies

RDEPEND

dev-python/dunamai[]
	dev-python/tomlkit[]
	dev-python/jinja2[]

BDEPEND

test? ( dev-vcs/git )