dev-util/cmakelang - 0.6.13 (mva)

Search

Install

Install this version:

emerge -a =dev-util/cmakelang-0.6.13

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

autounmask =dev-util/cmakelang-0.6.13

Or alternatively:

emerge --autounmask-write -a =dev-util/cmakelang-0.6.13

Package Information

Description:
Quality Assurance (QA) tools for cmake (formerly cmake_format)
Homepage:
https://github.com/cheshirekow/cmake_format
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.6.13 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..15} python3_13t )

inherit distutils-r1 multibuild multiprocessing

DESCRIPTION="Quality Assurance (QA) tools for cmake (formerly cmake_format)"
HOMEPAGE="https://github.com/cheshirekow/cmake_format"
SRC_URI="https://github.com/cheshirekow/cmake_format/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/cmake_format-${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DOCS=("${PN}"/doc/README.rst)

RDEPEND="
	dev-python/pyyaml[${PYTHON_USEDEP}]
	dev-python/jinja2[${PYTHON_USEDEP}]
	dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="
	${RDEPEND}
	dev-python/wheel[${PYTHON_USEDEP}]
"

python_compile() {
	local jobs=$(makeopts_jobs "${MAKEOPTS} ${*}")
	esetup.py build -j "${jobs}"
}

qa_hack() { ${*}; }

python_install() {
	local root=${D}/_${EPYTHON}
	esetup.py install "${DISTUTILS_ARGS[@]}" --skip-build --root="${root}"
	multibuild_merge_root "${root}" "${D}"
	qa_hack _distutils-r1_wrap_scripts /usr/bin
	python_optimize
}

Inherited Eclasses

Dependencies

DEPEND

	
	dev-python/pyyaml[]
	dev-python/jinja2[]
	dev-python/six[]

	dev-python/wheel[]

RDEPEND

	dev-python/pyyaml[]
	dev-python/jinja2[]
	dev-python/six[]

Manifest for 0.6.13

Type File Size Source URLs
DIST cmakelang-0.6.13.tar.gz 1022629 bytes https://github.com/cheshirekow/cmake_format/archive/refs/tags/v0.6.13.tar.gz