dev-python/dishka - 1.7.2 (nest)

Search

Package Information

Description:
Cute DI framework with scopes and agreeable API
Homepage:
https://github.com/reagento/dishka
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.7.2 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
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

DESCRIPTION="Cute DI framework with scopes and agreeable API"
HOMEPAGE="https://github.com/reagento/dishka"
SRC_URI="https://github.com/reagento/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

EPYTEST_PLUGINS=( pytest-{asyncio,repeat} )
distutils_enable_tests pytest

EPYTEST_IGNORE=( tests/integrations )

python_prepare_all() {
	# disable pytest options
	sed -i '/addopts/d' .pytest.ini || die "sed failed for .pytest.ini"

	distutils-r1_python_prepare_all
}

python_test() {
	epytest -v tests
}

Manifest for 1.7.2

Type File Size Source URLs
DIST dishka-1.7.2.gh.tar.gz 232671 bytes https://github.com/reagento/dishka/archive/1.7.2.tar.gz