diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-22 03:04:32 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-22 03:04:32 -0500 |
| commit | f95e0da799133b56968a5a6af89c7fb3366c4777 (patch) | |
| tree | 72beb2dfd419dd3d642a8cfc8241107f9e1f62a0 /dev-python/python-frontmatter/python-frontmatter-1.3.0.ebuild | |
| parent | e5faa7971680e6e6ede05155985e4857c24c8979 (diff) | |
| download | baldeagleos-repo-f95e0da799133b56968a5a6af89c7fb3366c4777.tar.gz baldeagleos-repo-f95e0da799133b56968a5a6af89c7fb3366c4777.tar.xz baldeagleos-repo-f95e0da799133b56968a5a6af89c7fb3366c4777.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-frontmatter/python-frontmatter-1.3.0.ebuild')
| -rw-r--r-- | dev-python/python-frontmatter/python-frontmatter-1.3.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/python-frontmatter/python-frontmatter-1.3.0.ebuild b/dev-python/python-frontmatter/python-frontmatter-1.3.0.ebuild new file mode 100644 index 000000000000..a2b4fc104720 --- /dev/null +++ b/dev-python/python-frontmatter/python-frontmatter-1.3.0.ebuild @@ -0,0 +1,36 @@ +# 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_{13..14} ) + +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 +} |
