app-arch/cfv - 3.2.0 (gentoo)

Search

Package Information

Description:
Command-line File Verify - versatile file checksum creator and verifier
Homepage:
https://github.com/cfv-project/cfv/
License:
GPL-2+ MIT

Ebuild Details

Version EAPI Keywords Slot
3.2.0 8 ~amd64 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=setuptools
# Tests fail with pypy3_11 as of PyPy 7.3.20 / Python 3.11.13
PYTHON_COMPAT=( python3_{11..14} )

inherit distutils-r1 optfeature

DESCRIPTION="Command-line File Verify - versatile file checksum creator and verifier"
HOMEPAGE="https://github.com/cfv-project/cfv/"
# Tests aren't included in PyPI tarballs
SRC_URI="https://github.com/cfv-project/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-2+ MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
	test? (
		app-arch/cksfv
	)
"

python_test() {
	# In order to run integration tests in addition to unit tests, we can't
	# just rely on pytest here, we need to use upstream's runner.
	"${EPYTHON}" "test/test.py" -e --exit-early || die "Tests failed with ${EPYTHON}"
}

pkg_postinst() {
	optfeature "the dimension column of JPEG Sheriff crc files" dev-python/pillow
}

USE Flags

Dependencies

BDEPEND

	test? (
		app-arch/cksfv
	)

Manifest for 3.2.0

Type File Size Source URLs
DIST cfv-3.2.0.gh.tar.gz 93931 bytes https://github.com/cfv-project/cfv/archive/v3.2.0.tar.gz