Diff pystache-0.6.1 with a pystache-0.6.5

/usr/portage/dev-python/pystache/pystache-0.6.5.ebuild 2023-10-09 14:52:30.348368372 +0300
28 28

  
29 29
LICENSE="MIT"
30 30
SLOT="0"
31
IUSE="test"
32
RESTRICT="!test? ( test )"
33 31

  
34 32
BDEPEND="
33
	dev-python/setuptools-scm[${PYTHON_USEDEP}]
35 34
	test? (
36 35
		dev-python/pyyaml[${PYTHON_USEDEP}]
37 36
	)
38 37
"
39 38

  
40
python_test() {
41
	pystache-test || die "Test failed with ${EPYTHON}"
39
distutils_enable_tests pytest
40

  
41
distutils_enable_sphinx \
42
	docs/source \
43
	dev-python/sphinx-rtd-theme \
44
	dev-python/recommonmark \
45
	dev-python/sphinxcontrib-apidoc
46

  
47
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
48

  
49
src_prepare() {
50
	sed -i '/sphinx_git/d' "${S}"/setup.cfg "${S}"/docs/source/conf.py
51
	default
42 52
}
Thank you!