dev-python/python-frontmatter - 1.3.0 (guru)

Search

Install

Install this version:

emerge -a =dev-python/python-frontmatter-1.3.0

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

autounmask =dev-python/python-frontmatter-1.3.0

Or alternatively:

emerge --autounmask-write -a =dev-python/python-frontmatter-1.3.0

Package Information

Description:
Parse and manage posts with YAML (or other) frontmatter
Homepage:
https://github.com/eyeseast/python-frontmatter https://pypi.org/project/python-frontmatter/
License:
MIT

Ebuild Details

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

EAPI=8

DISTUTILS_USE_PEP517=uv-build
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 optfeature

DESCRIPTION="Parse and manage posts with YAML (or other) frontmatter"
HOMEPAGE="
	https://github.com/eyeseast/python-frontmatter
	https://pypi.org/project/python-frontmatter/
"
SRC_URI="https://github.com/eyeseast/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

RDEPEND="
	dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
	test? (
		dev-python/toml[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

pkg_postinst() {
	optfeature "TOML support" dev-python/toml
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/pyyaml[]

BDEPEND

	test? (
		dev-python/toml[]
	)

Manifest for 1.3.0

Type File Size Source URLs
DIST python-frontmatter-1.3.0.gh.tar.gz 78260 bytes https://github.com/eyeseast/python-frontmatter/archive/refs/tags/v1.3.0.tar.gz